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

LOGO Upload problem

Former Member
0 Likes
567

I want to upload company logo in ALV. its displaying the logo in black in alv output. Any suggestion on this.

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
537

GOTO - OAOR (Business Document Navigator)

Give Class Name - PICTURES Class Type - OT..... then Execute

It will show you the list, then select ENJOYSAP_LOGO.

On that list, you will find one control with a "create" tab.

Click std. doc types.

Select SCREEN and double-click.

It will push FILE selection screen.

Select your company logo (.gif) and press OK.

It will ask for a description- for instance: "company logo".

It will let you know your doc has been stored successfully.

You can find your logo under ENJOYSAP_LOGO->Screen->company logo.

Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.

FORM TOP-OF-PAGE.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = HEADING[]

I_LOGO = 'ENJOYSAP_LOGO'

I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.

.

ENDFORM. "TOP-OF-PAGE

Here 'ENJOYSAP_LOGO' will replace by ur created logo.

Refer this link

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm

http://www.sap-img.com/abap/alv-logo.htm

http://www.sap-img.com/fu002.htm

regards,

Prabhu

reward points if it is helpful.

Read only

0 Likes
537

Hi all together,

if you don't know better, do as proposed.

But seriously: Who wants and who will expect to use a company logo using the name ENJOYSAP_LOGO?

We do not.

With a slight difference, do as recommended by prabhu jayaraman:

The difference is: OAER or OAOR Give Class Name - PICTURES Class Type - OT and OBJECT KEY Z_MY_COMPANY_LOGO.

The rest is the same. But now you get company logo for the access using the name Z_MY_COMPANY_LOGO.

[It's embarrassing: It took me some days to find out thats it is that simple ]

Regards,

Clemens

Read only

Former Member
0 Likes
537

Prabhu,

I did the same for uploading the LOGO. But its displaying the logo in black. File format matters on this .Pls suggest.

Thanks in advance

Read only

Former Member
0 Likes
537

Hi all,

Its uploading the image in OAOR correctly. But its not displaying in ALV output.

Thanks for any suggestion.

Read only

0 Likes
537

Hi kannan,

in ALV, how do you pass the logo information?

You must use the OBJECT KEY name as seen in OAOR, not the pictures name.

Regards,

Clemems