cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug smartform,

Former Member
0 Kudos

Hi Experts,

How to debug smartform?

how we can set stop in smartform.

Regards

Mohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

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.

pls reward if helpful.

Regards,

Rajyalakshmi

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Mohit,

You could go to any window, right click and create program lines there. Then in the program lines just write break-point.

When u execute your smartform, the control would come there and from there you could debug it.

Thanks

Nayan

former_member181995
Active Contributor
0 Kudos

Mohit,

a place where you want a debug smartform than you need to create one temporary program line and write BREAK-POINT.make sure this program line in window must executable so that it comes fire and take you into debugger.

and please try to search your self before throwing thread in SDN.

Please close this thread after giving mark.

Amit.

Former Member
0 Kudos

Hi Mohit Bansal ,

Using SMARTFORM_TRACE

or by putting the break point in program lines

Please check this link

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

Best regards,

rasam

Former Member
0 Kudos

Hi,

I searched the forum with the terms 'debug smartform' and found the answer.

You may want to do the same.

Regards,

Nick