Application Development 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: 

re,idoc extention

Former Member
0 Kudos

Hi,

please any body tell me how to find user exit of an idoc,

and how to exten an idoc plese tell me

urjent

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

you can find the exits based on the processing function. First find out the processing function module based on inbound or outbound type(WE41/WE42) . then Go to the Function source code and search for the call customer-function statement.

and implement the way you implement normal exits.

and coming to IDoc extension check the tcodes WE30/WE31

Former Member
0 Kudos

Hi,

The various steps involved in creating a custom idoc.

Step 1: First identify fields that needs to be added to the idoc

Step 2: Goto transaction we31. Create a custom segment and Save and release the segment

Step 3: Goto Transaction we30. Give the name of the idoc that needs to be extended and select

extension radiobutton. Click create. In the next screen which pops up select the radiobutton Create new with Linked basic type - give the extended idoc name.

Step 4: Keep the required segments from the standard idoc and in case of addition of new segments, add a segment at child level at the desired hierarchy.

Step 5: In the pop up window that appears specify whether the segment is mandatory and the maximum and minimum number of segments. Click Save.

Step 6: Now release the idoc.

Step 7: Goto we82 and link the extended idoc to the message type and basic idoc type.

You can have a Custom program to populate the data into the idoc. use function module MASTER_IDOC_DISTRIBUTE to populate and trigger the idoc.

Regards,

Sumalatha N.