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

Re: Repeat IDOC Segment in LSMW

$
0
0

In order to repeat a segment with different data coming from the same file, follow these steps:

  1. Go to Field mapping and conversion rules
  2. Click on "Extras" (menu bar) > Layout and check "Processing time"
  3. At the end of your segment, you will see a field called "__END_OF_RECORD__" having the ABAP statement "transfer_record." After that code, you need to enter the mapping for each field of your second segment (you can copy-paste code from the previous fields and simply change the source field (the one from your flat file).
  4. Add another "transfer_record." statement after your code.

Viewing all articles
Browse latest Browse all 3125

Trending Articles



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