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: 

ALV output with different Titles

Former Member
0 Kudos
226

Hi,

I have one requirement,that we have set of radibuttons in selection screen.

when we are selecting that radiobutton ALV out put will be displayed.

but user wants the description of the selected radio button in Menu Title Bar of AlV out put.

can any one help me to know ,what is approach to sort this...?

Thanks...

1 ACCEPTED SOLUTION

Former Member
0 Kudos
127

Hello

In form LAYOUT_BUILD add this:


ps_layout-window_titlebar = 'any text'. <= here insert text in dependencies of radiobutton value

4 REPLIES 4

Former Member
0 Kudos
127

Hi

The title BAR can be changed by command SET TITLEBAR, so u need to implement a your routine where to set a title bar, that means:

IF your using OO ALV grid, u can do it in PBO module

IF you're using FM ALV (grid or list) u can set the title bar before calling the fm or u can use the form to SET the pf-status

Max

Former Member
0 Kudos
127

Hi Sekhar,

go through this thread.

also try this code patch.

start-of-selection.

SET PF-STATUS 'MAIN'.

SET TITLEBAR 'TEST'.

write 'hi'.

at user-command.

if sy-ucomm = 'TEST'.

MESSAGE 'HI' TYPE 'I'.

ENDIF.

Regards,

Vijay

Former Member
0 Kudos
127

Hi

Maybe you could create more than one titlebar and put different SET TITLE statements inside conditions of the radiobuttons.

Pushpraj

Former Member
0 Kudos
128

Hello

In form LAYOUT_BUILD add this:


ps_layout-window_titlebar = 'any text'. <= here insert text in dependencies of radiobutton value