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: 

Changing title bar of ALV list

Former Member
0 Kudos

Hi,

I am using the function module REUSE_ALV_LIST_DISPLAY to display an ALV list, but the title on the ALV screen is same as the selection screen title.

How can i change this title on the title bar ?

<b>( i dont require title in top of page but in screen's title bar )</b>

Thanks,

vartika

3 REPLIES 3

Former Member
0 Kudos

while setting PF_STATUS set the title also using SET TITLE

DATA: title TYPE string,

prog TYPE string,

p1 TYPE c LENGTH 10,

p2 TYPE c LENGTH 10.

...

MODULE status_0100 OUTPUT.

...

title = 'TITLE_0100'.

prog = '...'.

p1 = '...'.

p2 = '...'.

SET TITLEBAR title OF PROGRAM prog WITH p1 p2.

...

ENDMODULE.

Former Member
0 Kudos

HI

use this

<b>SET TITLEBAR - Liste</b>

SET TITLEBAR title [OF PROGRAM prog]

[WITH text1 ... text9].

1. ... OF PROGRAM prog

2. ... WITH text1 ... text9

During list processing, this statement sets the GUI title, specified in title, for the display window of the current list level and all following list levels up to the next statement SET TITLEBAR. The statement has - for the most part - the same syntax and semantics as for screens.

In contrast to the screens of dynpros, each list level automatically remains linked to the title set for it. When you return from the display of a higher list level to the display of a lower list level, the latter is displayed with the title that was set for it.

Addition 1

... OF PROGRAM prog

Addition 2

... WITH text1 ... text9

DATA: title TYPE string,

prog TYPE string,

p1(10) TYPE c,

p2(10) TYPE c.

...

MODULE status_0100 OUTPUT.

...

title = 'TITLE_0100'.

prog = '...'.

p1 = '...'.

p2 = '...'.

SET TITLEBAR title OF PROGRAM prog WITH p1 p2.

...

ENDMODULE.

0 Kudos

Hi naresh, i am not using module pool but an interactive alv report.

Also set titlebar was not working for the alv screen.

But the problem is solved now using is_layout.

Anyways, thanks for your suggestion

vartika