Application Development and Automation 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: 
Read only

how to debug a smartform

Former Member
0 Likes
957

hi

how to debug a smartform

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
927

hi,

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

Regards

Sudheer

7 REPLIES 7
Read only

Former Member
0 Likes
928

hi,

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

Regards

Sudheer

Read only

Former Member
0 Likes
927

Hi,

Write the code in the coding part.(in program lines)

break-point.

Regards,

Navaneeth,

Read only

Former Member
0 Likes
927

Hi,

For smartforms debugging you can do this.

1. Execute the smartform (execute button in SMARTFORMS transaction)

2. Take the generated function module and display it in SE80.

3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.

Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis

Tcode - SFTRACE

Regards

Read only

Former Member
0 Likes
927

hi

good

use hard coded BREAK-POINT at the point where you want to check the code and start debugging.

thanks

mrutyun^

Read only

Former Member
0 Likes
927

Hi Jyothsna

by putting a break-point in program lines and

if you put a break-point in a function module that is generated by smartform

it will trigger

DONT FORGET TO REWARD POINTS,

BEST REGDS,

kiran.M

Read only

Former Member
0 Likes
927

Hi,

2 ways to Debug smartform.

1) just write BREAK-POINT in program lines.

2) open ur smartform in one sesion, then execute the program RSTXDBUG in another , now execute ur smartform thru driver program , then u can see that in Debugging mode.

Reward with points if helpful.

Revert back if any issues.

Regards,

Naveen.

Read only

0 Likes
927

RSTXDBUG will work in SAP Script not in Smartforms