Skip to Content

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

Action on Dropdown inside an ALV Table

I am using an ALV table. Through the following piece of code out of 5 fields i am making the 2 fields as dropdown. My requirement is if we select an entry on the first drop-down, the values for the second dropdown should get fetched from the selected first drop down.

Here is the piece of code that i used to make the field as dropdown.

lr_column_settings ?= l_value.

lr_column = lr_column_settings->get_column( 'ACTY_TYP' ).

CREATE OBJECT lr_drop_down


selected_key_fieldname = 'ACTY_TYP'.

lr_column->set_cell_editor( lr_drop_down ).

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