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

dynamic textfields fields in Module pool programme

naresh_bammidi
Contributor
0 Likes
1,053

Hi all ,

How to icrement the text-fields dynamically.my screen design is like this ,at the top of the screen there is a input/output field.if the user enters 1 ,then it shoud disply 1 text field under that field,if 2 then 2 textfields ,if 3 then 3 textfields so on...how to achieve this task.please help me out .

Thanks and regards

Naresh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,023

Hi,

The easiest way would be to create the maximum of possible textfield you could use, and set them to invisible if not used...

Kr,

m.

7 REPLIES 7
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,023

Is this a business requirement ?

Kesav

Read only

0 Likes
1,023

yes this is business requirement

thannks and regards

naresh

Read only

Former Member
0 Likes
1,024

Hi,

The easiest way would be to create the maximum of possible textfield you could use, and set them to invisible if not used...

Kr,

m.

Read only

0 Likes
1,023

thanks for your response ,

But screen height is limited,i want to add fields dynamically.

thanks and regards

naresh

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,023

Either you can do as suggested by Manu or try to use editable alv with dynamic fields.

Nabheet

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,023

if 3 then 3 textfields so on

This implies there is no limitation in entering the numeric value as specified by you. If this is not the case then you can do as suggested by Manu.

Keshav

Read only

surajarafath
Contributor
0 Likes
1,023

It is Simple.

Just copy the input/output field and paste it again.

that is two times.

double Click the second one , go to properties -> make it as output field only.

Thanks & Regards,

PlaySuji