Skip to Content

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 10, 2004 at 04:03 AM

    - Best way would be as close as u could get to getting close to the SAP structure ( bapi / Idoc / Batch input Program ) u intend to use. But even if the structures are disparate - No Problems - u can still do the same .. its actually pretty simple .. anyone who knows LSMW can use it .

    - Preferred would be Based on what u plan to do - the business object for which u plan to use LSMW - any format is welcome .. single / multiple source file structure.

    - Makes sense to use the standard SAP Programs ( Batch Input ) or Bapis / Idocs . Use recordings as a last option to upload data into sap.

    Hope this satisfied ur query

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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