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: 

how to create background image for ALV

Former Member
0 Kudos

Hi All,

Can anybody tell how to create background image for ALV. For Example

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_BACKGROUND_ID = 'ALV_BACKGROUND'

i_buffer_active = 'X'

I_CALLBACK_PROGRAM = G_REPID

Here i used 'ALV_BACKGROUND' . How to create this with any other thing i want. I want to use my interseted jpeg or bmp as background.

Regards

Prashanth

7 REPLIES 7

hymavathi_oruganti
Active Contributor
0 Kudos

1. place the figure on the desktop first.

2.u can create that in tcode

OAER.

fill fields in OAER as follows , go inside, upload picture

class:pictures

type: OT

place cursor on ALV_BACKGROUND

IN THE DOWN WINDOW,click to the left oF STANDARD DOC,

u will get the folders under it , in that double click on screen. u will get a browser to the PC.now upload the

figure u needed to upload.

0 Kudos

I have up loaded one back ground explaining the business process in the same way, iam was to get the background in IDES. But iam not able to get in my development client. Would u please help me to come out of this problem.

Regards,

Narmadh Kumar Reddy.K

0 Kudos

I have up loaded one back ground explaining the business process in the same way, I was able to get the background in IDES. But iam not able to get in my development client. Would u please help me to come out of this problem.

Regards,

Narmadh Kumar Reddy.K

Former Member
0 Kudos

1. place the figure on the desktop first.

2.open tcode OAER.

fill fields in OAER as follows , go inside, upload picture

class:pictures

type: OT

place cursor on ALV_BACKGROUND

IN THE DOWN WINDOW,click to the left oF STANDARD DOC,

u will get the folders under it , in that double click on screen. u will get a browser to the PC.now upload the

figure u needed to upload.

Ramesh

0 Kudos

after uploading picture how can i identify that picture to use in ALv background. from where i can find it in sap. suupose i have upload untitled.bmp now i want to use it how can i?

Former Member
0 Kudos

Hi,

Check the link which is related to background image for ALV.

http://www.sap-img.com/fu002.htm

Regards,

Goutam Kolluru.

0 Kudos

First go to OAER transaction code,

1. Select Class name as PICTURES

2. Class type as OT

click on execute

In the Description screen, select ALV_BACKGROUND

Then in the CREATE tab below the Description screen, double click on the SCREEN, it asks for the file. Select an image of your choice to be used in the ALV report.

Then in the ALV REPORT program in the function module call



CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
Exporting
      I_BACKGROUND_ID                   = 'ALV_BACKGROUND'
      I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'

DATA: gt_list_top_of_page TYPE slis_t_listheader.
*&---------------------------------------------------------------------*
*&      Form  TOP_OF_PAGE
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
FORM top_of_page.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
  EXPORTING
    it_list_commentary       = gt_list_top_of_page
   I_LOGO                   = 'ENJOYSAP_LOGO'
*   I_END_OF_LIST_GRID       =
*   I_ALV_FORM               =
          .



ENDFORM. " TOP_OF_PAGE

in the function module call i have shown only two parameters, you need to make use of all other required parameters like program name, structure name, layout, fieldcatalog, internal table, etc.,

This works fine. i have tested this and then i am posting it here.