Skip to Content
0
Former Member
Apr 14, 2014 at 07:36 AM

dynamic alv dropdown values

974 Views

Hello,

I have the ff requirement:

1. Create an Editable ALV.

2. User can enter data by clicking append row or insert row.

- Take note that the table has no data yet, user will input the data.

3. Most of the columns should have dropdown values.

- I don't have problems with columns that have same data per row - I used dropdownbykey.

4. Here's the catch, some of the columns are dependent on the data entered in other columns.

Example: I entered country in one field, I should ONLY be seeing the users under that country in the adjacent field.

- By this time my context node is still initial because i'm still editing the row.

How can I achieve this?

I can't use dropdownbyindex because, as per the posts that I've read, the alv is already populated.
In my case, I'm yet to populate the ALV.

Thanks.