Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LSMW loading multiple structured records..

Hi,

We want to know how to load multi structured records thru <b>LSMW</b>, ie. we have a customer records which have multiple sub items eg, telephone numbers..multiple identification numbers for each customer.

Q. What is the best way to load these thru lsmw.

Q. Do we need one input file or multiple files input files (prefered)? How do we link these record in different files?

Q. Do we use Batch recording or BAPI input? we want to load the <b>Business Partner</b> object (I know nothing about SAP!) What BAPI to use?

mike

Tags:
Former Member replied

Hi, I think you can use 1 file but with the record type identifier, the field will appear in all source strictures, in the Maintain Source Fields step amend field (double click) on it and point Identifying Field Content to appropriate level, e.g. 1 for header 2 for item. Your input file will look like:

REC_TYPE….. FIELDS

1 only fields relevant for the header and blanks for line items

2 only fields relevant for the item data blanks for header fields

2 …

2 …

1 Next record header

2 next record item 1

2 next record item 2

1

2

2

2

2

1

2

Hope this helps,

Al

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question