Webservice giving error "couldn't post data to " in adobe interactive form

Hi Gurus
                 My requirment in to place a submit button in adobe interactive form , when the user clicks on it the data in the form has to update the table. For this purpose i have configured webservice in my crm 2007 server. Now webservice is working and i m getting the response. but when i create a data connection in the adobe form and when i execute the webservice i getting " Couldn't post data to ". "
error . Plz help me out to resolve this issue
Thanks in advance
Regards
Johny

Hi Jhonny,
Make the Submit button a regular one instead of execute and place the following code in the click event(JavaScript).
var cURL = "Provide the Soap Address url which is present in WSDL";
var service = SOAP.connect(cURL);    
xfa.connectionSet.DataConnection.execute(0);
Regards,
Mathan

Similar Messages

  • Couldn't post data to ''. - Adobe interactive form problem

    Hi
    I am trying to do a test run with adobe interactive forms, I generated a WSDL from my webservice in SAP and then added the data connection fine. I added the execute event button onto my form and set a HTTP debug point in the function inside my webservice. When I try preview and I try click the execute button every time I receive the following error:
    Couldn't post data to ''
    What does this error mean? It never reaches my rfc as the debug is not triggered and the error seems to be coming from adobe lifecycle designer.

    Hello,
    I am facing this issue too, were you able to resolve.
    kindly help!
    THanks,
    Deepti

  • How to binnding the data in the adobe interactive forms for making a table?

    Hi, experts,
    Function:
    Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
    version:
    Acrobat Reader 8.1.0
    currently both of the SAP-ABA and SAP-BASIS SP level: 9
    ADS : Successful.
    The following is my action:
    1.     Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight"  using the transaction code "sfp"
    2.     Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
    3.     Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
    4.     Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
    Problem 1:
    Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
    5.     Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the  adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
    6.     But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and  I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
    Problem 2:
    Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
    Thanks a lot.
    Best regards,
    Tao

    Hi, experts,
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks a lot.
    Best regards,
    tao

  • Error while processing ADOBE interactive form

    Hi,
    I get following error when I try to submit an ADOBE interactive form.
    FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
    com.sap.caf.eu.gp.base.exception.EngineException: FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.createProcessRoleInstance(FormPostprocessor.java:176)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.prepareProcessRoles(FormPostprocessor.java:157)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.initiateProcess(FormPostprocessor.java:289)
    at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:564)
    at com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run
    (MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Please help.
    Ashutosh

    I managed to sort the issue.
    It is not related to the ADS configuration.
    I had to assign all the default roles of process to the user /role.
    Thanks a lot for reply.

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • Error message while clicking PDF Preview of a ADOBE interactive form

    Hi -
    I am creating an ADOBE interactive form having Tables, few text fields and E-mail submit button. The scripting language used is FormCalc.
    Whenever I am clicking on PDF Preview to see the form layout and to check other functionality, I am getting an error message:
    Error message -
    Error: syntax error near token '|' on line 1, column 14.
    Script failed (language is formcalc; context is xfa[0].form[0].data[0].Mainpage[0].Subform3[0].Table2[0].Row1[0].RATING[0])
    script=this.isnull || (this.rawvalue >= -32768 && this.rawvalue <= 32767
    I checked my scripts and there is no syntax error in that. My form is also working absolutely fine except getting this error message pop up whenever I try previewing my form.
    Can you please tell me, what can be the possible reason.

    I tried everything, but couldn't figure out the reason for error. I wrote the script again, but the error is still coming.
    Here is a part of my script. I have written this script on Email submit button in preSubmit event, to check if the RATING field value is less than or equal to 3. depending upon this condition, I am making the COMMENT field as mandatory. The same script is repeated for all the RATING & COMMENT fields.
    if (data.GyanMainBodyPage.Subform2.Table1.Row1.RATING1 <= 3)
    then
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "error"
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatoryMessage = "Please fill corresponding comment"
    else
                  data.GyanMainBodyPage.Subform2.Table1.Row1.COMMENT1.mandatory = "disabled" 
    endif

  • Error while running adobe interactive form

    Hi,
    I made a scenario to update a z table using adobe interactive form in webdynpro.While executing I am getting the error as :
    Termination type was : RABAX_STATE
    Can anyone please guide me as to what can be the reason behind this error.
    Thanks in advance !!

    Hi
    I suggest that you first review your configuration using this tutorial which short and to the point:
    [ADS configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98]
    After that perform the tests that were suggested in the posts above (link to the relevant tests [ADS tests|http://help.sap.com/saphelp_nwmobile71/helpdata/en/43/f31e3082221595e10000000a1553f7/content.htm]
    Regards
    Adi J.

  • Calling webservice in Adobe interactive form

    Hi,
    I have a webservice created for a function module which in turn calls the BAPI_PR_CREATE (purchase requisition creation) BAPI. I am trying to call this webservice from an Adobe interactive form I've created. Basically the user will enter all necessary data inside the form and when he presses a button the webservice should be called and the purchase requisition should be created.
    My question is what type of "Control type" should I use for the button "Regular", "Execute" or "Submit" and how should the javascript code look like?
    I have tried a lot of solutions that I've found on the internet but nothing worked.
    The ADS service is not yet installed, I know that this is a big issue but could this affect the functionality or could this be the cause why nothing seem to work?
    Thank you and Best Regards,
    Mihai

    Hi Florian,
    thank you for the given information.
    Unfortunatelly I was waiting for a long time from the BASIS team to install the ADS. Yesterday they've told me it's finally done.
    Consequently I started to retest the solutions I've found but with no result so far.
    I've tried to make the button an "Execute" control type and added the Connection inside the Execute tab.
    I've also tried with the following javascript inside the xml file (inside the click event of the button) and all of the button control types:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    I've also found that maybe I should have attached the following roles and authorization objects to my user:
    Authorization objects: S_USER_PRO, S_SERVICE and S_ICF_ADMIN, S_SRT_ADM
    Roles:
    a) SAP_BC_WEBSERVICE_ADMIN
    b) SAP_BC_WEBSERVICE_ADMIN_BIZ
    c) SAP_BC_WEBSERVICE_ADMIN_TEC
    d) SAP_BC_WEBSERVICE_CONSUMER
    e) SAP_BC_WEBSERVICE_DEBUGGER
    f) SAP_BC_WEBSERVICE_OBSERVER
    g) SAP_BC_WEBSERVICE_SERVICE_USER
    Do you have ideea what could be the issue? Can you give me another solution?
    Thank you and Best Regards,
    Mihai

  • Error while Activating Adobe Interactive Form

    Hi SDN,
    I am activating Adobe Interactive Form but it is giving me SOAP Runtime Execption : CSoapExceptionTransport : HTTP receive failed with exception communication failure.
    Can any one tell me how to rectify this error?
    Regards,
    Rahul

    Hi SDN,
    I am trying the same on the Other system as well but it is giving me error as Invalid HTTP connection : ADS
    Help Required............!
    Regards,
    Rahul

  • Error while opening Adobe Interactive form.

    Hi ,
    We have few custom applications  which contains an adobe interactive form. When it is getting called it throws the following error.
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Invalid parser state. This exception is caused when deserializing XML type [http://www.w3.org/2001/XMLSchema]<base64Binary> and wrong XML node is found.
    Kindly guide me how to resolve this issue.
    Best Wishes
    Idhaya R

    Hello Idhaya,
    Does this forum thread help?
    Re: Error in Risk Analyzer of Access Enforcer
    Also, when troubleshooting XML errors, I like to open the input source XML in a web browser or validate the markup online at:
    http://validator.w3.org/
    --- Scott

  • Send Data back to SAP from Adobe Interactive Form

    Hello friends,
    I created a Adobe Interactive form using transaction SFP.
    This form have a comment field.
    My requirement is user enter comments in this filed and click on Submit.
    It needs to call a BAPI and save data in SAP table.
    thankz in Advane
    regards,
    Sumit Malhotra

    Hi,
    Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
    Thanks and Regards
    Pradeep Goli

  • Error in FormCalc Script of Adobe Interactive Forms

    Hi,
    We created certain <b>Custom I.S.R. Scenarios</b> and attached them to Workflows. So in these regards, we had already created the needed forms in Adobe Interactive Forms Transaction(SFP) and launched the Scenario successfully in Enterprise Portal.
    But we have a couple of requirements like during <b>Create</b> mode of the form, I should be able to modify certain contents of the form, and during the <b>Change</b> mode of the form, I should be able to modify certain other fields of the form. So I had opted for <i>FormCalc</i> Scripting in these regards.
    I used the following code...
    if($record.CONTROL_PARAM.ISR_MODE == "CHANGE")     
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Well, I used the same script in two of my forms. For one form, it's working very perfect. But for other form, it's giving the following error..
    Error : accessor '$record.CONTROL_PARAM.ISR_MODE' is unknown.
    I am very much mazed, why the same code behaves in 2 ways in two different forms.
    So can anyone help me in these regards?
    Regards,
    Raja Sekhar

    Hi,
    I solved the problem by applying alternate solution.
    I used Java Script instead of FormCalc Script.
    That cleared my errors.
    Regards,
    <b><i>Raja Sekhar</i></b>

  • How to use two RFC models in one Data Source for a Interactive Form UI Elem

    Hi
    I want to use two RFC models (two Function Modules from a SAP Backend system) in one context node of a View Controller in order to pass it as the data source to a Interactive Form UI element. Can I use the data binding mechanism directly or have I to copy the data into a Value Node within the view controller.
    Thanks for helping
    René Morel
    SAP (Schweiz) AG

    Rene,
    You can create a local context node in component controller and copy the data from both the RFC's to this node, then bind it to the view controller. Then you can make this view context node as the datasource of the interactive form.
    Regards,
    Anand

  • Error while executing WebDynpro Application with Adobe interactive forms.

    I have created a webDynpro application which involves an adobe interactive form. When i deploy and run the application, i am able to deploy it on the J2EE engine on the EP server but while executing it, i get the following exception -
    <b>Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation. Request start time: Thu Oct 12 17:30:39 GMT+05:30 2006
        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)
        ... 21 more</b>
    I would appreciate any help in this matter.
    Thanks...

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

  • Data Passing Problem with Adobe Interactive Forms

    Hello all,
    I am trying to create a Guided Procedure to implement an offline Adobe Interactive form. This form is based on the standard Requisition Request form used in MSS for e-Recruiting.
    I've copied the standard form and updated the layout to ZCI using the appropriate transaction (not manually). After that, I've changed the Interface and layout. But to get the Form in the portal you need to have a .xpd file. Therefore, I've tested the form in preview mode, saved a copy as a PDF file and opened this copy in the standalone Adobe Lifecycler Designer. In the standalone version you are able to save the form as a PDF (not possible using transaction SFP).
    My question 1 is if this is a wrong approach and there is a better way to retrieve the xpd file.
    Next to that, I wrote a RFC function to retrieve data in the backend. This function is working and now I try to pass the data to the Form in the GP (using prefilling). The data is never passed, any points that I need to check there. The data used to export is a structure that contains a number of table types, because Adobe has issues with importing tables it seems. The form is working correctly in the backend.
    Points will be rewarded for helpfull awnsers!
    Kind regards & thanks in advance...

    Check double post

Maybe you are looking for

  • How can i verify my MacBook air 13 mid 2012 by my serial no?

    Hey guys! This is swapan. I'm new in this community. And also I'm new user of MacBook air. Recently I've got a MacBook air 13 mid 2012. That's serial no is C02KG11JDRVG on it's back physical part and also in about this mac option. It shows it has cor

  • How to change SQL data source in rule file

    <p>Hi there,</p><p> </p><p>I use many rule files to load dimension and data with EssbaseSQL interface. (100-200 rule files!).</p><p>When need to cahnge information for data sources,  do Ihave to change it always with EAS interactively ?</p><p>Is ther

  • I want my home page to open when I open a new window.

    I set up my home page and all is fine, but when I open a new window, the page that opens is a generic BING page, and I have to click on the home button to get the home page to appear. Is there a way to set firefox to always open my home page?

  • I require help with my first website

    As you can see from many of my recent posts, I am new to web development, and I have decided that I am going to need some help. This forum has been a huge help, and I will continue using it, but the reality of the situation is that progress is slow a

  • Is iMessage down in Canada? My messages are not delivering

    Someone help