• Embed Doc
  • Readcast
  • Collections
  • 1
    CommentGo Back
Download
 
 Copyrights reserved. 2007
Step-By-Step Guide for LSMW using ALE/IDOC Method
Contributed By: Sarang Kahu
Business Case:
In Business scenario, it is required to upload the data into R/3 and process the data in theIDOC form only. The data can be migrated to R/3 SAP system using IDOC GenerationMethod in LSMW. The data to be uploaded can be regarding material, vendor, customeretc. IDOC is the container, which stores the data in structured format and is used tocommunicate between R/3 systems. IDOC structure includes
Status Record 
for storingstatus information of IDOC dispatch,
Data Record 
for storing data into segments and itscorresponding fields
and Control Record 
has receiver and source system details etc.This document contains Step-by-Step instructions to use LSMW to generate andprocess IDOC from the data file available. In first part user-defined IDOC structure iscreated and required ALE settings are done .In the Second part, this IDOC structure is usedin the LSMW IDOC
Part One: To create IDOC structureStep One
:
 
Run transaction WE31.Create Segment with name ‘ZEMP_SEG’.
Step Two
: Input the fields for the segment structure, which would be required in LSMWfor mapping purpose.
 
 Copyrights reserved. 2007
Step Three
: Now, Go to Edit -> Set Release, so that you can use this segment in the R/3system further.
Step Four:
Run transaction ‘we30’ and enter IDOC structure name we want to create.Here, IDOC structure name is ‘ZEMP_IDC’.
 
 Copyrights reserved. 2007
Step Five:(A)
Add segment created earlier to this IDOC type ‘ZEMP_IDC’.The maximum and minimum repetitions can be from 000000000000 to 99999999999.Choose any number rang as per requirement.Now, Go back to earlier page and Click Edit-> Set Release.
(B)
Create new Message type in transaction ‘WE81’.
(C)
Attach message type and IDOC type with the help of transaction ‘WE82’.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...