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

Creating buttons dynamically in module pool screen

Former Member
0 Likes
975

Hi friends,

I have one screen .

It has two input fields .

Say : Sales order no & Bin no .

based on this i found some batches from database table using select query .

Now the number of buttons depends on the no of batches i found .

If I get 5 batches , then I will create 5 Push Buttons on screen .

Please let me know , How to create these buttons dynamically on screen .

Regards ,

Manoj

3 REPLIES 3
Read only

Former Member
0 Likes
549

You could create the buttons and make them invisible. Then make visible as many as you like by looping through the screen table.

Read only

0 Likes
549

Thanks for your reply ,

But I cant , its RF screen .

So its a small screen .

If the no buttons is greater than screen size , then I have to put a scroll bar also . -:)

Read only

0 Likes
549

Hey ,

I tried using custom container and then a toolbar in it .

But this toolbar create buttons either vertically OR horizonatally .

I want buttons all over the screen to be created dynmically .

Please help ...