This website is not affiliated with, sponsored by, or approved by SAP AG.

printing logo from ALV

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

printing logo from ALV

Postby sapmanie » Thu Dec 04, 2003 5:16 am

Let me start by saying I've used search and there are no answers there to this - ok?!

I have a very simple ALV. The 2 important FMs I'm using are: REUSE_ALV_GRID_DISPLAY and REUSE_ALV_COMMENTARY_WRITE.

REUSE_ALV_COMMENTARY_WRITE defined as:
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE
I_LOGO = 'ENJOYSAP_LOGO'.

It displays fine, but will not print the logo. Also, the text formatting you get with REUSE_ALV_COMMENTARY_WRITE also disappears.

In fact, I know REUSE_ALV_GRID_DISPLAY gets "translated" into REUSE_ALV_LIST_DISPLAY during printing and REUSE_ALV_LIST_DISPLAY cannot display a logo - so is it possible at all to print a logo from ALV???

If I do a right-click on the ALV header and click print, it will print the formatted header + logo, but obviously this is pretty meaningless for ordinary report printing. Thks.
sapmanie
 

Postby tooth&nail » Fri Dec 05, 2003 5:00 am

It is not possible to print a logo with REUSE_ALV_COMMENTARY_WRITE because, as u say, REUSE_ALV_GRID_DISPLAY gets translated into REUSE_ALV_LIST_DISPLAY during printing, and that FM does not support pictures.

I don't think it's possible to print logos from ALV - just display them on screen.
tooth&nail
 

Postby house mouse » Mon Dec 08, 2003 8:18 am

Hi

It is not possible to print pictures\logos from ALV. The logos on ALV grids are only for screen display. Headed paper is the only alternative.
I'm not sure if it's even possible to print the background picture.
house mouse
 

alv logo printing possible

Postby dineshkumar » Sat Aug 14, 2004 8:31 am

hi
every one its possible printing logo in alv.the container class must having HTML header in its top.then while passing set_table_* do its own work
dineshkumar
 

Re: alv logo printing possible

Postby Guest10 » Wed Oct 27, 2004 5:53 pm

Could you please send an example?
Guest10
 

Re: alv logo printing possible

Postby ress » Mon Jun 27, 2005 9:33 pm

how to print my company logo in alv report?
let me know.
ress
 


Return to ABAP

Who is online

Users browsing this forum: Google [Bot] and 9 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.