‎2006 Apr 20 6:56 AM
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.
‎2006 Apr 20 7:05 AM
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.
‎2006 Apr 20 7:02 AM
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
‎2006 Apr 20 7:05 AM
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.
‎2006 Apr 20 7:13 AM
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
‎2006 Apr 20 7:18 AM
Hi Tripathy,
I got good explanation from ur end for my query.
now i got clear picture of debugging.
thanx,
raja
‎2006 Apr 20 7:14 AM
Hi ravi & hasmath,
Thanks for valid help.I have solved the problem for debugging.
‎2006 Apr 20 8:03 AM
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
‎2006 Apr 20 8:31 AM
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
‎2006 Apr 20 8:47 AM
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