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

Adding Image to block list ALV

Former Member
0 Likes
756

Hello Guys,

As the heading says, I need to know how to display an image in Block list alv report. I tried using the FM reuse_alv_commentary_write, but it is not working properly. Kindly help

thanks in advance

Hello Guys,

As the heading says, I need to know how to display an image in Block list alv report. I tried using the FM reuse_alv_commentary_write, but it is not working properly. Kindly help

thanks in advance

4 REPLIES 4
Read only

former_member204556
Participant
0 Likes
715

Hi Srihari,

please use the following procedures

Upload image for REUSE_ALV_COMMENTARY_WRITE

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 image 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 image

7.  Now you can use this image in REUSE_ALV_COMMENTARY_WRITE

or

Import Logo and Background Picture for Reporting

In this step, you can import a customer-specific logo and a background picture into the R/3 System. These will be displayed in the header area of reports in HR Funds and Position Management.

From the SPRO:

HR Funds and Position Management --> Dialog Control --> Customize Reporting Interface --> Import Logo and Background Picture for Reporting.

Activities

1. Enter the Name of your logo/background picture as an object key in the initial screen.

2. Make sure that the class name is PICTURES, and the class type is OT.

3. Choose Execute.

4. Double-click the document type Picture on the Create tab page.  A dialog box will appear in which you can enter the path in which the logo/background picture can be found.

5. Enter the path and choose Open.  The logo will be uploaded into the current R/3 System. If the logo/background picture is to be transported into other systems as well, choose Transport.

6. Return to the initial screen and repeat the procedure after having entered the Name of your background picture as an object key.

Please note that the logo/background picture can only be displayed in ALV-based reports with an HTML header. Manually programmed reports such as business distribution plans are not based on the ALV.

If you have selected several initial objects, ALV-based reports in HR Funds and Position Management will automatically use a hiearchical-sequential display. A logo is not displayed here either. Note also that the logo cannot be printed (see print preview in program).

Make sure that the logo does not exceed a height of 100 pixels because it would mean that the header of the report will be scrollable.

Regards,

Shrusti

Read only

0 Likes
715

hello Shrusti,

Thank you for the quick reply.

I uploaded the image in OAER transaction but when i used the reuse_alv_commentary_write in the TOP_OF_PAGE event of block list alv, it is not showing the image.

Read only

0 Likes
715

What is the image size? Check out..

Read only

0 Likes
715

It is 12 KB and the dimension is 60 X 71 pixels. It is a PNG image