12-14-2006 6:55 AM
Hi ,
how to Upload logo In ALV reports Either Funcation Module or any T-Code
In Funcation Module which parameters pass it ....let me know.....
Kind Regards
Arief .S
12-14-2006 6:58 AM
Hi ,
how To Create in Radio Button and Check Box In Alv Reports give me Some Example ....
Kind Regards
Arief .S
12-14-2006 7:13 AM
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
12-14-2006 8:05 AM
Hi,
PFB the steps,
HI,
Please follow below steps
(1)Create a class name
SBDSV1 (TRANSACTION) --> New Entries --> Class name (SOME NAME) --> Class type (OT).
2)After entering the above details and saving, the fields Class object name fields will be blank, make entries as shown below .
1) Class : BDS_LOC1
2) Class : BDS_POC1
3) Class : BDS_REC1
4) Object name : BDS_CONN00
3)- Now next time logging in to OAOR you can directly refer to this Class name.
4)1) Go to transaction OAOR, give the class name created.
2) Give class type as OT
3) Give some name in object key its like sub folder
5) a) Click on create drag down standard doc types will get no. of option chose one
b) double click on the class name in this new screen.
c)in the below screen are, you have tabs for details,documentinfo,keywords,create, click on create TAB,
d)By double clicking on screen you can browse the folder where image is located and select it
e)Once the image is selected it will be stored in the folder that is created with object key
6) now double click on the image you uploaded & in below screen area select the Details tab, you will get object id,use this object id & code as below
7)form FILL_EVENTS .
DATA: wa_events TYPE SLIS_ALV_EVENT.
CLEAR: LS_EVENTS.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
IMPORTING
ET_EVENTS = LS_EVENTS
.
wa_events-form = 'STD_TOP_OF_PAGE'.
MODIFY ls_events FROM wa_events TRANSPORTING FORM WHERE NAME =
'TOP_OF_PAGE'.
CLEAR: wa_events.
endform. " FILL_EVENTS
FORM STD_TOP_OF_PAGE.
DATA: it_listheader TYPE SLIS_T_LISTHEADER,
is_listheader TYPE SLIS_LISTHEADER.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader[]
I_LOGO = 'ZTEST' "this is object id mentioned in 6 step
I_END_OF_LIST_GRID =
.
ENDFORM.
Regards,
Raghavendra
02-25-2008 10:04 AM
Hi if u want to upload a logo in an alv report use this function module cl_gui_commentary_write and use this t-code also OAER
02-25-2008 10:05 AM
better use reuse_alv_commentary _write along with t t-code this useOAER
04-09-2008 7:46 AM
Write the code in Top-of-Page event in ALV.
The following code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION
'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'.
If you want to upload your own logo the upload that logo in sap in .tiff format.
I think this will solve your problem. If you have problem in uploading the logo in sap . please let me know.