03-19-2008 12:29 PM
hi,
I am New to abap .i have done a print program for a Purchase order form.i debugged it then. Now after getting it configured for its relevant transaction code(me21/22n/23) how could i debug my print program through that transaction code to see wether it is working well or not. please let me know.
Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:16 PM
03-19-2008 12:35 PM
hmm set an extermal breakpoint
or use /h command before you call the transaction to enable debug mode
regards
03-19-2008 12:36 PM
Hi,
Add breakpoints in your program as usual and run the transaction. U can also use /h while running the transaction.
That will be fine.
Regards,
Ramya
03-19-2008 12:37 PM
Hi,
Just set a break point in the print program and THEN open the transaction.
Do not set the break point with the transaction open.
Once you execute the transaction, if your print program is called, it will stop at the set break point.
<REMOVED BY MODERATOR>
Regards
Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:16 PM
03-20-2008 8:50 AM
HI,
to debug a script use /h in the selection screen.
or set breakpoint in the print program where u want to debug.
eg: select the line where u want to debug and click on stop icon.
Regards,
vineela.
03-20-2008 8:56 AM
Hi cheenangshuk,
first u check on which client u r running the form...
as u know...it is client dependent...
now...which form r u using..
Sapscript or smartform ???
anyways ...i'll tell u for both..
SAPscript...
se71 -> type ur form name... -> Utilities -> Activate Debugger...
thats it...u can run it from any of transaction for PO..it'll debug...
Smartform...
2 methods...
1 > Write BREAK-POINT statement before the code where u want to see the result...
2 > Run the smartform...
it will generate one program...
display that program...
find the statement u want to debug...
and set the break point...
u can set break point at the start of program also...
thats all...
I hope his will help u...
Rewards points if useful
sachin
03-20-2008 10:07 AM
Hi Cheenangshuk das,
Step1: Go to se71
Step2: Type the Script name
Step3:On the menu bar:Utilities-->Activate debugger
Step4:Press on display button
Step 5:Execute the ME22n
Then the script will be in debugging mode
Press F5/F6/F7/F8 as your requirement.
Regards.
Eshwar.