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

Changing Screen field position dynamically

Former Member
0 Likes
1,294

Hi,

Is there a way to change the position of screen fields dynamically in a module pool program?

My requirement is that based on the value of a variable, I need to arrange a few input and text fields on a subscreen in different order.

Points will be rewarded for helpful answers..

Regards

Abhishek

1 ACCEPTED SOLUTION
Read only

kiran_k8
Active Contributor
0 Likes
692

Abhishek,

Create different screens as per your requirement and call them depending upon the value given in the variable.You can try in this way.I think changing the position of the fields dynamically is not possible.May be Anji or Rich can help you in this regard.

K.Kiran.

2 REPLIES 2
Read only

kiran_k8
Active Contributor
0 Likes
693

Abhishek,

Create different screens as per your requirement and call them depending upon the value given in the variable.You can try in this way.I think changing the position of the fields dynamically is not possible.May be Anji or Rich can help you in this regard.

K.Kiran.

Read only

Former Member
0 Likes
692

Hi,

For this what I can think of is that u need to create the fields multiple times on the same screen and then using SCREEN variables, u need to make them visible/invisible.

e.g. Say, u want Matnr at first position at one time and 6th position at another. In that case, what u can do is create the field MATNR twice and them hide/unhide it depending upon the condition.

Hope this helps.

Regards,

Himanshu