Which function module you will use to attach a search help
to a field in Selection screen?
Answer Posted / rajarao
REPORT z_test11 .
PARAMETERS:
p_carrid(2).
DATA: table1 LIKE
ddshretval
OCCURS 0 WITH HEADER LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_carrid.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'scarr'
fieldname = 'carrid'
* SEARCHHELP = ' '
* SHLPPARAM = ' '
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = 'p_carrid'
* STEPL = 0
* VALUE = ' '
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* SUPPRESS_RECORDLIST = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* SELECTION_SCREEN = ' '
TABLES
return_tab = table1
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5
.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
p_carrid = table1-fieldval.
START-OF-SELECTION.
WRITE: p_carrid.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the procedure you followed to upload the data?
What is the significance of hide?
Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?
wat is the default file name of BAPI trace?
What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc
How many structures can be created in a Ztable ?
What is cts and what do you know about it? : abap hr
hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp
Define the various contents of technical specifications ?
Which function module would you use to check the user’s authorization to access files before opening a file?
How to eliminate duplicate entries in internal tables?
How to select valid lines for secondary list?
What is the use of abap data dictionary? : abap data dictionary
Explain some essential objects in abap dictionary?
What is a persistent class?