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

how to create checkboxes dynamically??

Former Member
0 Likes
579

hi all, i have a problem here.

i want to create checkboxes dynamically according to the no. of records in the internal table.

For example, my internal table ITAB1 got 12 records. i have to generate out 12 checkboxes.

anyone knows how to solve this?

thanks.

1 ACCEPTED SOLUTION
Read only

i048168
Product and Topic Expert
Product and Topic Expert
0 Likes
537

Hi,

Check this link. Cetainly it will be useful.

http://www.sap-img.com/abap/regarding-runtime-creation-of-check-boxes.htm

Regards,

Vadivelan B

4 REPLIES 4
Read only

i048168
Product and Topic Expert
Product and Topic Expert
0 Likes
538

Hi,

Check this link. Cetainly it will be useful.

http://www.sap-img.com/abap/regarding-runtime-creation-of-check-boxes.htm

Regards,

Vadivelan B

Read only

Former Member
0 Likes
537

Hi,

You can display as many check boxes as the number of records in your internal table using the ALV.

Say, you declare a internal table of some dummy type.

In a DO XXX times ENDO you can fill this internal table with as many records as the number of check boxes.

Then in the field catalog set this field in the internal table as check box and display the same in an ALV.

Thanks,

Avanish Joshi

Read only

Former Member
0 Likes
537

loop at itab into wa.

write:/ wa-field1, wa-field1 AS CHECKBOX.

endloop.

Read only

Former Member
0 Likes
537

Hello meei huey ho,

I suppose your question is not clear . where you want this check box.

it is quite possible to make the check box againest the No of record is following place :

1. List Report (Both).

2. ALV (Both).

3. Table control.

I think it help you or better you define question more .

Regards

Swati namdeo