Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: Grid Applet Printing

$
0
0

Hi Raju,

I'm afraid when you do a print from IE, it will print the applet as a "picture" on the page.  If you want to print the contents of the grid, you have one of two options, but both will need to be executed using javascript (typically a button):

 

Option 1:

call a transaction which processes the same query but generates a pdf document with the data.  This PDF doc is then stored somewhere within the wwwroot directory and the transaction then returns the URL to the pdf document.  You can then open this URL from the web page when the transaction has executed successfully.

 

Option 2:

you can simulate what you'd do when you test the query from the workbench using the url that generates the html page.  If this isn't good enough and you want to print something that resembles a report which they print and then take to a meeting (why give them a computer???), then I'm afraid you will have to build an irpt file which does a <Servlet> request and formats the xml data using an xsl file.  Fun, but probably the answer to your problems...


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>