Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Converting PDF to xstring

Former Member
0 Likes
5,558

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

3 REPLIES 3
Read only

Azeemquadri
Contributor
0 Likes
2,395

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

Read only

Former Member
0 Likes
2,395

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

Read only

Former Member
0 Likes
2,395

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.