Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Debug a Smarform and Script

Former Member
0 Likes
891

Hello

experts

How to Debug a Smarform and Script

aravind....

8 REPLIES 8
Read only

Former Member
0 Likes
863

to debug Smartform :

opensmartform function module and put a break point in it....

to debug SAPScript :

go to SE71

Utilities -> Activate Debugger...

once you have put the breakpoint or activated the debugger... execute the process which calls this form...

Read only

naveen_inuganti2
Active Contributor
0 Likes
863

Hi....

I think we can debug the Function module...!

So every smart form releases one function functuion module.. just debug that, nothing but debuggig Samrt form...

Thanks,

Naveen.I

Read only

Former Member
0 Likes
863

Hi,

For debugging a smartform we can use the statement BREAK_POINT. This statement we can give before the statement from which we want to debug.

For sapscripts we have to use menu option Utilitities->Activate debugger.And then execute.

Read only

Former Member
0 Likes
863

smartform : you can hardcode with break-point or go to main program and put the break point.

script : in se71 , menu : utilities-->activate the script debugger .

Tks .. venkat

Read only

GauthamV
Active Contributor
0 Likes
863

hi,

to debug SAPScript :

go to SE71

Utilities -> Activate Debugger.

to debug Smartform :

use transaction SFTRACE.

or

open smartform function module and put a break point in it.

Read only

Former Member
0 Likes
863

For debugging Smart Forms :

1) Execute ur smartform -->> Gives Function Module

2) Again Execute SmartForm(Function Module Screen).

-


>> next screen shows.

Execute and Debugging.

For Script:

Go SE71.

Utilities -- >> Active Debugger

Thanks

RP

Read only

Former Member
0 Likes
863

Hi Aarvind,

To debug the SAP SCript . go to the UTILITIES menu in SE71 -> Activate Debugger.

To debug the Smartforms: put a break point in the smartforms BREAD <USERID> and activate the smartforms.

Hope this will helpful for you.

Regards,

Chidanand

Read only

bpawanchand
Active Contributor
0 Likes
863

HI

[Steps to debug smartfrom|;

Regards

Pavan