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 |
How to display dynamic logo's in Smartforms? i mean to say different logo's on different pages?
2 Answers Altimetrics, Cap Gemini,
Which commands are used for interactive reports?
What is the Tcode for System Dump?
Did you create secondary index?
What is a data element?
in report gui we are giving customer number if it is wrong entry then how to write the code to restrict wrong entry?
what is the main main difference between data element and domain? (i know definitions,i don't want definations).
What is difference between inner join and outer join?
In select-options, how to get the default values as current month first date and last date by default?
what is the difference between rfc and normal function module?
What is an abap instance?
how can be restore a project deleted in lsmw?