cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Custom Idoc

Former Member
0 Kudos

Pls tell me how to create Custom Idoc for ORDERS01

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

santhosh_kumarv
Active Contributor
0 Kudos

<b>Creation of IDoc</b>

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)

<b>Creating a Segment</b>

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

<b>Create IDOC Type</b>

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

<b>Create Message Type</b>

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

<b>Assign Message Type to IDoc Type</b>

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

Regards

Santhosh

Former Member
0 Kudos

Hello Santosh,

Thanks!!

I need to know one thing I ahve standard Idoc ORDERS01.

I want to add only one segmnet in it.

Do i need to perform all the steps or if not then what steps.

Regards

Former Member
0 Kudos

Herry,

You need not follow all the steps that santhosh have mentioned...

Just need to create the segment in orders01 and to populate ur value u need to code in the user exit.

Thanks,

Karthik

Former Member
0 Kudos

Hi Herry,

In your case you need to extend your idoc.

1. Create new segment using transaction code : WE31.

2. Extend Idoc "ORDERS01" using transaction code : WE30.

3. On next screen you can insert new segment at desire location as a child segment.

4. Find out the user exit to populate your new added segment.

Let me know if you need more details.

Nilesh

prateek
Active Contributor
0 Kudos

This is not an XI related question. U may get better results in ABAP forum

This would help u

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

Regards,

Prateek