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: 

problem in Printing the logo in alv grid report

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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