Skip to Content
0
Former Member
May 21, 2015 at 10:42 AM

Transformation ABAP Statement to create Duplicate records

120 Views

Hi,

I am planning to load Employee and respective sales orgs to a Z Info Object(User ID compounded on Seq No) from a flat file.

Source Data Will be like below


SEQ NO
USER_ID
SALES_ORG 1 10000167 411 2 10000167 473 3 10000167 1068 4 10000169

*

5 10000200 * 6 10000289 501 7 10000289 513 8 10000289 514 9 10000289 513B 10 10000289 513C 11 10000289 513D

My requirement is to write a routine in transformation where for Users with * (Ex:10000169),It should create multiple entries with full list of sales org from 0SALESORG master data.


In Start routine 0SALESORG master data is selected and saved in Internal Table IT_SAL_ORG

Please advise how to create multiple entries

Thanks in advance