cancel
Showing results for 
Search instead for 
Did you mean: 

how i can debug code i have written in smart form

Former Member
0 Kudos

hi

i want to debug code i have written in smartform like we debug programs in SE38

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Buddy,

Solution is simple...........

1. Write Break-point in the section of code u want to debug.....

2. go to option GOTO-> MAIN PROGRAM............... click on the relevant include (not top include)...... ull se entire driver program..........

put additional dynamic break point if u need...........

Run the tranasction for which the appn is being developed.........

Hope this answers ur query........

Rajiv Kaushal

Former Member
0 Kudos

In Smartforms..wherever u hav the code..

jus write BREAK-POINT der..

and it will debug from dat point

Hope this helps..Reward if it does

harimanjesh_an
Active Participant
0 Kudos
former_member196280
Active Contributor
0 Kudos

The only way you can debug your code of smartform is to set a hard-break point inside program lines of your smartform, or goto function module of smartform and set a break-point.

Best way is to goto SMARTFROM_TRACE and tick the check box trace on , now run your smartform, and go back to samrtfrom_Trace(SF_trace) and go through the log.

Regards,

Sairam

Former Member
0 Kudos

Hi,

Write BREAK-POINT in the code and run the generated function module,

Regards

Sudheer

Former Member
0 Kudos

HI

while i am debugging by putting break-point , iit is executing only one time,

i want to check for loop which i make on table line not in codeing part.

jj
Active Contributor
0 Kudos

Debug the function module created as a result of smartform generation.

During debugging mode.

Click on <b>Overview</b> Button.

There you can see the Program, Block and Name.

In that every<b> NAME</b> starting with %C is code.

If you double click on that Name it will take you to that code.

You can put break-point there.

and execute.

It will go to that code at run time and you can see the value .