Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Need to alter the tdline for E1EDKT2

$
0
0

Hello Team,

 

 

I have a requirement such as this.

 

I need to loop the internal table idoc_data , search for segment E1EDKT2, and alter the tdline for the segment, is there an efficient way of doing this?

 

 

LOOP at IDOC_DATA

assigning <FS_IDOC_DATA> where  SEGNAM = ‘E1EDKT2’

 

 

  if sy-tabix = 1,

concatenate ‘XXXXXX:’ E1EDKT2-TDLINE into E1EDKT2-TDLINE.

endif.

 

endloop.

 

 

 

Is there an efficient way that i can access the segment of the row in idoc_data and alter the tdline?

 

 

would greatly appreciate any help on this.

·         if sy-tabix = 1, concatenate ‘PAYMENT TERMS:’ (Get this value from BRF+) <FS_IDOC_DATA>-TDLINE into <FS_IDOC_DATA>-TDLINE


Viewing all articles
Browse latest Browse all 3125

Trending Articles



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