Throws WebDynpro Exception in adobe form

Hello Experts
I  am new to adobe form i created an adobe form when i run it as webdynpro application it gives run time error.
Error when processing your request
What has happened?
The URL http://******************/sap/bc/webdynpro/sap/zadobe/ was not
called due to an error.
what to do next ?. I have no idea. Please help.
Thanks in advance
Moderator message: wrong forum, please have a look in the dedicated forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on Mar 4, 2011 10:35 AM

Do you want to perform these actions when online (within the webdynpro context on the browser) or offline (the pdf saved locally without access to the webdynpro context)
1. If only used in the online scenario
As you correctly noted, there are only two actions in the form. However these actions can be triggered by script inside the form. Before triggering the script set some runtime flag value on the webdynpro context (through a hidden pdf field) to understand which action is being performed. Then in the java code perform the appropriate action and set the resulting data into the webdynpro context and the form screen will be refreshed with the new data.
2. If used in the offline scenario
Fetch all the data you would need beforehand and store it in hidden fields. Then based on user interaction, choose the appropriate value from the hidden fields and display using script.

Similar Messages

  • ADS Error while calling WebDynpro Abap with Adobe Form

    Hi Experts,
    I have created an Adobe Form and its interface in Transaction SFP. In a WebDynpro Abap Component I created an UI-element "Interactive Form" with the context of my form. So the WebDynpro Context was created automatically. Then I tried to call the WebDynpro Application in  the Internet Explorer but got the error message:
    german(original):
    WebDynpro Exception: Der Aufruf des ADS schlug fehl. Informationen zur Ursache finden Sie im error.pdf auf dem Applikationsserver.
    english:
    WebDynpro Exception: The call of ADS failed. You find information in error.pdf on Application server.
    How can I call error.pdf and what can that be? One WebDynpro Component with the form runs without any problems, the other one doesn't do this. I have no idea if it is a problem with context or server or something else.
    I hope you can help.
    Thanks al lot.
    Best regards,
    Ingmar

    Hi,
    Check the note in this site...
    https://websmp204.sap-ag.de/notes
    Regards,
    <i><b>Raja Sekhar</b></i>

  • WebDynpro Exception running Interactive Form example

    Hi everyone,
    I created an interactive form via Transaction SFP. After that I used this form in a Webdynpro for ACAP application.
    When I try to run the application I get the following error:
    Note
    The following error text was processed in the system E60 : WebDynpro Exception:
    The error occurred on the application server de3003dc_E60_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR 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/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
    What I tried:
    - Program FP_TEST_00 runs successfully, I receive the version number.
    - I went through the ADS Configuration Guide. All settings are done.
    - The test on Java Stack works: http://server:port/AdobeDocumentServices/Config
    We're on SP 10 with NW2004s(NW7.0).
    Best regards,
    Olaf

    Ajay,
    You was right to some extent...We have started the ADS Web service.
    Now, We have a different error mentioned below,
    <b>The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running: com.adobe.FailedCreationException
        at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
    </b>
    although we have restarted Data Manager Service,the exception remained...
    What may be the reason??
    I have already awarded you...
    Sugata

  • WebDynpro ABAP vs WebDynpro JAVA for Adobe forms--PCRs--MSS

    Hi Experts,
    This might be a generic question :
    I am modifying PCRs (MSS 1.0,EP 7,ECC 6.0) and now I have come to a point where I need to decide if I have to use Webdynpro JAVA or Webdynpro ABAP for modifying Adobe interactive forms which come with MSS 1.0 out of the box from SAP.
    What does SAP suggest??
    What do you suggest??
    Quick answers appreciated

    Hi Aditi,
    Thanx for your suggestion but let me just detail what Iam looking for;
    I will have to develop a custom PCR for Hire/Rehire (no workflow -- weird right),
    now if I develop Adobe forms for this, my question is how am I going to bind these forms to the scenario (QISRSCENARIO).
    Whatever is entered  in  this form is not going through workflow but is going to be directly updated in the database when the manager says SUBMIT.
    Usually the HR developer goes to the scenario and selects input by Adobe form and clicks <b>generate</b>, but now if I develop the form using Webdynpro JAVA how am I going to integrate the generated form to that particular scenario.
    Sorry if Iam not clear enough, but I really need help in this regard.
    Thank you

  • Webdynpro for ABAP - Adobe form ISR based

    Hi,
    We are building a custom HR application to automate various HR processes
    like New Hire, Termination, etc.. Due to certain internal issues we are
    unable to use the standard business package for MSS (and hence PCR screens
    with adobe forms). We have to create custom webdynpro abap screens for the
    whole application. Now i would like to check if there is a possibility to
    use the ISR framework with a custom webdynpro abap application.
    I checked the transaction QISRSCENARIO but i could not find any option for
    webydnpro abap in "Entry type for Web".
    Have anyone of you tried such a scenario earlier with ISR's? Is there any other way
    that we can use webdynpro ABAP applications with ISRs? Or do we have any
    work around for this.
    Please send in your valuable comments.
    Thanks in advance!
    Sudha

    Hi Phani,
    Thanks for the info.
    I am able to see if it is not interactive.
    Displaytype is native only.
    Let me explain you the issue in detail:
    Currently Client is calling ZFORM thro Java. They have some issues with JAVA so they want to use Webdynpro to call that ZFORM and the form is ABAP Dic based.
    For Templete source I gave ZFORM name, and it automatically created a 'NODE' wrt the context in the ZFORM.
    Now I have to pass data from difft  node attributes to that 'NODE'.
    Thanks in advance,
    GG

  • Trigger workflow from ABAP webdynpro (having an adobe form)

    Hello All,
    I have developed an Webdynpro (for ABAP) component that has an Adobe Form integrated within it. Now I have been given a requirment that the form (once filled out on the portal) needs to be routed to 2-3 persons for approval and then submitted (or processed in SAP). The approving personnel will look at their UWL on the portal and approve/dissapprove.
    I do not have much hands on experience on such a Workflow scenario as above. I have already completed the adobe form part and the webdynpro section.
    I will really appreciate it if anyone can advise as to how I need to proceed here.
    Thanks in advance, Liz

    Hi Liz,
    You can use the FM SAP_WAPI_START_WORKFLOW. In webdynpro you have the button like "Submit" right? All the process has done, the user can click the submit button to get the approval. Under the button you can call this FM.
    Create one workflow based on your scenario, and pass the workflow number to this FM. So once the submit button is clicked then in back end workflow will getting triggered.
    For more Informations, please have a look at following links.
    SAP_WAPI_START_WORKFLOW doesn't start workflow...
    SAP_WAPI_START_WORKFLOW
    SAP_WAPI_START_WORKFLOW help
    Thanks.

  • Passing value from Webdynpro ABAP to Adobe form..

    Hi experts,
            In first view of web dynpro, im getting employee id as input and after clicking the create new button, an adobe form is called
    to create the employee details ( in form i used the submit button and i stored the details ). so, in tat form i used the employee id as read only mode and it has to display the value which i given as input. But in tat form im not getting the value from web dynpro..
    can anyone plz help me out for this..
    Thanks in advance..

    Hi,
    Try to set your values in Method->"wddomodify" of the View in which Adobe Form is present. If you want to pass values from one view to another then check this link [Passing Local Parameters between views in an ABAP Web Dynpro Application|http://wiki.sdn.sap.com/wiki/display/stage/PassingLocalParametersbetweenviewsinanABAPWebDynproApplication] or use Context declared in Component Controller.
    Regards
    Pradeep Goli

  • Input via ABAP Webdynpro  - Display data Adobe form

    Hi,
    My requirement is I will pass input via ABAP webdynrpo selection screen and I want to get output in ADOBE FORM.Do we have any blogs or tutorials ? BTW this will not be interactive form right?
    rgds
    vara

    Hi Vara,
    Do follow these steps:
    1) Goto SE80 and create a WDC.
    2) Create a main view, and in the view go to context, and create a node and an attribute in it to fill the values from WDA.
    3) Goto layout of the View, and create an inputfield UI element, and bind the attribute created in the context.
    4) Now create an Interactive form UI element and give some name in the Template source of that UI element.
    5) On press of enter, it asks you to create a new SFP, and say yes for that. Also choose context as the data source during that process.
    6) Now SFP tcode is opened for you to design the layout.
    7) Similarly desing the layout and bind the copied node from webdypro component.
    8) Save and activate the form.
    9) Save and activate the WDC.
    10) Create an application and test it.
    This completes the scenario mentiond by you..
    I Hope it helps you.
    Good day!
    Regards,
    Shashikanth. D

  • XML EXCEPTION in adobe form

    hi all,
    We've met a XML exception like this:
    we input a no and raise a RFC and get the data and fill in the form. that is ok.
    And when I trigger the submit button, an excepiton is shown:
    "org.xml.sax.SAXParseException: Content is not allowed in prolog. "
    I think it is a XML exception..But I don't know how to fix it.
    Can anyone tells me how to do now?
    Best Regards,
    delma

    Hello,
    can you please explain your scenario? Do you have a offline form which do you extract the XML data from? Or is that a XML file for/ from WD form? Please provide more details about when the exception occurs.
    Regards, Otto

  • Save and Cancel Functionality in WebDynpro application with Adobe Forms

    Hi,
    I want to create an application with Adobe Interactive forms. This application will have 3 buttons: Save As Draft, Submit and Cancel.
    This application also involves Workflow.
    On Save As Draft, the form will be saved for later viewing. How can I achieve this functionality? Does UWL support Save As Draft feature.
    On Submit, workflow is triggered and form is routed for approval.
    On Cancel, the form is deleted from the system and cannot be retrieved. How can I get this functionality?
    Issue: How to achieve Save As Draft and Cancel functionality?
    Regards,
    Vibha Singhal.

    It works well en SP 21.
    Thanks.

  • PHOTO IS NOT GETTING REFLECTED IN ADOBE FORM

    Hi experts
    We have tried the below code to dispaly photo in webdynpro integrated with adobe forms
    CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          p_pernr                     = v_obj_id
    *     P_TCLAS                     = 'A'
    *     P_BEGDA                     = '18000101'
    *     P_ENDDA                     = '99991231'
        IMPORTING
    *     P_EXISTS                    =
          p_connect_info              = l_connect_info
        EXCEPTIONS
          error_connectiontable       = 1
          OTHERS                      = 2.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_DOC_READ'
        EXPORTING
    *     MANDT                       = SY-MANDT
          stor_cat                    = space
          crep_id                     = l_connect_info-archiv_id
          doc_id                      = l_connect_info-arc_doc_id
    *     PHIO_ID                     =
    *     SIGNATURE                   = 'X'
    *     SECURITY                    = ' '
    *     NO_CACHE                    = ' '
    *     RAW_MODE                    = ' '
    *   IMPORTING
    *     FROM_CACHE                  =
    *     CREA_TIME                   =
    *     CREA_DATE                   =
    *     CHNG_TIME                   =
    *     CHNG_DATE                   =
    *     STATUS                      =
    *     DOC_PROT                    =
        TABLES
          access_info                 = lt_infos
    *     CONTENT_TXT                 =
          content_bin                 = lt_image_bin
        EXCEPTIONS
          bad_storage_type            = 1
          bad_request                 = 2
          unauthorized                = 3
          comp_not_found              = 4
          not_found                   = 5
          forbidden                   = 6
          conflict                    = 7
          internal_server_error       = 8
          error_http                  = 9
          error_signature             = 10
          error_config                = 11
          error_format                = 12
          error_parameter             = 13
          error                       = 14
          OTHERS                      = 15.
      CHECK sy-subrc = 0.
      READ TABLE lt_infos INDEX 1 ASSIGNING <fs_info>.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = <fs_info>-comp_size
          first_line   = <fs_info>-first_line
          last_line    = <fs_info>-last_line
        IMPORTING
          buffer       = l_employee_photo_content
        TABLES
          binary_tab   = lt_image_bin
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
    but the photo is not getting reflected in the adobe forms .
    and also i have tried the url method but it doesnt work .
    please help me out .

    First, have you set a breakpoint in this code and made sure that you are getting data into lt_image_bin?  That would seem to be the first place to start.
    Then the question is how are you trying to pass the image into the Adobe Form?  Are you passing an XSTRING context attribute into the form interface?  Have you marked that part of the interface as an image?  Are you setting the MIME Type parameter of the form interface as well.  You really haven't posted any details about what you are doing on the Adobe Form side.

  • 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

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Calling Interactive Adobe Form from workflow work-item

    Hi Experts,
    Here is the requirement.
    WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
    When the work-item agent double-click on the work-item he must call the adboe form.
    Please provide your inputs/suggestions/Solution/Tips.
    Regards
    Krishna

    Hi Gurprit,
    Thanks for answering my question , appreciated.
    When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" .  Whether we need to create an ABAP Webdynpro to call Adobe form.
    Please explain.
    Regards
    Krishna

  • Online Adobe forms in Guided Procedures

    Calling SAP GP experts,
    Has anyone been able to successfully implement online Adobe forms in a Guided procedures. If yes, can you share tricks involved..
    The objective is to throw open an online Adobe form to the user to fill in.. The Adobe form will have pre-filled data (from previous Actions in the GP) and there will be the Approval process step after the form is filled...
    Cheers
    Nitesh

    Dear Alan,
    Yes i have generated the form's submit URL... It works fine when the pdf is saved in the users desktop and upon clicking the submit button it kicks of a Process with a Visual Approval callable object..
    However my requirement is that the Adobe form be submitted online during GP runtime.. The process is initiated by the User in the portal (not offline) who wants to put in a request. When the user initiates a process an Adobe form is opened to him in which he fills in his request. This request is then <b>forwarded for Approval</b>.. After Approval a digital signature need to be attached to the document and further on it needs to be sent out to other User Groups.. In case the request is <b>rejected</b> then the control goes back to the requestor who can either modify his request and send it again for approval or simply delete the request.. Throughout the whole process Print of the request can be taken at any time. Considering the requirements of Print & Digital signature i think using Adobe would be the way to go.. What do you think about implementing such a requirement in GP with Adobe UIs? Is it the right way of going about it?
    Quite an interesting nut to crack.. Ain't it ??
    Cheers
    Nitesh

Maybe you are looking for

  • Warp Stabilizer VFX, did you know

    I have been using After Effects 5.5 [AE] for a while and this is about Warp Stabilizer is After Effects CC [Ae]. Yes Warp Stabilizer in [Ae] is about 3 times faster that [AE] and also offers some very good added features.  Sometimes you need the adde

  • Video is not working in my nokia mobila E5

    by mistake you tube link in internet folder was deleted, after that i am not able to watch video and showing error

  • Credit check on the basis of quantity

    Hi Gurus The requirement is such that the credit check is to be configured on the basis of quantity. A customer is fixed with a total order quantity of 1 lakh and if the quantity goes beyond 1 lakh the system error should come. Thanx and Regards

  • Question about K9N6SGM-V?

    Hello, this is my first post here & my english is not very good So.. I have this mobo K9N6SGM-V and i want to buy new VGA like Radeon Sapphire 3850/3870. My question is: can i run it with that mobo? I know that provides only PCI EX x8, but i can upgr

  • Start page won't come up

    After logging on to my computer it goes blank. The start page won't come up. How do I fix this?