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

debugging the successful outbound idoc

Former Member
0 Likes
10,817

I have a outbound order confirmation which is successful but i have the some values which i cant see, so i want to debug the idoc.. i tried in we19 but its not possible. so can anyone tel me how to debug the successful idoc. please help...

the FM is IDOC_OUTPUT_ORDRSP

1 ACCEPTED SOLUTION
Read only

former_member182354
Contributor
0 Likes
9,066

Hi,

     I believe you want to debug an ORDER RESPONSE ORDRSP Idoc.


     Simplest way to do this is through WE15 transaction.

In WE15 give your selection as below...refer already issued output entry in NAST for reference.

Set a break-point in user exit or code you want to debug and you should be good.

Raghav

12 REPLIES 12
Read only

Jelena_Perfiljeva
Active Contributor
9,066

I'm guessing you're using output from a sales document to trigger the IDoc. In such case change output settings to 'send with own transaction' and then process output using RSNAST00, for example (you might need to turn on update debugging).

The trickiest part though would be to find the right place to debug to avoid going on a long journey. You might need to check what function is assigned to the message and run some "where used" for particular segment fields.

Also make sure to search on SCN, I'm sure IDoc debugging has been discussed before.

Read only

0 Likes
9,066

i tried it but its not working

Read only

0 Likes
9,066

Is it trioggered via output type..? Please confirm

Read only

0 Likes
9,066

I use the output type 'SHOR'.

Read only

0 Likes
9,066

You can debug this. Goto NACE check what is the driver program for this output type and put a break point in sub routine. then when you do order confirmation before save go to messages and select this output type further data and change the option to send via periodic job. Press  save. After that you can use RSNAST00 to process this message and it will stop

Nabheet

Read only

0 Likes
9,066

Please be more specific - "not working" doesn't tell us anything (does your SAP system not start? do you get an error message? do you press a button and nothing happens? - how are we supposed to know?). If you'd like your question to be answered then you need to provide sufficient information.

Please read this blog and then come back with more meaingful response.

Thank you.

Read only

former_member182354
Contributor
0 Likes
9,067

Hi,

     I believe you want to debug an ORDER RESPONSE ORDRSP Idoc.


     Simplest way to do this is through WE15 transaction.

In WE15 give your selection as below...refer already issued output entry in NAST for reference.

Set a break-point in user exit or code you want to debug and you should be good.

Raghav

Read only

0 Likes
9,066

Hi,

        Some values means you need to check any filters or conversions applied on ,check it please..

Read only

0 Likes
9,066

Its working for FM IDOC_OUTPUT_ORDRSP but when i try to execute it for IDOC_OUTPUT_DELVRY i am getting the information (0 outputs were processed in total (0 successfully,0 incorrectly). I have done the delivery and left it in: Sent with periodically scehuled job

application :v2

Output type:'SHOR'.

Please help

Read only

0 Likes
9,066

Hello,

         If you give order in WE15 it will work for order. If you want to debug delivery give the delivery no and output type in WE15.

         Before that set the output in delivery to issue output on saving and save the delivery then the output will be issued.

        Then you can go to WE15 as you did for orders and debug it.

Raghav

Read only

0 Likes
9,066

Thanks a lot guys.... Its working...

Read only

0 Likes
9,066

Good to know.

Raghav