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 insert fields on a screen dynamically

Former Member
0 Likes
302

Hi Experts,

I have the following requirement :

I have a screen with 4 fields on it and a button. Lets say the 4 fields are from table MARA and are defined as select-options.

Now there is a button. On its click a list of fields should be displayed. User can select any number of fields from the list and then these fields should be copied to the screen as select-options.

Please suggest how to achieve this functionality.

Its urgent.

Helpful answers will be duly rewarded.

Thanks in advance.

Regards,

Himanshu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
276

I do not think you can dynamicall add fields to your selection screen. If you do how would you have the code to use these fields.

For example SE16, you can specify which fields you want to see on the selection screen. If you do this, you will notice that a new program is generated.

I think that is the key. SE16 will compile a new program based on the new selection screen fields.

1 REPLY 1
Read only

Former Member
0 Likes
277

I do not think you can dynamicall add fields to your selection screen. If you do how would you have the code to use these fields.

For example SE16, you can specify which fields you want to see on the selection screen. If you do this, you will notice that a new program is generated.

I think that is the key. SE16 will compile a new program based on the new selection screen fields.