cancel
Showing results for 
Search instead for 
Did you mean: 

idoc customization

Former Member
0 Kudos

Hi guys,

Can you plz let me know how to customize an idoc.I mean if the idoc does not suit the business requirement can we modify it?

Points will be awarded

Thanks

Sud

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member335553
Active Contributor
0 Kudos

check this thread which contains all about IDOC

former_member335553
Active Contributor
0 Kudos

Hi

This would help u

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

An extract taken out from forums

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

Message was edited by:

Anusha Ramsiva

Former Member
0 Kudos

Hi,

If you want to extend the standard Idoc by adding some fields (segment) then use below link.

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

- Gaurav Jain

Former Member
0 Kudos

This is just an example:

Follow the steps:

1)WE31- Creation of extended message segment.

Click on create and give the segment name. For e.g. ZZDOCHDR. Enter all the fields which are required to populate in IDOC.

2) After creation of the segment release the segment from EDIT -> Set Release

Similarly other segments are created with the same procedure.

3) WE30-Create Extended IDOC type ZZORDERS05, which is the extension of basic type ORDERS05.Select Extension checkbox while creating the extended IDOC type ZZORDERS05.

4) WE82- Assign the Extended IDOC type ZZORDERS05 with message type ORDRSP and Basic type ORDERS05.

Thanks and Regards,

Chirag Gohil