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

Data dictionary

Former Member
0 Likes
782

Hi,

What is the function module using for Search help in 4.7E.

what is debugging? what are the type.

what is the difference between Breack point and Watch point.

Rgds

venugopal

6 REPLIES 6
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
738

Hi,

Debugging means running the program in STEP BY STEP mode.

You have four options

F5 One step at a time and on procedure calles enters the procedure andexecutes step by step.

F6 One step at a time but on procedures executes the procedure in one step will not go into the procedure.

F7 Completes the execution of the current processing block and comes out of it, if we are in a procedure and F7 is pressed we will come out of that proedure.

F8 Execute the program in one step(Will stop at Break-points set using the work bench).

Break-point are defined either programatically sung the key word BREAK-POINT or using the work bench stop icon.

Watch points are defined in the DEBUG MODE( used to give condtional stop points).

Regards,

Sesh

Read only

prasanthi_chavala
Active Contributor
0 Likes
738

Hai Venu,

b]what is the difference between Breack point and Watch point.</b>

A breakpoint is a signal at a particular point in the program that tells the ABAP runtime processor to interrupt processing and start the Debugger. The Debugger is activated when the program reaches this point.Max 30 breakpoints we can use.

There is a special kind of breakpoint called a watchpoint. When you use watchpoints, the Debugger is not activated until the contents of a particular field change ie...Watchpoints allow you the option of monitoring the content of individual variables.The Debugger stops as soon as the value of the monitored variable changes.You can use max of 5 watchpoints.

Regards,

Prasanthi.

Read only

Former Member
0 Likes
738

Hi,

The function module used for search help are:-

F4_CHECK_SEARCH_HELP_INPUT

F4_SEARCH_HELP

F4_SELECT_FROM_SEARCH_HELP

F4_SELECT_SEARCH_HELP

F4_CHOOSE_SEARCH_HELP

F4IF_CHOOSE_SEARCHHELP

F4IF_DETERMINE_SEARCHHELP

F4IF_EXPAND_SEARCHHELP

F4_DD_SEARCH_HELP

You can use the one which suits your requirement

Debugging is used to find out exactly where the error occured and the reason of the error.

The code is excuted only when you press F5(step-by-step) or F6(one block of code)

You can place Breakpoints where you think the problem might be

You can go in debug mode by putting Breakpoints before executing the program or by /h followed by enter and then execute(F8)

Watch point is a feature of debugging.

For a particular field and its value you want to check how the code proceeds then watch point is set for that field and value

Sameena

Read only

Former Member
0 Likes
738

Hi Venu Gopal

BREAK-POINT { [ID group]

| {[log_text] [AT NEXT APPLICATION STATEMENT]} }.

Extras:

1. ... ID group

2. ... log_text

3. ... AT NEXT APPLICATION STATEMENT

Effect

This statement defines an unconditional checkpoint (breakpoint). If the program reaches an active breakpoint during dialog processing, program execution is interrupted and the system switches to the ABAP Debugger. An inactive breakpoint will be ignored and program execution will continue with the statement following BREAK-POINT.

Without the ID addition, the breakpoint is always active. If the IDaddition is used, activation from outside the program will be controlled by a checkpoint group.

During background processing and during updating, program execution will not be interrupted. If the ID addition is specified, a breakpoint will always be inactive during breakpoint processing and during the updating process. If a breakpoint is always active, that is, the ID addition is not specified, the entry "Breakpoint reached" is written to the system log during background processing and during the udpate task. After the entry, the program name and the point where the breakpoint took place in the program are also recorded.

using watch points we create a range to display the records

Read only

Former Member
0 Likes
738

Hi venu,

debug is a way one can check how his code works..watch point is a break point which we can set in debug mode and ths is the break point which we can keep in the code..it is simple by selecting stop button in the menu on the line where u want the check to be done...we have four options in it ...

F5 One step at a time and on procedure calles enters the procedure andexecutes step by step.

F6 One step at a time but on procedures executes the procedure in one step will not go into the procedure.

F7 Completes the execution of the current processing block and comes out of it, if we are in a procedure and F7 is pressed we will come out of that proedure.

F8 Execute the program in one step(Will stop at Break-points set using the work bench).

Read only

Former Member
0 Likes
738

Hi

The function modules for search help is

F4IF_SHLP_EXIT

F4HELP_CLASS

F4IF_SHLP_EXIT_005Z_IDTYP

F4IF_SHLP_EXIT_ROLES

F4IF_SHLP_EXIT_BUPA_TEMPLATES

F4IF_SHLP_EXIT_REMUNS

F4IF_SHLP_EXIT_CACS_STMT

F4IF_SHLP_EXIT_ADHOC_COSTING

F4IF_SHLP_EXIT_CK_ECP_PSCHL

F4IF_SHLP_EXIT_EXTTX_COSTING

There are more function modules.U can go to transaction SE37 and can see the function modules starting with F4.

Debugging:

The purpose of the debugger is to allow you to execute your program line by line. It also allow you display the data as you execute the program.

Please go through this link:

Differences:

1. Break Point.

At particular LINE of SOURCE CODE,

the system will STOP there.

2. Watch Point.

(For this, we have to give some

VARIABLE NAME & VARIABLE VALUE - with relational operator)

When this CONDITION gets satisfied,

(anywhere during the execution of the program),

the system will AUTOMATICALLY STOP THERE.

(EG when the value of matnr reaches the specified value)

That is the purpose of WATCHPOINT

(the system will WATCH it, like a dog)

Please go through this link:

Regards,

gunasree.