‎2008 Dec 10 2:02 PM
Hi,
How to debug the FM IDOC_OUTPUT_SHPMNT used for creating outbound idoc?
What is the posting program calling this FM?
Thanks,
Mohit
‎2008 Dec 10 6:29 PM
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
‎2008 Dec 11 4:01 PM