SlideShare a Scribd company logo
1 of 1
Download to read offline
These are the steps for custom idoc for outbound as well as inbound.
WE30
WE31
WE81
WE82
SE37
BD51
WE57
BD57
WE42
BD67
WE20
BD64
WE02
WE14
BD20

-

IDOC type creation
Create segment
Message type creation
Link IDOC type to Message type
Create Inbound Function Module
Maintain entry for Function Module
Maintain
Link Function Module, IDOC type and Message type
Create Inbound Process Code
Link Process code to Function Module
Create Partner Profile
Display Distribution Model
IDoc List, Display all Inbound/Outbound IDocs
Outbound Processing of IDoc s
Inbound Processing of IDoc s

1st Step: Create a Segment ( WE31)
Segment is a structure for passing data in IDoc. It actually contains the IDoc d
ata, just like the DDIC table/structure. Segment is created with all the require
d fields. Then Save it. But, to actually use this Segment, you have to Release t
he Segment, otherwise u can t use the Segment, by menu, EDIT--> Set Release.
Now, if you want to do some change to this Segment, u cant, unless & until u Can
cel the Release, by Edit--> Cancel Release.
2nd Step: Create IDOC Type ( WE30 )
After creating the Segment, now we have to create the IDoc Type. IDOC Type is li
ke an envelop of a letter, which contains the data inside it, & also some more i
nformation like address. IDoc type can be Basic Or Extended.
Basic IDoc Type: Using some SAP existing IDOC type (ex. MATMAS) or Custom IDOC t
ype.
Extension IDOC Type: When we need some fields extra to an existing IDOC type, th
en we can extend that Basic Idoc Type by another Segment. This is called Extende
d idoc type
3rd Step: Create Message Type (WE81)
Message Type is like the Postman for sending the Letter.
4th Step: Attach Message Type to the IDOC Type (WE82)
5th Step: Create a Function Module (SE37)
Write the Processing logic in a Function Module.
6th Step: Mention the IDOC Type, i.e, 0/1/2 (BD51)
7th Step: Assign the Message Type, IDOC Type & Function Module (WE57)
8th Step: Create a Custom Process Code (WE42)
9th Step: Attach the Function Module to the Process Code (BD67)
10th Step: Execute Inbound IDOC

s (WE19)

Example Function Module: IDOC_INPUT_ORDERS (Standard FM to create Sales Order).

More Related Content

Similar to Idocs

IDoc_Guide.pdf
IDoc_Guide.pdfIDoc_Guide.pdf
IDoc_Guide.pdfScott0924
 
Ale Idoc Edi
Ale Idoc EdiAle Idoc Edi
Ale Idoc Edishesagiri
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applicationsKranthi Kumar
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDIAmit Khari
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoclakshmi rajkumar
 
EZDOC - SAP IDOC Management Simplified
EZDOC - SAP IDOC Management SimplifiedEZDOC - SAP IDOC Management Simplified
EZDOC - SAP IDOC Management SimplifiedMeraj Faheem
 
ALE IDOC configuration documents FIC.ppt
ALE IDOC configuration documents FIC.pptALE IDOC configuration documents FIC.ppt
ALE IDOC configuration documents FIC.pptRiadAlShams
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docVERUS BRASIL
 
SH 2 - SES 1 - Stitch_Workshop_TLV.pptx
SH 2 - SES 1 - Stitch_Workshop_TLV.pptxSH 2 - SES 1 - Stitch_Workshop_TLV.pptx
SH 2 - SES 1 - Stitch_Workshop_TLV.pptxMongoDB
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idocBunty Jain
 

Similar to Idocs (20)

idoc.ppt
idoc.pptidoc.ppt
idoc.ppt
 
SAP ALE Idoc
SAP ALE IdocSAP ALE Idoc
SAP ALE Idoc
 
IDoc_Guide.pdf
IDoc_Guide.pdfIDoc_Guide.pdf
IDoc_Guide.pdf
 
Ale Idoc Edi
Ale Idoc EdiAle Idoc Edi
Ale Idoc Edi
 
Idocs
IdocsIdocs
Idocs
 
SAP Inbound IDoc.pptx
SAP Inbound IDoc.pptxSAP Inbound IDoc.pptx
SAP Inbound IDoc.pptx
 
Sujith ~ cross applications
Sujith ~ cross applicationsSujith ~ cross applications
Sujith ~ cross applications
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
Ale Idoc
Ale IdocAle Idoc
Ale Idoc
 
IDOCS ALE
IDOCS ALEIDOCS ALE
IDOCS ALE
 
IDOC.pdf
IDOC.pdfIDOC.pdf
IDOC.pdf
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
Sap
SapSap
Sap
 
EZDOC - SAP IDOC Management Simplified
EZDOC - SAP IDOC Management SimplifiedEZDOC - SAP IDOC Management Simplified
EZDOC - SAP IDOC Management Simplified
 
ALE IDOC configuration documents FIC.ppt
ALE IDOC configuration documents FIC.pptALE IDOC configuration documents FIC.ppt
ALE IDOC configuration documents FIC.ppt
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
I doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.docI doc packaging and mapping techniques.doc
I doc packaging and mapping techniques.doc
 
SH 2 - SES 1 - Stitch_Workshop_TLV.pptx
SH 2 - SES 1 - Stitch_Workshop_TLV.pptxSH 2 - SES 1 - Stitch_Workshop_TLV.pptx
SH 2 - SES 1 - Stitch_Workshop_TLV.pptx
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
 
IDOC
IDOC IDOC
IDOC
 

Idocs

  • 1. These are the steps for custom idoc for outbound as well as inbound. WE30 WE31 WE81 WE82 SE37 BD51 WE57 BD57 WE42 BD67 WE20 BD64 WE02 WE14 BD20 - IDOC type creation Create segment Message type creation Link IDOC type to Message type Create Inbound Function Module Maintain entry for Function Module Maintain Link Function Module, IDOC type and Message type Create Inbound Process Code Link Process code to Function Module Create Partner Profile Display Distribution Model IDoc List, Display all Inbound/Outbound IDocs Outbound Processing of IDoc s Inbound Processing of IDoc s 1st Step: Create a Segment ( WE31) Segment is a structure for passing data in IDoc. It actually contains the IDoc d ata, just like the DDIC table/structure. Segment is created with all the require d fields. Then Save it. But, to actually use this Segment, you have to Release t he Segment, otherwise u can t use the Segment, by menu, EDIT--> Set Release. Now, if you want to do some change to this Segment, u cant, unless & until u Can cel the Release, by Edit--> Cancel Release. 2nd Step: Create IDOC Type ( WE30 ) After creating the Segment, now we have to create the IDoc Type. IDOC Type is li ke an envelop of a letter, which contains the data inside it, & also some more i nformation like address. IDoc type can be Basic Or Extended. Basic IDoc Type: Using some SAP existing IDOC type (ex. MATMAS) or Custom IDOC t ype. Extension IDOC Type: When we need some fields extra to an existing IDOC type, th en we can extend that Basic Idoc Type by another Segment. This is called Extende d idoc type 3rd Step: Create Message Type (WE81) Message Type is like the Postman for sending the Letter. 4th Step: Attach Message Type to the IDOC Type (WE82) 5th Step: Create a Function Module (SE37) Write the Processing logic in a Function Module. 6th Step: Mention the IDOC Type, i.e, 0/1/2 (BD51) 7th Step: Assign the Message Type, IDOC Type & Function Module (WE57) 8th Step: Create a Custom Process Code (WE42) 9th Step: Attach the Function Module to the Process Code (BD67) 10th Step: Execute Inbound IDOC s (WE19) Example Function Module: IDOC_INPUT_ORDERS (Standard FM to create Sales Order).