Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Check Boxes on Module Pool

Former Member
0 Likes
577

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
549

hi,

try using table control in module pool.

Regards,

R K.

3 REPLIES 3
Read only

Former Member
0 Likes
550

hi,

try using table control in module pool.

Regards,

R K.

Read only

Former Member
0 Likes
549

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

Read only

Former Member
0 Likes
549

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