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: 

change title of a report during run-time

Former Member
0 Kudos

Hello gurus,

I have title which is french at the top of my screen.

When I click on a button, all the texts that are on my screen change language automatically.

I set the language and write again all the text.

However, my title bar is not changing.

I have changed the value of sy-title, but it won't work.

Can anybody help me please.

Thanks a lot.

Parvez

9 REPLIES 9

Former Member
0 Kudos

Hi,

Go to attribute of the program and change the Title field.

Former Member
0 Kudos

Hi,

Create a variable to display the title.

Cheers.

...Reward if useful.

Former Member
0 Kudos

In the PBO of the screen, set the title using the statement, SET TITLEBAR 'ZTITLE'

0 Kudos

Hi Rajesh,

I am in a report. So how do I get a PBO to set the title bar??

Using variables did not help either and I need to change the title within the program itself, while it is running. thanks anyway

0 Kudos

The statment works in report program also, set the title bar using the statement

SET TITLEBAR 'TITLE' in the event AT SELECTION-SCREEN OUTPUT.

0 Kudos

Hi rajesh,

when I click on the button which is on my output, the at selection-screen output is not executed again.

So it does not change the title.

0 Kudos

If you create a button on the Application tool bar of the selection screen using the statement SELECTION-SCREEN: FUNCTION KEY 1. the event AT SELECTION-SCREEN OUTPUT will be called everytime the button is clicked, check if this helps. Also check the demo program

demo_sel_screen_function_key.

Edited by: Rajesh on May 19, 2008 6:34 PM

0 Kudos

Did not work. And finally I'm displaying both text at the same time.

Thanks to all those who helped.

Former Member
0 Kudos

hi

do one thing write once SET TITLEBAR 'TITLE' in the event AT SELECTION-SCREEN OUTPUT.

and again write SET TITLEBAR 'TITLE' , just before while ur displaying the output .

i think it will work

cheers

snehi chouhan