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 can you call a subroutine which is located in program A from program B?
what are the two methods of modifying sap standard tables? : abap data dictionary
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
How can I get the default values (like date, company code) in module pool programming before the screen is displayed?? I dont wanna use VARIENTS...
what r differeces b/n open_form and start_form
What will happen when we use single buffered selected?
i have 2 fields on selection screen of a Report along with a check box.My requirement is initially that first field sud be mandatory but when we click on the check box the first field which was mandatory sud now be optional and the second field now sud be mandatory.Please provide the solution asap. thank u.
What are the basic functions of database utility?
how to create f1 help and where f1 help is stored
If a Function module is defined as RFC enabled why the parameters should be pass by value not by reference in sap abap
What is the meaning of abap/4 editor integrated with abap/4 data dictionary?
what is event in abap?