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 Text For a TEXT FIELD in Module Pool programming

Former Member
0 Likes
3,579

hi ALL,

I need to pass a text to the TEXT FIELD in a screen of a Module Pool Program based on some conditions in the program. How this can be acheived.

4 REPLIES 4
Read only

Former Member
0 Likes
1,163

Hi Shyam,

Instead of a text field u can go for a Input/Output field, but u need to make that as 2-Dimensional and 'O/p Only'in the properties. Then there is no difference between the two. I have tested that.

Solution Using Input/Output field.

1) Declare a string in your program.

DATA STR(10) TYPE C.

2) In the Screen Layout get that field 'STR' from Program. Using 'Get Elements from Dictionary/Program'.

Then u can change the text Dynamically in that STR and it will reflect in your screen.

<b>Award points if useful.</b>

Sudheer

Read only

Former Member
0 Likes
1,163

Hi,

U have to <b>award points for useful answers</b> and u have to mention it as solved if ur question is solved. Dont forget.

Regards,

Sudheer

Read only

Former Member
0 Likes
1,163

Read only

0 Likes
1,163

U need to <b><u>award points for all the useful replies</u></b>, and also u nees to <b><u>mark it as Answered if ur problem is solved</u></b>.

Regards

Sudheer