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

Outbound IDoc debug

Former Member
0 Likes
1,324

Hi,

How to debug the FM IDOC_OUTPUT_SHPMNT used for creating outbound idoc?

What is the posting program calling this FM?

Thanks,

Mohit

2 REPLIES 2
Read only

JackGraus
Active Contributor
776

Most convienient is to go into your shipment (transaction VT02N), then to 'Output', select your output type or repeat your output, then in 'Further data', in 'Dispatch time' flag it with 'Send with periodically scheduled job'. This allows you to first save your shipment and then trigger your output by executing (transaction SE38) ABAP RSNAST00 with parameter 'Output application' V7 (shipment) and 'Object key' the shipment number with preceding zero's.

When your 'Dispatch time' is set to 'Save immediately' it is also possible to debug the IDOC function module but it will be called dureing the update of the shipment and to hit your breakpoint you have to set update debugging.

Regards Jack

Read only

Former Member
0 Likes
776

RVADTR00 - try this program

for posting it