Application Development and Automation 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: 
Read only

Need correct user exit to modify the code for segment E1EDP01

Former Member
0 Likes
1,671

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
791

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

2 REPLIES 2
Read only

Former Member
0 Likes
792

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

Read only

former_member215575
Active Participant
0 Likes
791

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.