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

BackGround Picture

Former Member
0 Likes
766

Hi All,

I want to place the picture in output with simple ALV List report. Is it possible ?

Thanks in advance.

Hi All,

I want to place the picture in output with simple ALV List report. Is it possible ?

Thanks in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
732

Hello Vijay,

You can use picture control to attach a picture to your screen.

Refer this link

1... create a logo using paint shop and save it as tifffile then using RSTXLDMC (is a program name) used to upload logo

2.....create a logo using paint shop and save it as bmpfile then using SE78 you can do this.

Step-by-step guide:

<b>

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIIMAGE/BCCIIMAGE.pdf</b>;

http://www.sap-img.com/human/linking-employee-photos-using-sap-archive-link.htm

Also check demo program:

<b>RSDEMO_PICTURE_CONTROL</b>

<b>DEMO_PICTURE_CONTROL

SAP_PICTURE_DEMO

SAP_PICTURE_DEMO_DRAG_DROP

SAP_PICTURE_DEMO_ICON</b>

regards,

Beejal

**reward if this helps

Read only

Former Member
0 Likes
732

Hi Vijay,

is it the logo u want to insert...then use the fm..

data : ilistheader type slis_t_listheader,

wlistheader type slis_listheader.

wlistheader-typ = 'H' " you can use 'S' and 'A' also.

wlistheader-info = 'Top Of Page'.

append wlistheader to ilistheader.

*

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = ilistheader

    • I_LOGO =

    • I_END_OF_LIST_GRID =

hope this helps u a bit,

all the best,

regards,

sampath

  • mark helpful answers

Read only

amit_khare
Active Contributor
0 Likes
732

Hi,

As far as I know you cannot show picture with simple ALV list unless it is created with OOABAP.

Regards,

Amit

Reward all helpful replies.

Read only

0 Likes
732

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

Here you go !!

&----


*

*& Form TOP_OF_PAGE

&----


  • text

----


FORM F_TOP_OF_PAGE.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = IT_LISTHEADER

i_logo = Logo name

  • I_END_OF_LIST_GRID =

.

ENDFORM. "TOP_OF_PAGE

Read only

Former Member
0 Likes
732

hi

good

try this

  1. GOTO - OAOR (Business Document Navigator)

  2. Give Class Name - PICTURES Class Type - OT..... then Execute

  3. It will show you the list, then select ENJOYSAP_LOGO.

  4. On that list, you will find one control with a "create" tab.

  5. Click std. doc types.

  6. Select SCREEN and double-click.

  7. It will push FILE selection screen.

  8. Select your company logo (.gif) and press OK.

  9. It will ask for a description- for instance: "company logo".

  10. It will let you know your doc has been stored successfully.

  11. You can find your logo under ENJOYSAP_LOGO->Screen->company logo.

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

thanks

mrutyun^