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

Debugging break point setting

Former Member
0 Likes
3,567

Hi to all,

I need to put break point for all function modules in debugging mode.But when i am going execute the debugging mode,it ask which function module or statement to have break point.Thats why i need how to put breakpoint for all available main programs.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,288

Hi Raja,

Welcome to SDN!!!

Breakpoints can be of different types.

1)Hard BreakPoints

This is written in the code using the command 'Break-point'.

2)Soft Breakpoints

This is placed by placing the cursor at the line required by u and click the 'STOP' button in the std. menu

3) By giving the command '/h' in the command box the debugging mode is opened.

8 REPLIES 8
Read only

Former Member
0 Likes
2,288

You can place a break point at STATEMENT CALL FUNCTION.

Switch on the debug mode, using /h and then you can use --> BREAK POINTS --> BREAKPOINT AT --> STATEMENT.

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

Read only

Former Member
0 Likes
2,289

Hi Raja,

Welcome to SDN!!!

Breakpoints can be of different types.

1)Hard BreakPoints

This is written in the code using the command 'Break-point'.

2)Soft Breakpoints

This is placed by placing the cursor at the line required by u and click the 'STOP' button in the std. menu

3) By giving the command '/h' in the command box the debugging mode is opened.

Read only

Former Member
0 Likes
2,288

HI

GOOD

AS YOU HAVE MENTIONED IN YOUR QUERY IT IS VERY EASY TO PUT A BREAK POINT AT A PARTICULAR POSITION BUT THE QUESTION IS WHEATER YOU WANT TO PUT BREAK POINT IN STANDARD REPORT OR Z* REPORT.

IN CASE OF STANRDARD REPORT YOU HAVE LOTS OF INCLUDES PROGRAM AND FUNCTION MODULE.

IF IT IS A STANDRD PROGRAM THAN YOU HAVE TO SEARCH FOR THE APPROPRIATE FUNCTION MODULE BY DOING THE GLOBAL SEARCH AND THERE YOU HAVE TO KEEP THE CURSOR AND CLICK ON THE RED BUTTON IN THE STATUS BAR NAMED AS "STOP".

THEN YOU COME TO THE MAIN PROGRAM OF THAT STANDARD PROGRAM AND SELECT PROGRAM->TEST->DEBUGGING

IT WILL TAKE YOU TO THAT PARTICULAR FUNCTION MODULE WHERE YOU HAD PUT THE BREAK POINT.

IF IT IS A NORMAL ZPROGRAM THAN ALSO YOU CAN FOLLOW THE SAME PROCESS.

THANKS

MRUTYUN

Read only

0 Likes
2,288

Hi Tripathy,

I got good explanation from ur end for my query.

now i got clear picture of debugging.

thanx,

raja

Read only

Former Member
0 Likes
2,288

Hi ravi & hasmath,

Thanks for valid help.I have solved the problem for debugging.

Read only

Former Member
0 Likes
2,288

Hai Raja

Breakpoints can be of different types.

Hard Break-Points : written in the code like

'Break-point 'Login- User Name''.

2)Soft Breakpoints

This is placed by placing the cursor at the line required by u and click the 'STOP' button or CntlShiftF12 in the std. menu

while executing your report the execution will stop at your break-point and will execute statements one by one

by using F5,F6,F7 & F8 function keys

3) By giving the command '/h' in the command box the debugging mode is opened from the starting of the program.

Thanks & Regards

Sreenivasulu P

Read only

Former Member
0 Likes
2,288

Hi,

You can place a <b>break-point</b> at STATEMENT CALL FUNCTION.

This statement defines an unconditional checkpoint (breakpoint). Whenever the program reaches an active breakpoint during dialog processing, program execution is interrupted. The system then branches to the ABAP Debugger. Any inactive breakpoint is ignored and program execution is continued with the statement following BREAK-POINT.

Switch on the debug mode, using /h and then you can exexute your program.

You can also use <b>BREAK, followed by a user name</b>,( is not a statement, but a predefined macro).

In the ABAP Editor and in the ABAP Debugger, dynamic breakpoints can be set and maintained without changing the source code. These are effective only up to the end of a user session, at maximum.

Regards,

Shakuntala

Read only

naimesh_patel
Active Contributor
0 Likes
2,288

Hello,

In debugging, put break point at all call statement by

Breakpoint > Breakpoint at > Statement. Give CALL in the pop-up, press enter.

Regards,

Naimesh