TO CREATE IDOC WE NEED TO FOLLOW THESE STEPS:
1. CREATE SEGMENT (WE31),
2. CREATE IDOC TYPE (WE30),
3. CREATE MESSAGE TYPE (WE81) AND
4. ASSIGN IDOC TYPE TO MESSAGE TYPE (WE82).
CREATING A SEGMENT
1. GO TO WE31.
2. ENTER THE NAME FOR THE SEGMENT AND CLICK ON THE CREATE ICON.
3. TYPE THE SHORT TEXT.
4. ENTER THE VARIABLES AND DATA ELEMENTS.
5. SAVE IT AND GO BACK.
6. GO TO EDIT -> SET RELEASE.
7. FOLLOW STEPS TO CREATE MORE NUMBER OF SEGMENTS.
CREATE IDOC TYPE
1. GO TO WE30.
2. ENTER THE OBJECT NAME; SELECT BASIC TYPE AND CLICK CREATE ICON.
3. SELECT THE CREATE NEW OPTION AND ENTER A DESCRIPTION FOR BASIC IDOC TYPE AND PRESS ENTER.
4. SELECT THE IDOC NAME AND PRESS ENTER.
5. THE SYSTEM PROMPTS TO ENTER A SEGMENT TYPE AND ITS ATTRIBUTES.
6. CHOOSE THE APPROPRIATE VALUES AND PRESS u2018ENTERu2019.
7. THE SYSTEM TRANSFERS THE NAME OF THE SEGMENT TYPE TO THE IDOC EDITOR.
CREATION OF IDOC TYPE
1. FOLLOW THESE STEPS TO ADD MORE NUMBER OF SEGMENTS TO PARENT OR AS PARENT-CHILD RELATION.
2. SAVE IT AND GO BACK.
3. GO TO EDIT -> SET RELEASE.
CREATE MESSAGE TYPE
1. GO TO WE81.
2. CHANGE THE DETAILS FROM DISPLAY MODE TO CHANGE MODE.
3. AFTER SELECTION, THE SYSTEM WILL GIVE THIS MESSAGE u201CTHE TABLE IS CROSS-CLIENT (SEE HELP FOR FURTHER INFO)u201D. PRESS ENTER.
4. CLICK NEW ENTRIES TO CREATE NEW MESSAGE TYPE.
5. FILL DETAILS.
6. SAVE IT AND GO BACK.
ASSIGN MESSAGE TYPE TO IDOC TYPE
1. GO TO WE82.
2. CHANGE THE DETAILS FROM DISPLAY MODE TO CHANGE MODE.
3. AFTER SELECTION, THE SYSTEM WILL GIVE THIS MESSAGE u201CTHE TABLE IS CROSS-CLIENT (SEE HELP FOR FURTHER INFO)u201D. PRESS ENTER.
4. CLICK NEW ENTRIES TO CREATE NEW MESSAGE TYPE.
5. FILL DETAILS.
6. SAVE IT AND GO BACK.