cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging a smartform

Former Member
0 Kudos

Hello abapers, could any one explain me how to debug a samrtform.Do we need to debug in print program or do we have to do it in form directly..

thanks in advance,

santosh.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member193471
Active Contributor
0 Kudos

Hello,

You can debug smart form using Smartform_trace transaction code.

sathish Kumar

09986796999

Former Member
0 Kudos

For Smartforms: You can put a breakpoint in the code or you can write explicity BREAK-POINT keyword to debug the smartform

U can proceed in the same way as report.

Mostly we put BREAK-POINT keyword in the smartform code and start debugging.

Try and let me know if u face any problem.

Regards

anversha_s
Active Contributor
0 Kudos

hi,

<b><i>DEBUG Smartform:</i></b>

1) 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) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

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

rgds

Anver

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

You can debug the smartform by suing break-point in program lines of smartforms.

Otherwise,you can debug the function module.