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

smartform debugger

Former Member
0 Likes
878

What is debugging, Y it is usefull. Y we use it in Smartforms. How we do it in smartforms.?

thanks.

Khan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
853

Hi Khan,

Debugging is the process of finding the faults in the program i.e to check where the data is not getting entered to the fields etc.

Normally we Debug using breakpoint or by using tcode /h during executing the program.

Place /h in the tcode and execute the program F8. You will enter into debug mode. There you can debug fields and also tables accordingly to the options. You can also check what values are populated into the Internal table using TABLES option in the mode. use F5 to run the mode in single step. F6 to come out of a loop. F7 to come out of a FM and F8 to come out of debugging mode.

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

rewards points if helpful

regards

reena

6 REPLIES 6
Read only

Former Member
0 Likes
853

In Smartforms

Use BREAK POINT For debugging

thanks

jb

Read only

Former Member
0 Likes
853

The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.

As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application.

Features

The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:

• Ways of starting the Debugger

• Choosing different views

• Choosing different execution options in the Debugger

• Displaying source code in the Debugger

• Setting and deleting breakpoints

• Setting and deleting watchpoints

• Stopping a program at a particular statement or event

• Displaying and changing field contents at runtime

• Displaying ABAP Objects and references

• Displaying and positioning strings

• Setting and deleting database locks

• Opening the ABAP Editor, or Object Navigator

• System settings and runtime warnings

Read only

Former Member
0 Likes
853

only option is to type BREAK-POINT in smartform programming lines.

regards

prabhu

Read only

former_member150733
Contributor
0 Likes
853

Create a Program Line and put a break-point in that to debug.

Regards,

Anish Thomas

Read only

Former Member
0 Likes
854

Hi Khan,

Debugging is the process of finding the faults in the program i.e to check where the data is not getting entered to the fields etc.

Normally we Debug using breakpoint or by using tcode /h during executing the program.

Place /h in the tcode and execute the program F8. You will enter into debug mode. There you can debug fields and also tables accordingly to the options. You can also check what values are populated into the Internal table using TABLES option in the mode. use F5 to run the mode in single step. F6 to come out of a loop. F7 to come out of a FM and F8 to come out of debugging mode.

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

rewards points if helpful

regards

reena

Read only

Former Member
0 Likes
853

hi,

The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.

As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application.

Features

The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:

• Ways of starting the Debugger

• Choosing different views

• Choosing different execution options in the Debugger

• Displaying source code in the Debugger

• Setting and deleting breakpoints

• Setting and deleting watchpoints

• Stopping a program at a particular statement or event

• Displaying and changing field contents at runtime

• Displaying ABAP Objects and references

• Displaying and positioning strings

• Setting and deleting database locks

• Opening the ABAP Editor, or Object Navigator

• System settings and runtime warnings

for normal debugging of a report program u can use /h in command box or funcction keys as

F5 -> line by line debugging.

F6 -> similar to F5 but executes sub routine as a single line.

F7 -> break point to break point debugging.

F8 -> executes entire program at a single time.

for debugging smart forms u have to use BREAK-POINT keyword in smart form.

if helpfulreward some points.

with regards,

suresh.