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

XSTRING to PDF or XSTRING to BAPI_DOCUMENT_CREATE2

Former Member
0 Likes
1,583

I am working with an Adobe form. I have the form data coming back to me in an xstring. What I need to do is to convert this xstring to a pdf. How can I do this? If I have it in OTF data then I can handle the conversion but is there a way to go from xstring to OTF?

My end goal is to use BAPI_DOCUMENT_CREATE2 (it creates a DMS document) and use this newly created PDF as a hardcopy, attaching it to the document. Is there a way to just pass the xstring into this BAPI instead of creating the PDF first?

Regards,

Davis

3 REPLIES 3
Read only

faisalatsap
Active Contributor
0 Likes
955

Hi, Davis

Please Go Through The Following Thread Hope will help you,

[Converting XSTRING into PDF|]

May Be following also will be helpful for you.

[BAPI's and Xstrings - does it work? |]

Kind Regards,

Faisal

Edited by: Faisal Altaf on Feb 5, 2009 7:31 PM

Read only

0 Likes
955

Thanks a lot for that link! I searched for over an hour and didn't come across that post. I don't know why I didn't think of the solution, it is quite obvious.

Thanks again!

Davis

Read only

b_deterd2
Active Contributor
0 Likes
955

Hi,

Try using SCMS_XSTRING_TO_BINARY. Then see if you can use this in bapi_document_create2.

Regards,

Bert