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: 

logo in alv tree view control

Former Member
0 Kudos

Hi all

I am trying to display a logo in alv tree control but I am not getting it on the screen.I am using the below code.If I am using the logo 'ENJOYSAP_LOGO' in place of S:\Scope A\NebankGroupBranding\Corporate Logo Formats\bmps\3.bmp then i can see it on the screen.Will u please tell me what is the actual problem and how i can solve it.

data: lt_list_commentary type slis_t_listheader,

l_logo type sdydo_value.

perform build_comment using

lt_list_commentary

l_logo.

form build_comment using

pt_list_commentary type slis_t_listheader

p_logo type sdydo_value.

data: ls_line type slis_listheader.

  • LIST HEADING LINE: TYPE H

clear ls_line.

ls_line-typ = 'H'.

  • LS_LINE-KEY: NOT USED FOR THIS TYPE

ls_line-info = prg_name. "#EC NOTEXT

append ls_line to pt_list_commentary.

p_logo =

' S:\Scope A\NebankGroupBranding\Corporate Logo Formats\bmps\3.bmp'.

endform.

Thank you.

Regards

Giri.

1 ACCEPTED SOLUTION

Former Member

Hi giri,

<b>The picture must be uploaded into transaction OAOR with classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions.</b>

In the transaction OAOR, you should be able to insert your company Logo.

  1. GOTO - OAOR (Business Document Navigator)

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

  3. It will show you the list, then select ENJOYSAP_LOGO.

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

  5. Click std. doc types.

  6. Select SCREEN and double-click.

  7. It will push FILE selection screen.

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

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

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

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

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

1 REPLY 1

Former Member

Hi giri,

<b>The picture must be uploaded into transaction OAOR with classname 'PICTURES' AND TYPE 'OT' to work with ALV GRID Functions.</b>

In the transaction OAOR, you should be able to insert your company Logo.

  1. GOTO - OAOR (Business Document Navigator)

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

  3. It will show you the list, then select ENJOYSAP_LOGO.

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

  5. Click std. doc types.

  6. Select SCREEN and double-click.

  7. It will push FILE selection screen.

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

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

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

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

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