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 write code to change lable

Former Member
0 Likes
651

Dear All

How do i write code which after a condtion has met should change the lable on the screen.

Thanks in advance

William

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
624

Hi Friend,

Declare a global variable (ex: WS_VAR) type C length 100.

Pass the default text at first to display. WS_VAR = 'Default Text'.

Use this variable to display in report/dialog program.

After some condition met, pass another text to this variable.

WS_VAR = 'Another Text'.

Hope it will help you.

Regards

Krishnendu

5 REPLIES 5
Read only

Former Member
0 Likes
624

William

Define, GUI-Title and set it un PBO...

Regards,

Mahesh

Read only

Former Member
0 Likes
624

hi,

You can set label by this command.

SET GUI-TITLE 'title'.

And If any point you want to extract the Title use.

Sy-title.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
624

use:

SET GUI-TITLE 'TITLE'."should be in caps

Read only

Former Member
0 Likes
625

Hi Friend,

Declare a global variable (ex: WS_VAR) type C length 100.

Pass the default text at first to display. WS_VAR = 'Default Text'.

Use this variable to display in report/dialog program.

After some condition met, pass another text to this variable.

WS_VAR = 'Another Text'.

Hope it will help you.

Regards

Krishnendu

Read only

Former Member
0 Likes
624

Thanks

Regards

William Mutero