06-11-2007 8:44 AM
Hi friends,
i have one outbound idoc type function module (z_idoc_output_..).I want to debug that function module. How to do debugging?. In we19 i am able to see inbound function module but i am not able to see outbound function module.
Thanks & Regards,
Vaddi Bharat.
06-11-2007 8:56 AM
You have to debug it like a program. Put a brakpoint in your code and execute this FM or the report or transaction which call the fm.
Then, you can see the idoc result in we05 transaction.
Regards.
reward all helpfull answers.
06-11-2007 9:05 AM
Hi,
Check the Outbound FM and put a breakpoint and give the idoc number in Control record.
Regards
Kannaiah
02-10-2012 3:29 AM
To debug an outbound idoc, which triggers thru 'Output Type', then , take the delivery/order/invoice thru which the output type message is getting triggerd in recpective T-code VL02n/VA02/Vf02. Then go to issue output, provide the details and keep the futher data as " send with periodic job" and save it. Put the break point in your code. Go to SE38 . Excute the pgm RSNAST00. give your object key( can be delivery number, sales order or invoice nimber) and press F8. it will take you to the code.
02-10-2012 4:48 AM
Hi,
Inbound IDOC is always attached with FM, which you can find in WE19, not for the Outbound IDOC. Outbound IDOC is generated by using FM "MASTER_IDOC_DISTRIBUTE" which will be called from program. Now if you are not able to find where the code triggered the outbound IDOC, you can use segment/meg type where to use option or else debug.