Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating a custom idoc.

Former Member
0 Likes
878

Hi,

Could you please explain to me the step-by-step procedure to create a custom idoc having SAP defined segments?

Regards.

Hi,

Could you please explain to me the step-by-step procedure to create a custom idoc having SAP defined segments?

Regards.

4 REPLIES 4
Read only

Former Member
0 Likes
722

Hi Sandeep,

CHeck this link for a IDOC ...The steps are mentioned in details about creating custom idoc..

http://www.allsaplinks.com/idocbasicsunderstanding.html

http://www.allsaplinks.com/idoc.html

http://www.allsaplinks.com/idoc_sample.html

Regards,

Priyanka.

Read only

Former Member
0 Likes
722

Hi,

create the data elements and the segments in WE31 and then create the IDOC type in WE30 Tcodes. define message type and assign the IDOC type to message type.

First define the Partner profile (WE20) and assign the outbound/inbound paramters.

next define the prot using We21 Tcode .

defien the Process code and attach it to the Mesage type and Idoc type.

Attach the Fun module to the Process code and write the code.

reward if useful

regards,

Anji

Read only

Former Member
0 Likes
722

Hi Sandeep,

For IDOC creation first we should create custom idoc segments through WE31 and message type WE81. Then assign your meessage type to idoc type through WE82. Then confirm whether it is basic type or extension type. Based on that through WE30 we can create the idoc. If u wan test idoc it can be done throguh WE19.Hope this helps you, reply for queries, Shall post you the updates.

Regards.

Kumar. .

Read only

Former Member
0 Likes
722

sandeep,

Creation of IDoc

To Create Idoc we need to follow these steps:

Create Segment ( WE31)

Create Idoc Type ( WE30)

Create Message Type ( WE81)

Assign Idoc Type to Message Type ( WE82)

Creating a Segment

Go to transaction code WE31

Enter the name for your segment type and click on the Create icon

Type the short text

Enter the variable names and data elements

Save it and go back

Go to Edit -> Set Release

Follow steps to create more number of segments

Create IDOC Type

Go to transaction code WE30

Enter the Object Name, select Basic type and click Create icon

Select the create new option and enter a description for your basic IDOC type and press enter

Select the IDOC Name and click Create icon

The system prompts us to enter a segment type and its attributes

Choose the appropriate values and press Enter

The system transfers the name of the segment type to the IDOC editor.

Create IDOC Type

Follow these steps to add more number of segments to Parent or as Parent-child relation

Save it and go back

Go to Edit -> Set release

Create Message Type

Go to transaction code WE81

Change the details from Display mode to Change mode

After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter

Click New Entries to create new Message Type

Fill details

Save it and go back

Assign Message Type to IDoc Type

Go to transaction code WE82

Change the details from Display mode to Change mode

After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.

Click New Entries to create new Message Type.

Fill details

Save it and go back

u can also check all these links related to idocs

http://www.allsaplinks.com/idoc_sample.html

http://www.allsaplinks.com/

http://www.sap-img.com/

http://www.sappoint.com/abap.html

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off...

http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358

http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm

/thread/199996 [original link is broken]

Don't forget to reward if useful.....