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: 

How to Place a LOGO on Selection screen & Output list -OO ALV

Former Member
0 Kudos

Hi,

I was just wondering can we place a logo on standard Selection screen 1000?

And also on the Output list . I am using OO ABAP for my ALV.

regards

Praveen

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

<i>I was just wondering can we place a logo on standard Selection screen 1000?</i>

This can not be done without really hacking the generated selection-screen. You don't want to go that route.

<i>And also on the Output list . I am using OO ABAP for my ALV.</i>

You can put a logo in the header section of the ALV grid display, but if you do a print preview, it will not be there. If you mean "Output List" as in the list that you see during print preview, then you simply can not put a logo on it. But if you mean just the grid output, then yes you can. Here is a blog which will help you thru it.

/people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

You cannot place a logo in your selection-screen.

But yes, you can place logos in your OO ALV.

data: ws_c_logo TYPE REF TO cl_dd_area.

"Instance for the logo

Split your document container for logo

CALL METHOD wcl_docum->vertical_split

EXPORTING split_area = wcl_docum

split_width = '70%'

IMPORTING right_area = ws_c_logo.

then,

CALL METHOD ws_c_logo->add_picture

EXPORTING picture_id = c_logo.

where: c_logo TYPE sdydo_key VALUE 'CC0040' . "logo for co.code 0040

The image should be stored in your business document. You may use BDS_OBJECT_SAVE or BDS_BUSINESSDOCUMENT_CREATEF to store the image in the business document server and then retrieve in your ALV.

Regards

Subramanian

Former Member
0 Kudos

hi

good

go through this link,i hope this ll help you to solve your problem

/people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid

thanks

mrutyun^