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
PROGRAM TO CREATE INQUIRY IN SD USING BAPI 'BAPI_INQUIRY_CREATEFROMDATA'
how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?
How do you get the number of lines in an internal table?
How do you validate the selection criteria of a report? And how do you display initial
What are client dependant objects in abap/sap?
Can we display a list in a pop-up screen other than full-size stacked list?
What does hide statement do?
What is the use of program rsbdcsub? : abap bdc
What is the difference between upload and ws_upload ? : abap bdc
Explain the advantages of logical databases?
What is alv programming in abap? When is this grid used in abap? : abap hr
When was the sap abap being created?
What are the functional modules used in sequence in bdc? : abap bdc
While using extract datasets it is required to have a special workarea for interface. State true or false. : abap modularization
What is the symbol to do “concatenation” operation in nw abap 7.4 ?