Skip to Content
author's profile photo Former Member
Former Member

Company Logo in ALV List Header

Hi,

I have created an ALV list and would like to put our company logo in the header. How can I do this?

Thanks,

Shah.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2008 at 09:08 AM

    Hi,

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

    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.

    Reward points if found helpfull..

    Cheers,

    Chandra Sekhar.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2008 at 04:14 PM

    If you are using Function modules to display (You can also use Class), you will have to use GRID display for displaying the logo. Its not possible in List display.

    Use the Function module REUSE_ALV_GRID_DISPLAY and pass the parameter "I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' ". This TOP_OF_PAGE is the subroutine (FORM - ENDFORM) in which the actual top of page code will be written (for showing the logo).

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

    FORM TOP_OF_PAGE.

    DATA: WA_HEADER TYPE SLIS_LISTHEADER. REFRESH: GT_LIST_TOP_OF_PAGE.

    H = HEADER LARGE FONT, S = STANDARD FONT, A = ITALICS

    WA_HEADER-TYP = 'H'. WA_HEADER-INFO = 'TEST REPORT'. APPEND WA_HEADER TO GT_LIST_TOP_OF_PAGE.

    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING I_LOGO = 'LOGO' IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

    ENDFORM. " TOP_OF_PAGE

    Inside the subroutine, use a sample code like the one above.

    Hope this Helps

    VB

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 07:03 AM

    Hi,

    For those who wish to upload and use a picture in your ALV abap reports.

    Steps for uploading Logo :-:

    1. Goto the transaction OAER

    2. Enter the class name as 'PICTURES'

    3. Enter the class type as 'OT'

    4. Enter the object key as the name of the logo you wish to give

    5. Execute

    6. Then in the new screen select Standard doc. types in bottom window

    Click on the Screen icon

    Now, it will ask for the file path where you have to upload the logo

    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE

    For more information check the following example:

    http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/ABAP/company%20logo%20in%20the%20top%20of%20alv%20report.html

    Regards,

    Bhaskar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 06:50 AM

    Hi,

    Logo is not possible in List display.

    This can be posible only in Grid display.

    Reward points,if it i suseful.

    Thanks

    chandu.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.