Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Extract SAP Table

$
0
0

Hi experts,

 

We have a requirement to extract a SAP table (TE422) and write the values to a text file.  The reason for this is that we need to read the value of the table and process the extracted information.  I've looked in the documentations but the closest information is the "Free Selection" but it's related to SAP_MA_CopyParameters. 

 

 

In the following example:
• SEL_TABLE defines that the selection is based on table FKKOP.
• T_FIELDS defines two fields OPBEL and BURKS to be the preselected fields.
• T_EXPR defines OPBEL value 12 to be excluded from selection


SEL_TABLE = FKKOP
T_FIELDS = [[T_FIELDS[]-TABLE_LINE='OPBEL'],[T_FIELDS[]-TABLE_LINE='BUKRS']]
T_EXPR = [[TABLENAME='FKKOP',EXPR_TAB='[[LOGOP='NOT',ARITY='1'],[FIELDNAME='OPBEL',OPTION='EQ',LOW='12']]' \
]]

 

Is there a way to achieve our requirement?

 

Many thanks and best regards,

Chris


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>