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.
Step 3: Put appropriate break point in the output type program to debug and execute program ‘RSNAST00’ with the output type in question.
The debugger shall be triggered on execution of the above program.