Application Development 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: 

Outbound idoc debugging

Former Member
0 Kudos

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.

4 REPLIES 4

former_member582701
Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

Check the Outbound FM and put a breakpoint and give the idoc number in Control record.

Regards

Kannaiah

0 Kudos

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.

former_member198275
Active Contributor
0 Kudos

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.