10-06-2008 6:35 PM
Hi,
please any body tell me how to find user exit of an idoc,
and how to exten an idoc plese tell me
urjent
10-06-2008 6:45 PM
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
10-06-2008 6:49 PM
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.