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

REUSE_ALV_COMMENTARY_WRITE

Former Member
0 Likes
1,674

Hello,

I'm using this function module successfully to display my report title and logo. My problem is the report title from the attributes is also displaying in between the menu toolbar and the application toolbar. Is there some way to suppress this?

Regards,

JR

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,647

I think I know what you are talking about now. You mean the title bar, right?

Regards,

Rich Heilman

Hello,

I'm using this function module successfully to display my report title and logo. My problem is the report title from the attributes is also displaying in between the menu toolbar and the application toolbar. Is there some way to suppress this?

Regards,

JR

12 REPLIES 12
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,647

Are you using the extention of the REPORT statement, NO STANDARD PAGE HEADING? If not, try that.

Regards,

RIch Heilman

Read only

Former Member
0 Likes
1,647

Thank you for the quick reply. Yes, that is the first thing I tried but it's not that.

Read only

0 Likes
1,647

When you say between menu & application toolbar...Do you mean that of the screen...?

IF Use the statement

<b>set titlebar 'MY_TITLE'.</b> before grid is displayed ..

Double click on MY_TITLE and create title bar with appropriate description..

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,648

I think I know what you are talking about now. You mean the title bar, right?

Regards,

Rich Heilman

Read only

0 Likes
1,647

Looks like the best you can do is to override it, but it must have something, you can't leave it blank.

Just before calling the function module to display the ALV grid, set the titlebar. Create the titlebar CHECK, and in the title put, &1 Then when calling the title, here I'm using a underscore. I don't see any other way to do what you want. If you make is blank, it will display SAP R/3.

  set titlebar 'CHECK' with '_'.

Regards,

Rich Heilman

Read only

0 Likes
1,647

Vijay, I justed tested your suggestion, when setting to space, it defaults to the title of the attributes of the program. Do you have this working in your system?

REgards,

Rich Heilman

Read only

0 Likes
1,647

Hi Rich,

i thought it will be space, so in that case we need to set some thing in that, that will be going to stay till the end, not the one we gave in creation..

regards

vijay

Read only

Former Member
0 Likes
1,647

Yes, the title is displaying there as if this were a standard report and not ALV.

Read only

Former Member
0 Likes
1,647

Yes ,

you can do that..

<b>layout-window_titlebar = ' '.</b>

if you don't want any title.

if you want some thing then

<b>layout-window_titlebar = 'something '.</b>

it is similar to set titlebar.

pass the layout to FM.

regards

vijay

Read only

Former Member
0 Likes
1,647

Vijay,

Thank you. I tried layout-window_titlebar = ' ' but the title still shows up. I really thought that one was going to be a winner. The strange thing is there is a guy sitting next to me who is using the same FM in the same way and he does not display the title bar. He has the standard toolbar sitting right above the application toolbar. No title bar! Can this be some windows setting because he can't explain it either?

Read only

Former Member
0 Likes
1,647

Well guys, it looks there is nothing that can be done programmatically. I think this is a SAP GUI issue. Bottom line is this...the title bar stays and if it bothers the user than tough s*it. Thanks for your attention to this issue.

JR

Read only

0 Likes
1,647

Hahahah.. I'm with you Joseph. The user should probably be focusing on running the business instead of worrying about what is written at the top of the screen. Thanks for the morning chuckle. If you found any answers helpful, please make sure to award appropriate points and mark you post as solved. Thanks.

Still laughing........:)

Regards,

Rich Heilman