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 meaning of table buffer? This buffer is used by which type oftable?
What are conditional chain statement?
What happens when you post goods issue after delivery? How does the inventory get reduced after the delivery?
How to combine multiple billing into one RV document ( Step by Step)?
How to create a button in selection screen ?
When will the current screen processing terminates?
What are the different types of data dictionary objects? : abap data dictionary
What are the basic objects of the data dictionary? : abap data dictionary
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
What is synchronous update?
Explain the advantages of logical databases?
Difference between Insert, Update and Modify?
hi frends this is bala raju from pune.i want to know diff between 4.7ee and ecc 5.0.if possible give me brief explanation.this question was asked in EDS(tele interview) in pune bye.
What is the difference between the function module and a normal abap/4 subroutine?