Application Development 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: 

Smartform version

Former Member
0 Kudos

Hi experts,

can anyone tell me how to see the versions of smartform layout as i notice there is no version management in utilities.

can any tell me how to debugg a particular node of smartform.

Thanks in advance,

alson.

5 REPLIES 5

p291102
Active Contributor
0 Kudos

Hi,

I thing u can't see the versions of scrips and smarforms. When u r saving u have note the request no or GOTO SE09 and find ur request no.

1) DEBUG Smartform:

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). DEBUG SAPScript

They are two ways to debug the SAPScript.

1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.

It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.

2). Another way to set the SAPScript debugger is to run program RSTXDBUG.

When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.

Thanks,

Shankar

Former Member
0 Kudos

Hi,

You can see all the requests for the smartform using SE03.

You shd select "Search for Objects in Requests/Tasks" in SE03.

give Object type as SSFO and the smartform name besides it and execute.

To Debug a particular node, you shd a Program Line above and Insert BREAK-POINT command in it. You can check all the values at that instance.

regards,

Mahesh

Former Member
0 Kudos

<b> Debug Smartform

1.In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap

Break Point.

set a break point in side the smartform:

BREAK <USERNAME>.

Then at the time of print/ preview the program stops there.

Example : If you set the break point in initializationas

BREAK <USERNAME>.

Program stops at break point. After that use Serach and set more break points.

-


>Search the program logic/Textelement/Address via search and set the break point at that code.

2.Other 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.

3.SFTRACE can be used for debugging SMARTFORMS.

Read More here.

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

</b>

Former Member
0 Kudos

hi

good

put a hard coded break-point at that particular node to debug it.

thanks

mrutyun^

Clemenss
Active Contributor
0 Kudos

Hi,

for debugging transaction SMARTFORM_TRACE (Hope name is correct; if not, check SE16 TSTC SMARTFORMTRACE*.

You can configure the detail level to see what nodes are processed in what sequence - as a first step much easier and more efficient than the other (good) hints already given.

Regards,

Clemens