Step-By-Step Guide for LSMW using ALE/IDOC Method
In Business scenario, it is required to upload the data into R/3 and process the data in the
IDOC form only. The data can be migrated to R/3 SAP system using IDOC Generation
Method in LSMW. The data to be uploaded can be regarding material, vendor, customer
etc. IDOC is the container, which stores the data in structured format and is used to
communicate between R/3 systems. IDOC structure includes Status Record for storing
status information of IDOC dispatch, Data Record for storing data into segments and its
corresponding fields and Control Record has receiver and source system details etc.
This document contains Step-by-Step instructions to use LSMW to generate and
process IDOC from the data file available. In first part user-defined IDOC structure is
created and required ALE settings are done .In the Second part, this IDOC structure is used
in the LSMW IDOC
Part One: To create IDOC structure
Step One: Run transaction WE31.Create Segment with name ‘ZEMP_SEG’.
You must be Loged in to download file