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

ALV

Former Member
0 Likes
659

Hi all,

I am doing a report using ALV, It is possible to insert a logo in the top of page?

How can I do it? somebody could tell me.

Regards.

MArisol

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
638

Hi,

Refer the following Link

Regards,

Vijay.

Hi,

Refer the following Link

Regards,

Vijay.

4 REPLIES 4
Read only

suresh_datti
Active Contributor
0 Likes
638

Hi Marisol,

Did you try using the i_background_id parameter in the 'REUSE_ALV_GRID_DISPLAY' function?

Regards,

Suresh Datti

Read only

Former Member
0 Likes
639

Hi,

Refer the following Link

Regards,

Vijay.

Read only

Former Member
0 Likes
638

Hi,

Upload and use a picture in your ALV abap reports.

<b>Steps for uploading Logo :-:</b>

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

or

<b>Import Logo and Background Picture for Reporting</b>

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.

<b>From the SPRO:</b>

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

<b>

Activities</b>

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

<b>2.</b> Make sure that the class name is PICTURES, and the class type is OT.

<b>3.</b> Choose Execute.

<b>4.</b> 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.

<b>5.</b> 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.

<b>6.</b> 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.

<b>Example:</b>

FORM TOP_OF_PAGE.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

I_LOGO = 'ENJOYSAP_LOGO'

IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

ENDFORM.

Regards

Sudheer

Read only

Former Member
0 Likes
638

If you are using ALV grid , try using I_CALLBACK_HTML_TOP_OF_PAGE.