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

How to debug IDOC_OUTPUT_DESADV01 function customer exist

Former Member
0 Likes
1,021

Hi,

I have requirment to add some logic on LVED2FZZ exit, I have added the logic but it is not working as expected.

I have put the break points in IDOC_OUTPUT_DESADV01 function module PERFORM SEGMENTS_FILL -> PERFORM SEND_SEGMENT_E1EDK07_DESADV -> PERFORM USEREXIT_E1EDK07 and triggered the output type from VL02N transaction, But program is not stopped at break points. I want analyze how data is popluting in segments urgently.

Please provide the step by step approach to debug IDOC_OUTPUT_DESADV01 function module from VL02N output type triggering.

Thanks,

Raj

Hi,

I have requirment to add some logic on LVED2FZZ exit, I have added the logic but it is not working as expected.

I have put the break points in IDOC_OUTPUT_DESADV01 function module PERFORM SEGMENTS_FILL -> PERFORM SEND_SEGMENT_E1EDK07_DESADV -> PERFORM USEREXIT_E1EDK07 and triggered the output type from VL02N transaction, But program is not stopped at break points. I want analyze how data is popluting in segments urgently.

Please provide the step by step approach to debug IDOC_OUTPUT_DESADV01 function module from VL02N output type triggering.

Thanks,

Raj

2 REPLIES 2
Read only

Former Member
0 Likes
821

Hi,

Put a break point in the required part of the User exit. Before saving the data in VL02N, activate debugging by '/h'.

When the Debugging screen appears, select the menu option, "Settings -> Update Debugging". System will give the message

"Update debugging turned on" in the status bar. Proceed with executing the Tcode by pressing F8. System will

pause the execution on the place where you have created the break point.

Regards

Vinod

Read only

Former Member
0 Likes
821

Hi,

To debug any of the IDOC output type, select the dispatch time as 1 (Send with periodically scheduled job) and save the output type. set the break point in required place. Now run the program RSNAST00 with the output type, Object key and Output application. The control stops at the required place.

Hope this helps.

Regards,

Siva Prakash P M