09-26-2008 6:13 AM
Dear All ,
I want to print my company logo in an alv grid .
I am able to dispaly it in the header of alv grid by top-of-page event by call the FM "reuse_alv_commentary_write" , But while taking print-out it's not coming . If any body has any solution for this , please reply soon.
09-26-2008 6:22 AM
hi...
Sample Code to print a logo.
DATA :
fs_header TYPE slis_listheader,
i_header TYPE slis_t_listheader.
fs_header-typ = 'H'.
fs_header-info = text-001.
APPEND fs_header TO i_header.
CLEAR fs_header.
fs_header-typ = 'S'.
fs_header-info = text-001.
APPEND fs_header TO i_header.
CLEAR fs_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_header
i_logo = 'ENJOYSAP_LOGO'
I_END_OF_LIST_GRID =...
thanks
nikita
09-26-2008 6:24 AM
for further question on alv u can check this link too...
http://www.sapdevelopment.co.uk/reporting/alvhome.htm
thanks...
nikita
Edited by: nikita mishra on Sep 26, 2008 7:25 AM
09-26-2008 7:43 AM
Dear Nikita ,
Thanks fro ur reply , But I have already used that FM ,
The logo is getting displayed in the report header , But while taking the print-out , all the data are gatting printed except the logo . so can u suggest any other solution for this.
regards
Amar
09-26-2008 6:39 AM
Hi,
Kindly Check both the links given below.
[http://www.sap-img.com/fu002.htm]
[http://www.sap-img.com/abap/alv-logo.htm]
Regards,
Amit.
Edited by: AMIT BISHT on Sep 26, 2008 7:44 AM