Listbox problem in Table control
I've a table control, that I fill with data from a table.
When the UI field in the table contains "SINGLE01", "SINGLE02", ... I will need to add a listbox to the tablecontrol.
01 for first listbox, 02 for second listbox, ...
It works but when I have more listboxes in 1 tablecontrol, I have 1 problem.
All the values (from Listbox 1, 2 and ...) will be visible in all listboxes.
I fill the listbox with FM CALL FUNCTION 'VRM_SET_VALUES'
Listbox field: ITAB_SINGLE_TEL-VALUE
I my example: I have 2 listboxes.
Reduction and promo, but all values are visible in the first listbox and in the second listbox.
How can I make sure that I have only the values from listbox 1 (in table with UI field SINGLE01) in the first listbox and only the values from listbox 2 (in table with UI field SINGLE02) in the second listbox.
Remark: I don't know how many listboxes I will have when I create/start the program, It depends how many data is available in the table.