how to fill the select options from an internal table
dynamically ie can i use the loop in the initialization
Answers were Sorted based on User's Feedback
Answer / tamseel hashmi
TABLES : mara.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
END OF itab.
SELECT-OPTIONS: s_matnr FOR mara-matnr NO INTERVALS.
INITIALIZATION.
CLEAR : itab,
s_matnr.
REFRESH : itab,
s_matnr.
SELECT matnr
INTO TABLE itab
FROM mara
WHERE meins EQ 'CS'.
* fill select option.
LOOP AT itab.
s_matnr-low = itab-matnr.
s_matnr-sign = 'I'.
s_matnr-option = 'EQ'.
APPEND s_matnr.
ENDLOOP.
start-of-selection.
Is This Answer Correct ? | 15 Yes | 5 No |
Answer / sasi
Use the function "F4IF_INT_TABLE_VALUE_REQUEST" at the
event - AT SELECTION-SCREEN ON VALUE-REQUEST FOR ....
Is This Answer Correct ? | 3 Yes | 8 No |
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
what is call back in alv?
Hi, How to do sub totals in classical reports?
What is meant by slab? How is indian slab and us slab? : sap abap hr
Explain the advantages of different types of bdc's?
What are Call Transaction Modes?
Explain about Recording Function?
What is the structure of bdcmsgcoll? : abap bdc
what is the structure of itab of screen?
Explain buffering concept usage?
What is the difference between tables and structures?
How will you do implicit enhancement?