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
SM35 transaction, How to automate BDC ?
What will you code in start-of-selection & end-of-selection ?
what is friend class
What is a badi?
What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?
What is the differences between structure and table in the data dictionary in abap?
How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc
What is the table buffer?
What is pass by value and what is pass by reference? Which is better?
Why do we use events and actions in web dynpro?
What are two methods of modifying sap standard tables?
Have you worked with support? How ticket comes to you? What were the timings for resolving tickets types of severity?
What is the disadvantage of a call by reference? : abap modularization
What are the data classes in abap?
What is sap luw or update transaction?