2007 Feb 16 3:36 AM
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.
2007 Feb 16 3:45 AM
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
2007 Feb 16 3:45 AM
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
2007 Feb 16 3:47 AM
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.
2007 Feb 16 3:53 AM
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
2007 Feb 16 4:05 AM
hi
good
try this
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.
Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
thanks
mrutyun^