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

Display logo on screen in ALV Report.

Former Member
0 Kudos
1,633

Hello ,

I want to change the logo displayed in ALV report on screen.

I have imported logo from SE78 as BMP image.

The logo imported successfully.And it can be seen in SE78.

But when i replace the old logo name with new logo in function module

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = LIST_TOP

I_LOGO = 'ENJOYSAP_LOGO'.

The logo is not getting displayed on screen.The dimensions and other parameters of old and new logo are same.

What needs to be done to resolve this problem?

Regards,

Deepak.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
1,147

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.

Use the TOP-OF-PAE event.

FORM top_of_page.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = gt_page

i_logo = 'ENJOYSAP_LOGO'.

ENDFORM. "top_of_page

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

Cheers!

4 REPLIES 4
Read only

Mohamed_Mukhtar
Active Contributor
0 Kudos
1,147

hi ,

Transaction OAER is used to upload logo's into the ALV's.

SE78 is used to upload logos for SAP SCRIPS and SMARFTFORMS.

Thanks & Regards

Read only

Former Member
0 Kudos
1,148

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.

Use the TOP-OF-PAE event.

FORM top_of_page.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = gt_page

i_logo = 'ENJOYSAP_LOGO'.

ENDFORM. "top_of_page

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

Cheers!

Read only

former_member206439
Contributor
0 Kudos
1,147

Hi

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

Read only

Former Member
0 Kudos
1,147

Hi Deepak,

Just check this thread

Thanks

Nitesh