I have a requirement where I have two listboxs(dropdown list) in a selection screen. I have to populate the second listbox based on the selected item from the first listbox. How to do this?
I have created a listbox in a selection screen using
Parameters: p_soldto as listbox visible length 30 user-command chg,
p_shipto as listbox visible length 30.
Then I have tried to look at the value of item selected from first listbox in AT SELECTION-SCREEN OUTPUT, But I am not getting any value of p_soldto.
I think I am doing something wrong. I think I have to use some event handling like on selection of an item from listbox. But I don't see any such event handing in ABAP.
Please give me some code example.