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

Regarding debugging in sap script and smart forms

Former Member
0 Likes
398

hi guys,

can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.

thank you very much

pavan

4 REPLIES 4
Read only

Former Member
0 Likes
376

Hi,

i tried one time to use debugging in smartforms and i didn't find anything.

i use a terrible method: i insert in page command "BREAK-POINT".

Read only

Former Member
0 Likes
376

Hi,

For smartforms debugging you can do this.

1. Execute the smartform (execute button in SMARTFORMS transaction)

2. Take the generated function module and display it in SE80.

3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.

Hope this will help,

Thanks,

Rashmi.

Read only

0 Likes
376

There is a transaction 'SMARTFORMSTRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.

Try!

Sorry: Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis.

Regards,

Clemens

Message was edited by: Clemens Li

Read only

Former Member
0 Likes
376

Hi

In SAPSCRIPTS, you can 'Activate the debugger' in SE71 to start the debugging of script.

In SMARTFORMS, you can use BREAK-POINT (coded in any code window node) to initiate debugging of SF.

Regards,

Raj