2015 Jul 16 9:15 AM
2015 Jul 16 10:29 AM
It is not possible. HTML / Javascript needs GUI to be processed. So cannot be run in background.
Can you explain your requirement? What is the need to run HTML in background?
R
2015 Jul 16 10:38 AM
i want to generate a PDFin background out of a layout which consists of input fields , fusion charts in different positions in page .
2015 Jul 16 10:42 AM
So that means you will save the PDF to somewhere? or Mail it to someone? Why do you need HTML for that?
2015 Jul 16 10:49 AM
i will take the PDF content and forward to respective person , i will design my layout in web using elements like fusion charts input fields . at the time of converting this layout into PDF , my first step is generating HTML page for that one and then i will use JS PDF to convert this HTML content into PDF.
2015 Jul 16 10:57 AM
That means you may not need to display the HTML file the way you have put this query.
Anyway. Have you written the program already and is it working in Foreground?
Then we can think about running that in background.
2015 Jul 16 11:09 AM
yes its working in foreground using html viewer and we raised an SAP event at the time of load which give us HTML string .
2015 Jul 16 11:19 AM
Can you paste the screenshot of your output that you see in Foreground?
2015 Jul 16 12:12 PM
2015 Jul 16 1:46 PM
Hi thanks.
But where is the PDF in it? You can save the PDF in background in a table or in your content server or in application server/ GOS.
As I have already said, HTML output cannot be displayed in background/Spool, I would say you create separate utility program to display it when user runs the utility program in foreground. Get the PDF from your storage.
Sorry may not not be able to give a solution to what you want , as it is not possible as per me.
R