SAP Search Helps are used to provide F4 functionality for a field to select list of the possible values from a list. When ever user clicks on F4 button if there is any Search helps for that field it will display corresponding values for the filed from the list.It is a input help (F4 help), a standard function of R/3 system.
Used to display possible input values for a field in screen template and are
basically of two types:-
Elementary & Collective.
Elementary search help provides a single search path.
Collective search help provides collective elementary search path.
•Components of Search Helps:
Selection method –
tables & views (database, projection & help).DB view for inner join & help view
for outer join.
Search help parameters – copied from corresponding selection method.
Search help exit – It is a function module used to deviate a standard flow of
input help process. F4IF_SHLP_EXIT_EXAMPLE is used as
pattern for all search help to be created. Help processor calls search help exit
at following times:
- Before displaying dialog box
- Before selecting data
- Before displaying hit list
- Before returning values to screen template.
Some of the names of predefined search help exit:
F4UT_OPTIMIZE_COLWIDTH,
F4UT_ICONS_DISPLAY, F4UT_LIST_EXIT
Import & export parameters –
Import parameters are used to copy context information from screen template to help process .
Export parameters are used to return values from hit list to screen template.
Dialog type -
- Immediate value display
- Complex dialog with value restriction
- Dialog depending upon no. of entries
Hot key –
It is used to select elementary search help from collective search help & to enter restrictions in dialog box to restrict values from entry field.
The short cut must be entered in input field like = <hotkey>.s1.s2.s3.-----
Lpos - defines position of parameter in hit list.
Spos - define position of parameter in dialogbox.
Sdis - Used for import parameter or default value which can not be changed.
Note: Elementary search help in collective search help can have different number & types of parameters.Not all of the parameters need to be assigned.
Append Search Help:
An append search help is used to enhance a collective search help (not
elementary search help) by further search paths (elementary search helps).
This technique can be used by special developments,sap partners & sap
customers.
Structure of append & corresponding collective search help must be same.
Parameters of both search helps having same name are assigned to one
another.
Go to -> append search help.
"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.