‎2013 Jan 12 8:56 AM
Hi All,
I need to integrate the adobe form with a web dynpro component so that when the user clicks on print preview on the portal, our ZAdobe form is triggered.
To integrate it with the web dynpro component, i require a FM which gives the xstring value of the PDF.
I have written a print program which creates a spool request job when it is triggered.
How to get the spool id with the help of the sales order document number ? Is there any other way to get the specific spool id dynamically ?
Using this spool id, which contains the PDF, I will be converting it into xstring.
Kindly help..
Thank & Regards,
Chaitanya
‎2013 Jan 15 11:33 AM
The spool id is in sy-spono.
The table for spool number is TSP01.
More info:
http://wiki.sdn.sap.com/wiki/display/ABAP/Getting+Spool+Request+Number+for+the+Output+type
‎2013 Jan 15 12:53 PM
Hi Chaitanya,
Use JOB_OUTPUT_INFO TYPE SSFCRESCL which contains the Spool ID number. The interface created should be Smartforms compatible.
Hope this helps.
Thanks,
Tooshar Bendale
‎2013 Jan 15 2:08 PM
Hi Chaitanya,
You can use the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert PDF data that you get from OTF_CONVERT to xstring using spool no.
Please have a look at this:http://scn.sap.com/message/7866535
Reward if helpful.
Regards,
Mahidhar.