on 2005 Jul 27 7:13 PM
Hi Guys,
I am trying to implement the Web Report printing using the white paper on "How to .... enhance Web printing". But when I add the HTML link to the code after including the objects in the "ITEM object" tag, I see a blank page. I mean the link does not take me to the help page where I can set the printing parameters as it should happen. Can some one suggest me if I am missing any step here?
Thanks,
Doniv
Request clarification before answering.
Essential Step:
Did youcopy the two files provided with this paper in the systems transport directory and use transaction SMTS to import them into your system?
The Package contains these objects:
Z_PRINT_HELP_SERVICE
Z_PRINT_HELP_SERVICE
Z_PRINT_HELP_SERVICE_IMP
Z_PRINT_HELP_SERVICE_ALL_DP
Z_PRINT_HTML_TEMPLATE
Z_PRINT_HELP_SERVICE.
It should not have a problem if these HELP files are properly imported. Let me know if you still continue problems.
Pete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doniv, This is what Bhanu is talking about. I guess. Let me know this might be an option.
In the header area of the template implement the JavaScript function that handles your customer defined menu entries.
-
Sample script----
<script language=javascript>
function callPrintHelpService(parameter, cell_type, filter, parameter1, parameter2, item, dataprovider, x, y) {
var url = SAP_BW_URL_Get();
url = url + "&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZPRINTING&ITEM=Table_1";
if( dataprovider == "DataProvider_1") window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes"); }
</script>
Hi Doniv,
For this you would need to make a couple of changes to the Z_PRINT_HTML_TEMPLATE file that you imported, and to some methods of the Z_PRINT_HELP class...even after that it is not straightfoward for the end user to use. I think there was an article in BW expert on the same.
Hope this helps...
Hi Guys, I am posting the code section where I modified the HTML code of the web report. Could some one please suggest me if there is something I am missing here for me to get the page to enable the web printing.
thanks,
Doniv
<BODY>
<P><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="HELP_SERVICE" value="ZPRINTING"/>
<param name="HELP_SERVICE_CLASS" value="Z_PRINT_HELP_SERVICE"/>
ITEM: TABLE_1
</object></P>
<A href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="Table_1">">Print</A>
</BODY>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.