Wednesday, October 3, 2018

Message Output type debugging

Le’ts say you a scenario where a particular output type (output type created from VA02) generates an iDoc and you want to debug the generation of the iDoc.

Step 1: In VA02 (or any other transaction), after generating the output type (from menu Extras > Output > Header > Edit), click on the button ‘Further data’.


Step 2: Change the dispatch time to ‘Send with periodically scheduled job’. This will prevent the output type to be generated automatically.
Don't SAVE

Step 3: Put appropriate break point in the output type program to debug and execute program ‘RSNAST00’ with the output type in question.

Then RUN RSNAST00. Input the document number and the output/mesasge type to debug.

The debugger shall be triggered on execution of the above program.

No comments:

Post a Comment