activate the abap debug from the forma layout from menu system -- > utilities --> debug abap ,
tehn go into the print progrma and execute teh print program in the execute the program from theri and the script opens in the debug mode.
or
First we need to put Break point in Print program where ever you want to stop the execution.
After in SE71 give your form name and go to Utilities-->Active De-bugger.
Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.
When you execute it the the form Debugging will get activated and you can see your Form execution step by step.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:03 PM