How to initial value of SELECT-OPTIONS in ABAP/4

We can initial value of SELECT-OPTIONS in event INITIALIZATION.

Example

TABLES: sflight.
SELECT-OPTIONS: s_carrid FOR sflight-carrid.
INITIALIZATION.
  s_carrid-sign = ’I’.
  s_carrid-option = ’EQ’.
  s_carrid-low = ’AA’.
  APPEND s_carrid.
  s_carrid-low = ’AB’.
  APPEND s_carrid.
  s_carrid-low = ’AC’.
  APPEND s_carrid.

The output is:

 img12

img13

Hi, I tried to execute the

Hi, I tried to execute the program that you have shown above, but it doesnt work. I tried it using s_matnr but with no result. Can you explain this in a detailed way???

Post new comment

The content of this field is kept private and will not be shown publicly.