‎2009 Apr 03 1:47 PM
Hi Gurus,
My requirement says I need to fetch some company codes and for each company code I have to display a check box on the module pool screen, allowing user to select few among them.
So how can I do it? as we cannot be sure how many company codes i will be fetching using a query, I believe the check boxes have to be displayed dynamically.
So how to display them dynamically along with the text ( company code text) beside it ?
Thanks in advance.
‎2009 Apr 03 1:50 PM
‎2009 Apr 03 1:50 PM
‎2009 Apr 03 1:54 PM
Hi
U need to use a table control in order to show the compnay codes extracted and the first fields of tc should be a checkbox, but u can use the marker field instead of the checkbox.
Max
‎2009 Apr 03 1:54 PM
Hi,
once your data is filled in internal table
take another field as checkbox in the internal table.
use table control and pass the table to it.
u shall get the first col with checkboxes
code:
types:
begin of type_tab.
checkbox type c, " Field for checkbox
field1 type c,
field2 type i,
end of typetab.
data:
fs_tab type type_tab.
data:
t_tab like standard table of fs_tab.
select query.
thanks
ravi