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

Module pool to create input field dynamically.

Former Member
0 Likes
1,120

Hi All,

I have a requirement in module pool programming,

Where I have one input field,based on the value given in this input I have to get the

input fields dynamically in the screen.

Is it possible to achieve this?

If yes, please do tell me the solution to approach this requirement.

With Regards,

S.Asha.

3 REPLIES 3
Read only

Former Member
0 Likes
707

Hi,

I don't think that is possible. If you know a standard set of values for the I/O field, then you can just add the other I/O fields onto your screen in the layout and hide them. You can enable the I/O box depending on the value you enter in the visible I/O box. I know this is a very rugged approach but you could probably give it a try.

Read only

Former Member
0 Likes
707

Hi,

You can use IMPORT DYNPRO / EXPORT DYNPRO.

Please check this URL: [|]

[|]

Cheers,

Read only

0 Likes
707

Hi, everyone. I´ve used GENERATE DYNPRO to create 3 screen elements in line multiple times, say, a flabel, an input and one icon. They are put on a subscreen. I´d like to know if there´s a way to attach a function code to the icon so that I can use sy-ucomm. Another alternative was to create the 3 elements 10 times adding 1...n to the name. This because depending on a parameter there can be one line or n.

Best regards,