cancel
Showing results for 
Search instead for 
Did you mean: 

CFX_API_DOC_DOCUMENT_WRITE -Upload issue

Former Member
0 Kudos

Hi,

I am working on a ABAP WD Application which has a Interactive form.After user inputs and clicks submit it is sending an email.Now I also want store the same pdf in cfolders-Design Collaboration .

For this I have PDFobject of XSTRING which holds the pdf in Click event.Now I need to convert this pdf object to PDF and store it in Cfolders.

For this I have gone through Cfolder APIs,

CFX_API_COL_GETDETAIL

CFX_API_GET_FOLDER_BY_PATH

CFX_API_DOC_CREATE

CFX_API_DOC_DOCUMENT_WRITE

In last step (CFX_API_DOC_DOCUMENT_WRITE) while writing I need to pass this PDF form .But I just have pdfobject How do we convert to Physical PDF?

Could you help me out here?

Edited by: Vara K on May 13, 2009 8:16 PM

Edited by: Vara K on May 13, 2009 8:40 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vara,

Try the SCMS_XSTRING_TO_BINARY function module before you call CFX_API_DOC_DOCUMENT_WRITE. The it_content shoul be declared TYPE STANDARD TABLE OF sdokcntbin.

Hope it helps.

Regards,

Ricardo.