‎2009 Feb 05 2:12 PM
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
‎2009 Feb 05 2:26 PM
‎2009 Feb 05 2:40 PM
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
‎2009 Feb 05 2:43 PM
Hi,
Try using SCMS_XSTRING_TO_BINARY. Then see if you can use this in bapi_document_create2.
Regards,
Bert