Application Development 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: 

Titlebar for the screen to be dynamic!

Former Member
0 Kudos

Hi,

Can we have the GUI status for a screen dynamic.I have constant in my program (no of days) which need to be part of my GUI status (titlebar) for my screen.So that when i change the constant value in my program the titlebar for the screen is automatically updated!

Any input will be highly appreciated...

Thanks!

1 ACCEPTED SOLUTION

Former Member

Hi

Insert & in your titlebar, and then when you set it:

SET TITLEBAR 'XXX' WITH TITLE.

The system'll replace & with the value in TITLE.

So:

If .......

TITLE = ....

else.

TITLE = ....

endif.

SET TITLEBAR 'XXX' WITH TITLE.

If you want to manage more variable part, you can insert &1 &2 ... &5 in titlebar (I believe 5 is max, but i don't remember), and so:

SET TITLEBAR 'XXX' WITH TITLE1 TITLE2.....

4 REPLIES 4

former_member194669
Active Contributor
0 Kudos

Create a titlebar like

& - & - & - &

and call it as

set titlebar 'TITLE_1000' with sy-tcode sy-uname sy-datum sy-uzeit.

Former Member

Hi

Insert & in your titlebar, and then when you set it:

SET TITLEBAR 'XXX' WITH TITLE.

The system'll replace & with the value in TITLE.

So:

If .......

TITLE = ....

else.

TITLE = ....

endif.

SET TITLEBAR 'XXX' WITH TITLE.

If you want to manage more variable part, you can insert &1 &2 ... &5 in titlebar (I believe 5 is max, but i don't remember), and so:

SET TITLEBAR 'XXX' WITH TITLE1 TITLE2.....

0 Kudos

Hi,

Where do I insert '&' ?

Regards,

Nandan

0 Kudos