Skip to Content
author's profile photo Former Member
Former Member

Online Adobe WD ABAP-PDF render operation exception, InvalidXDPException

Hi,

I have a online interactive form in WD ABAP. I want to save this form in background in a spool. For this, I am using methods of the inteface IF_FP_PDF_OBJECT. Here is my code.

  • Get Template

try.

cl_fp_wb_helper=>form_layout_exists( i_name = p_xdp ).

catch cx_fp_api_usage.

catch cx_fp_api_repository into l_except.

if l_except->textid =

cx_fp_api_repository=>object_already_exists.

l_xdp = cl_fp_wb_helper=>form_layout_url( i_name = p_xdp

i_dest_path = 'X' ).

endif.

endtry.

l_pdfobj->set_template( xftfile = l_xdp ). " Set Template

l_pdfobj->set_data( formdata = lv_pdfstring ). " lv_pdfstring is the pdfsource on adobe UI Element

l_pdfobj->set_task_renderpdf( ).

l_pdfobj->set_task_renderpdl( pdltype = 'pdf'

xdcname = l_xdcname ).

l_pdfobj->execute( ). " Execute

call method l_pdfobj->get_pdl

importing pdldata = out_pdldata

renderpagecount = pdlcount.

For the execute method, I get the exception ADS: com.adobe.ProcessingException: XMLFM Exception - PDF render operation exception, reason code: 0 : InvalidXDPException: Unsupported file format(200101).

Does anyone know what is wrong here?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 03:45 AM

    The error is because of the PDF format is not suitable....

    I don't know how to solve this issue in wdabap .... please try with another pdf template if it is possible.

    Thanks and Regards

    shanto aloor

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.