‎2014 Feb 21 6:48 AM
Dear All,
I have to modify the code for a requirement, if the length of PO's item text exceeds 68 characters, the segment E1EDPT2 will not get created for both ORDERS and ORDCHG message type of a outbound idoc.
For this need, which user exit i am suppose to use. I have tried to debug both the user exit
EXIT_SAPLEINM_011 and EXIT_SAPLEINM_002, but its not stopping in the breakpoint.
Kindly suggest something.
Thanks.
‎2014 Mar 11 7:51 PM
Hello,
User Exit - EXIT_SAPLEINM_002 should work.
Please check in CMOD that exit MM06E001 is activated?
Only after exit-MM06E001 activation it wills top at break point.
Regards,
Sameer
‎2014 Mar 11 7:51 PM
Hello,
User Exit - EXIT_SAPLEINM_002 should work.
Please check in CMOD that exit MM06E001 is activated?
Only after exit-MM06E001 activation it wills top at break point.
Regards,
Sameer
‎2014 Mar 13 6:34 AM
Just keeping break point in activated user exit function module will not go to debug mode in case of Outbound IDoc.
There are some specific steps to be followed to debug an Outbound IDoc. (Just Google it).
For easy reference steps to be followed are as below.
1. Set the Break point at the coding part required (FM or Exit).
2. Go to the document (SO/PO etc..) Output messages. Set Dispatch time as 'Send with Periodically Scheduled Job'.
3. Then use transaction WE15 to go to debug mode.