Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Creating select-options dynamically

Hello Gurus,

I have following program with me.

********************************************************

CALL METHOD cl_alv_table_create=>create_dynamic_table

EXPORTING

it_fieldcatalog = itab_display

IMPORTING

ep_table = d_ref.

ASSIGN d_ref->* TO <F_FS>.

SELECT * FROM (table) INTO CORRESPONDING FIELDS OF TABLE <F_FS>.

*********************************************************

I want to select from table dynamically. i.e.

I want my select query as :

*SELECT * FROM (table) INTO CORRESPONDING FIELDS OF TABLE <F_FS> where field1 = ' x' and field2 = 'y' etc ....*

" field1 , field2 " ....i should be able to give using select-options.

Please tell me is it possible ?

Thanks.

Tags:
Not what you were looking for? View more on this topic or Ask a question