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 smart forms..

Former Member
0 Likes
620

how to debug a smart forms..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
551

Use the following statement inside program lines

<b>break-point.</b>

5 REPLIES 5
Read only

Former Member
0 Likes
552

Use the following statement inside program lines

<b>break-point.</b>

Read only

Former Member
0 Likes
551

Hi Raju,

Use abap statement <b>BREAK-POINT</b> inside code.

Thanks,

Vinay

Read only

0 Likes
551

ya Abhi,

Add <b>BREAK-POINT</b> inside code. Hope this solves your purpose.

Regards,

Santosh

Read only

Clemenss
Active Contributor
0 Likes
551

1. use transaction SMARTFORM_TRACE

2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.

3. BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.

Regards,

Clemens

corrected name of tgransaction SMARTFORM_TRACE

Message was edited by: Clemens Li

Read only

Former Member
0 Likes
551

You can set

break "sy-uname" within your smart form code sections and this will take you to the code sections in the function module of the smart form when the break point is reached. This way by timing the break points you can look at the code of the various nodes of your smart form.