cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging sap scripts

Former Member
0 Kudos

hello guys,

how to debug sap scripts and smart forms?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

For Script Debugging.

Activate Debugger from Utilities from initial screen of se71.

For script you can't set break-point.So do the debugging usin F5,F6 keys...

For Smartform

You can set break-point in the code inside

smartforms...

Former Member
0 Kudos

For script Go to SE71 T.Code enter the form name Click on Utilities menu and select Activate Dubugger.

Now run your Transaction and issue output to screen.

your script debugger will be automativcally appears in the runtime.

we have another one option for Debug a script using this report RSTXDBUG.

Smartforms

1)One way to debug smartform is to debug the Function Module of that smartforms.

If you want to debug particular smartform node that the solution would be,

insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

2) SFTRACE can be used for debugging SMARTFORMS.

3)to debug the smartform: Create a Program Lines. Insert BREAK-POINT there and activate the smartform.

After activation run the driver program and it will halt the the point where you have inserted the break point.

Reward points if useful

Regards,

Nageswar

Former Member
0 Kudos

thnks nageswar,

now i get to know, how to debug Smartforms and scipts

Former Member
0 Kudos

in two ways we can debug the sapscript

one is in se71 utilities---> activate debugger

second is in se38 run RSTXDBUG prg to activate debugger

smartforms :

u can debug the FM corresponding to SF