Application Development 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: 

Dynamic fields using the screen painter.

Former Member
0 Kudos
127

Hello,

I need to dynamicly build a screen.

The problem:

I have a table with X fields in it.Each field is to be represented by a checkbox.

Today there might be 5 check boxes, and tomorrow there might be 6.

How can i do this without knowing the number before runtime?

Best Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos
84

Hello,

Do you know the maximum number of checbox you can have?

If yes, you can define the max number and hide some in the PBO using LOOP AT SCREEN.

Regards,

Walter

3 REPLIES 3

Former Member
0 Kudos
85

Hello,

Do you know the maximum number of checbox you can have?

If yes, you can define the max number and hide some in the PBO using LOOP AT SCREEN.

Regards,

Walter

0 Kudos
84

Thank you for your answer.

I was thinking something of the same, but desided that this was the easy way around. Was hoping that there was a nicer (Code wise) way to do this.

But no i do not know the maximum number of boxes.

Best Regards

0 Kudos
84

Or may be you can use an ALV and generate the number of row you need and display the cells like check box....