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 code to upload cost centers through call trans. and procedure
Will the views get effected when updating the database?
Is it possible to pass data to and from include programs explicitly?
Can we write the code both call transaction and session method in single program?
What does an exec sql statement do in abap? What is the disadvantage of using it?
Recording -- Transaction code?
what is field string ? & where we are using field strings?
What are control tables? : abap data dictionary
14) Purpose of the statemement TABLE in a report?
i want to add 2 records to a table but the last field in the table is 1000 char long.Is it possible?if yes how?
how many blocks can create in a ALV BLOCK LIST in ABAP?
What is collect statement?explain with example?