‎2007 Sep 08 12:13 PM
I want to upload company logo in ALV. its displaying the logo in black in alv output. Any suggestion on this.
Thanks
‎2007 Sep 08 12:43 PM
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.
‎2007 Sep 08 7:35 PM
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
‎2007 Sep 08 3:09 PM
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
‎2007 Sep 09 6:08 PM
Hi all,
Its uploading the image in OAOR correctly. But its not displaying in ALV output.
Thanks for any suggestion.
‎2007 Sep 09 6:49 PM
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