Embedding an existing Adobe Form into a Webdynpro Application

Hi Everyone,
I have an existing adobe form created thro transaction SFP and its working well.
I need to launch the form with a Webdynpro application now. I was able to embed the adobe form into the Webdynpro View. The View's context is supposed to pick up the context of the adobe form automatically.
However I am getting the following error - Either your Interactive form UI element is not bound to a context or a corresponding context does not exist.
I am not sure how to proceed coz the I executed the Adobe from in SFP and its working perfectly and obviously its bound to a context/ interface.
Any Ideas?
thanks for your suggestions in advance !
Liz

Pradeep,
You are right. This time I could bind the context from my interface (even though it was ABAP based).
I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
The runtime error that i am encountering now says :
Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
the source text of error is:
get result
m_pdf_object->get_document ( importing pdfdata = pdf ).
catch cx_fp_exception into lr_fpexc.
raise exception type cx_wd_general
exporting
previous = lr_fpexc
and this exception is not caught ! I am still lost
thanks again for your help!
Liz

Similar Messages

  • Error occured while showing adobe form in abap webdynpro application

    Dear SAP-Masters ,
    This is the mail regarding the error occured while showing adobe form in abap webdynpro application .
    When i run the adobe form seperately it works fine but with abap web dynpro , i'll get following error .
    Pls tell me how to resolve this problem .
    The following error text was processed in the system D35 : WebDynpro Exception:
    The error occurred on the application server DV35_D35_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP

    Hi Arjun ,
                Thanx for ur reply ,
                i got following results in ST22 dump analysis :
    '  An exception occurred that was not caught ' .
            and
    Source Code Extract
    Line
    SourceCde
    79
    x_xml = get_wd_context_as_xml( data_source = data_source ).
    80
    m_pdf_object->set_data( formdata = x_xml ).
    81
    catch cx_fp_exception into lr_fpexc.
    82
    raise exception type cx_wd_general
    83
    exporting
    84
    previous = lr_fpexc.
    85
    endtry.
    86
    if fillable = abap_true.
    87
           if m_version is initial.
    88
             m_version = m_pdf_object->get_version_info( ).
    89
           endif.
    90
           if version < ''.
    91
             set_usage_rights( m_pdf_object ).
    92
           endif.
    93
    endif.
    94
    endif.
    95
    endif.
    96
    97
    only call the ads if requested
    98
    if execute_ads_call = abap_true.
    99
    try.
    100
          set document
    101
    m_pdf_object->set_document( pdfdata = pdf ).
    102
    103
          execute, call ADS
    104
    m_pdf_object->execute( ).
    105
    106
          get result
    107
    m_pdf_object->get_document( importing pdfdata = pdf ).
    108
    catch cx_fp_exception into lr_fpexc.
    >>>>>
    raise exception type cx_wd_general
    110
    exporting
    111
    previous = lr_fpexc.
    112
    endtry.
    113
    endif.
    114
    115
    endmethod. 
    and
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    WebDynpro Exception:
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_FP_RUNTIME_SYSTEM", which was raised in the program
    "CL_FP_PDF_OBJECT==============CP",
    specifically in line 255 of the (include) program
    "CL_FP_PDF_OBJECT==============CM02Y".
    The cause of the exception was:
    ADS: com.adobe.ProcessingException: PDF is not interactive.  Data can only be
    |    imported into interactive forms.(201501).

  • Can I export or convert an existing FormsCentral form into an adobe acrobat pro fillable form?

    What is the best method for exporting or converting an existing FormsCentral form into an adobe acrobat pro fillable form?

    Good day in2psy,
    As FormsCentral is a web-based service that hosts the forms you create, you cannot download them and use them locally on your computer.
    Kind regards,
    David
    Adobe Systems

  • Convert Adobe Form into Word Format

    Hi Friends,
    My question is very straight forward -:
    Is there any way / any Function Module to convert the adobe form into word format ? Is this possible ?
    Regards,
    Debi

    Hello, could you please elaborate a little more? Have you tried this? What was the result?
    I mean: Adobe forms are often very complex, I would like to know how does the result look like. I have no DMS/ DMS experience to try it myself so I thought you could describe some more details about this suggestion.
    Regards Otto

  • Exporting Adobe forms into Excel

    Greetings,
    Wanted to find out if it is possible to export an Adobe form into excel?
    Thank you in advance for your input and response.
    B. Agahian

    Thanks ajay for your response.  I was specifically referring to an pdf-based print form.  Can this be exported to an excel spreadsheet?
    Thank you in advance.
    B. Agahian

  • Passing value from Adobe Interactive form, to the Webdynpro Application

    Hi,
    I have followed all the tutorials on interactive forms in WD for Java, & am able to successfuly display my context data in an interactive form.
    However, i need help with the following:
    1. Online scenario:
    User has filled details in an interactive form & clicks on the submit button.
    The Data from the form is NOT getting passed back to the WebDynpro application.
    2. Offline Scenario:
    User has filledup a pdf file(form), & has uploaded the form to the webdynpro application, using the file-upload UI element.
    How do i read the data that the user has entered in that pdf file?
    Any help with regard to these two queries, will be appreciated.
    Thanks,
    Hanoz

    1) Online Scenario
    check if the context mapping between UI elements and Context is properly done
    check if the cardinality of the Context is alright.
    2) Offline Scenario
    you will have two views.
    one upload view
    and one interactive form view
    in the upload view use the File Upload UI element.
    in the Interactive Form View.... use the same view which you used to create the offline form, thus the interactive form UI element will already know the structure of data and the context mapping in the pdf file when you upload it.
    Add the following line of code to the
    method wdDoInit.
    wdContext.getNodeInfo().getAttribute
    ("pdfObject").getModifiableSimpleTyp
    e();
    Add the following line of code right
    before
    wdThis.wdFirePlugOutToDisplay()
    in the method onActionShowForm().
    wdThis.wdGetTravelRequestCompControl
    ler().wdGetContext().currentContextE
    lement().setPdfObject(wdContext.curr
    entContextElement().getPdfObject());
    in the interactive form view, change the property of the interactive form.... MODE to usePdf.
    regards,
    -Ag.

  • How To import Adobe form into Webdynpro

    Hi Experts,
    Just I want to import an adobe form which is already design. Could anyone provide me how to do that.
    Thanks in advance.
    Thanks,
    Hari

    Hi Ramanan,
    I've got a similiar issue. Please post the steps of resolution.
    Appreciate your efforts.
    Regds,
    Srini

  • SOAP error!! while activating or running an existing Adobe form

    Hi,
    I am working on Adobe forms in ECC6.0 server.
    I am getting a SOAP error while I run existing forms or trying activating a Z* form.
    <i>Error: ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)</i>
    I am trying to run an existing form in 800 client. It is running fine in 001 client.
    ADS installed on 001 client but basis team is not able install it on 800 client.
    How to install ADS on 800 client also. Is it a problem with ADS installation??
    Thanks in advance.
    Thanks,
    Sreekanth Gollamudi

    Pradeep,
    You are right. This time I could bind the context from my interface (even though it was ABAP based).
    I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
    The runtime error that i am encountering now says :
    Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
    the source text of error is:
    get result
    m_pdf_object->get_document ( importing pdfdata = pdf ).
    catch cx_fp_exception into lr_fpexc.
    raise exception type cx_wd_general
    exporting
    previous = lr_fpexc
    and this exception is not caught ! I am still lost
    thanks again for your help!
    Liz

  • PDF embedding in a Adobe Form

    Hi folks,
    is it possible to embed a PDF-datastream (which comes from backend system) into a PDF Based Form , and if so, how?
    kind regrads,
    oliver

    hi Bertrand DESSERTENNE,
    Can share with detail how to insert attachment (PDF/jpeg) into the adobe form generated by sap?
    the requirement is offline form using webservice to save all the info (including attachment) back to sap.
    how we store the attachment and how to retrieve it?
    Regards,
    Lau

  • Adobe form integration in webdynpro

    Gudday,
    I need to integrate my adobe form in webdynpro using ABAP and fill the form from the browser which should get updated in the database.
    I hav form which will display fields like pernr,vorna,nachn.
    After inserting the form integration element...what is context to be filled with??
    how should i do the binding from my WDA to adobe forms...i tried one example..but couldnt get the result at the end..
    Can anyone  please.......suggest clear step-by-step procedure to proceed further.
    Awaiting your reply.
    Thanks,
    Deepthi.

    Hi,
    Hope this would help you - /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    Thanks and Regards,
    Anto.

  • Unable to print the adobe form Genrated by webdynpro

    Hi Experts,
    I have generated a adobe form using webdynpro Java. It sucessfully loading the adobe form in the browser but when I click print button above the form. It just opens acorbat reader console and doesnt print the form.
    Is there any additional settign to be made to acheive it.
    we are using WAS 7.0 and acrobat reader 8.0
    Your suggestions are highly apprecited.
    Thanks,
    Raj

    Hi Raj,
    Try this out. You can put the print button in the Form itself.
    Go to Library -> Standrad -> Print Button
    Drag the print button on to the form.
    Try printing the form by clicking on the print button.
    Cheers
    Satya

  • Importing Adobe form into SAP (sfp)

    Hi Friends
    I am trying to import an Adobe form designed in Live cycle designer outside SAP into SAP form builder (tcode SFP). The form imports fine in 'Layout' section of form builder but when I save it, it doesn't get saved. I mean if I save and try to open form later in SFP tcode the saved form disappears. The form also disappears when I activate the from in SAP builder (tcode SFP).
    Am I doing anything wrong while importing pdf file or form designed outside SAP? Please help.
    Regards
    Sunny

    Hello,
    I am aware its is possible to use "import" in SFP menu. But I don´t know how. I would like to assure you, you can just copy the layout in your source form (it was just some layout created in standalone LCD) and copy it into the opened layout (LCD in SAP) in your SFP transaction. Then the editor think you have just finished drawing that and everything works the way you expect.
    Regards, Otto

  • Read mutliple dynamic rows of a Table in Adobe Form into GP's context

    Hello All,
    I have a GP scenario where in user inputs multiple rows of data in a table which is on an Interactive Adobe Form.
    I want to read those values entered dynamically and passed between callable objects.
    Please could you suggest on this? If you post any sample code that would be of great help.
    Best Regards,
    Suyukti B N

    Hi Tamas,
    I checked the mentioned form and, as this table is setted as TABLEROW and some of its cells are static, is not possible to change the column size in the layout or even though changing it directly in the XML file, cell by cell. I was trying it.
    For example, choose the Cell6 of TABLEROW[0] and click on tab 'XML Source'. You will see this statement:
    <draw colSpan="3" h="16.3166mm" name="Cell7" w="22.225mm">
    You can try to change the value 'colSpan' according to your requirement.
    This table size is not modifiable because it was developed to it.
    I believe that Diego's suggestion can help in this case, if you are having problems to print the entire table on the page.
    Regards,
    Lucas Comassetto.

  • Call standard adobe form from a WD application

    Hi All,
    I have a requirement of displaying a standard adobe form from a click of a button in a WDA portal,
    I am an ECC developer and have no idea of WD. I created a function module which uses submit statement to invoke the driver program and displays the PDF output, but when this function module is invoked from the portal on the click of button it gives and error FP job open error.
    I understand that displaying PDF wont work in this way on portal, so can anyone please guide me the correct procedure on how  to achieve this.
    I came across this thread
    [Regarding adobe form using Webdynpro ABAP|Regarding adobe form using Webdynpro ABAP]
    which mentions of feeding the complete PDF document to the UI element as an XSTRING context node bound to the pdfSource property, but the help link provided in the thread is not opening.
    Thanks in advance.
    Regards,
    Kartik

    Hi karthick , creat a button in the view and assign a action to it .
    inside that action eventhandeler method  call the method for prepare_adobe _form for dislay PDF  .
    method ONACTIONSHOW_ADOBE_FORM .
    data : l_pdfstring type xstring.
    " Select for print
    wd_this->prepare_adobe_forms( importing p_pdf = l_pdfstring ). " coding is given below
    " Call print
    cl_wd_runtime_services=>attach_file_to_response(
    i_filename = 'adobe_form.pdf'
    i_content = l_pdfstring
    i_mime_type = 'application/pdf'
    i_in_new_window = abap_false
    i_inplace = abap_false ).
    endmethod.
    prepare PDF
    method prepare_adobe_forms.
    data: lv_funcname type funcname.
    data: ls_outputparams type sfpoutputparams.
    data: ls_formoutput type fpformoutput.
    call function 'FP_FUNCTION_MODULE_NAME'
    exporting
    i_name = 'FP_TEST_DATE'
    importing
    e_funcname = lv_funcname.
    ls_outputparamsu2010nodialog = 'X'. " suppress printer dialog popup
    ls_outputparamsu2010getpdf = 'X'. " launch print preview
    call function 'FP_JOB_OPEN'
    changing
    ie_outputparams = ls_outputparams
    exceptions
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    others = 5.
    call function lv_funcname
    * exporting
    * /1bcdwb/docparams = fp_docparams
    importing
    /1bcdwb/formoutput = ls_formoutput
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    call function 'FP_JOB_CLOSE'
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    p_pdf = ls_formoutputu2010pdf.
    endmethod .
    Regards
    Chinnaiya P

  • PDF form generation on Webdynpro Application

    Hi
    I have an ABAP Webdynpro application with 8 tabs. As per the functionality, all the data entered by the user on these 8 screens has to be displayed in a PDF form as well as in an excel sheet in a defined format. Also  the Adobe Lifecycle Designer is not available. How can this requirement be implemented.
    One way is to use the smart form Object and integrate it with Webdynpro.
    Please suggest how can such a functionlity be achieved.
    Smriti Kapur

    Hi Smriti,
    Are you using an ALV grid in your application? if so, there should be a 'Print version' button that, when ADS is configured correctly, should produce the PDF version of the Document.
    Read these two blog entries:
    /people/dezso.pap/blog/2008/01/25/ads-ssl-configuration-journal-i-abap--java-640--70x
    /people/george.quaye/blog/2009/05/27/an-interactive-pdf-to-guide-your-configuration-of-the-ads
    Thanks,
    Umair

Maybe you are looking for