cancel
Showing results for 
Search instead for 
Did you mean: 

regarding printing of the web template

Former Member
0 Kudos

HI BW Guru's,

Currently I am working on a webtemplate. it is working fine. I did not place any print option in the web template. When I try to print the web report the thru IE, the web report is printing well. But If the query results exeed more than one page, for the first page the headers are being displayed, but for the second page the headers are not printed.

Can you one suggest me how to get the heading for the next pages as well.

Thanks in Advance,

Dilse...

Harish

Accepted Solutions (1)

Accepted Solutions (1)

former_member188975
Active Contributor
0 Kudos

Hi Harish,

Take a look at this doc to get started:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to enhance web printing

There are a lot of discussions on this forum about web printing too. Try a search and it will give you a lot more info.

Hope this helps...

Answers (1)

Answers (1)

Former Member
0 Kudos

if you are not using SAP Print functionality by calling the javascript function sap_print with parameters then you have to use this to achive your requirement.

below is code for the function,

here u can see number of parameters are passed like queryname, user, infocube etc...

this function u have to call from link in ur web template.

reward if helps.

function sap_print()

{window.open(SAP_BW_URL_Get()'&CMD=PROCESS_HELP_WINDOW&help_service=ZPRINTING&item=GR1Table&P_HEADER_HEIGHT=0.00&P_HEADER_INDENT_LEFT=0.00&P_HEADER_INDENT_RIGHT=0.00&P_DATA_AREA_PADDING_TOP=0.30&P_DATA_AREA_INDENT_LEFT=0.00&P_DATA_AREA_INDENT_RIGHT=0.00&P_DATA_AREA_ROWS=32&P_DATA_AREA_COLUMNS=6&P_FOOTER_HEIGHT=0.25&P_FOOTER_INDENT_LEFT=0.00&P_FOOTER_INDENT_RIGHT=0.50&P_DATA_AREA_PADDING_TOP=0.30&P_DATA_AREA_INDENT_LEFT=0.00&P_PREVIEW_MODE=""&P_FOOTER_RIGHT='SYUSER + '&P_HEADER_LEFT='+REPTXTLG +

'&P_FOOTER_LEFT=' +INFOCUBE );

}