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: 

Debuging smartform

senthil_kumar29
Participant
0 Kudos

Hi,

I am trying to find out the folder in which some data printing on Main window, but I could not find in which folder the data is printed. I use BREAK-POINT to identify the folder, but still its not helping. any way I could debug it like SAP Script.

Cheers

Senthil

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi senthil,

Regards,

Sravanthi

4 REPLIES 4

Former Member
0 Kudos

Hi senthil,

Regards,

Sravanthi

Former Member
0 Kudos

Hi Senthil,

Activate the Smart Form.

Go to Environment -> Function Module Name and get the automatically generated function module for the Smart Form.

Go to SE37 and display Attributes of the function module. Get the program name under general data tab.

Go to SE38 and display the program. In the last include ( INCLUDE /1BCDWB/LSFxxxxxxxxF01) contains the coding inside the Smart Form.

Set a break point in the program and DEBUG.

Regards.

Eshwar.

Former Member
0 Kudos

Hi!

Unfortunately there is no such debugger for smartforms, like sapscripts' debugger.

However we can say, a smartform is printing ALL NODES, what is not excluded with a condition.

To determine, which condition is true and which is not, you have to create an abap code node before the nodes with the condition, but a breakpoint into it and check the value of the variables.

Regards

Tamá

former_member195383
Active Contributor
0 Kudos

in the smartform out put see exactly at which place the data is getting printed.Then in smartform open the form painter. There u have all the windows with there respective positions. See in which window data can probably get printed as per the position.May be that can help..If u are having 2-3 such probable windows then in each window create a program-line, and then put a break point. Now there u can see the value that is to be printed in that window.U can also compare this value that is getting printed on the PDF.

May be this can help you out