WD - Adobe Interactive Form -  Bound data node must not be empty!

Hello,
i have a problem to display the result of a search view in an Adobe PDF. I got the error-message "Bound data node Node(ResultPDFView.FlightList) of InteractiveForm must not be empty!"
To develop a prototyp i have changed the Flight-List example. I have added a new view, mapped the data of the model to the data of the customController. At the wdInit-Method i have initialized the nodes.
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
     // Create a new element in the Bapi_Flight_Getlist_Input node
     Bapi_Flight_Getlist_Input bapiInput = new Bapi_Flight_Getlist_Input();
     wdContext.nodeBapi_Flight_Getlist_Input().bind(bapiInput);
     // Create new elements in the Destination_From and Destination_To nodes
     bapiInput.setDestination_From(new Bapisfldst());
     bapiInput.setDestination_To(new Bapisfldst());
     // Create a new element in the Bapi_Flight_Getlist_Output node
     Bapi_Flight_Getlist_Output bapiOutput = new Bapi_Flight_Getlist_Output();
     wdContext.nodeOutput().bind(bapiOutput);
     // Create a new element in the Flight_List node          
     Bapisfldat     bapiFlightList = new Bapisfldat();
     wdContext.nodeFlight_List().bind(bapiFlightList);
     bapiFlightList.setAirline("LH");
    //@@end
If i start the application i can see all the information (the airline) in my PDF-Dokument, but after the Bapi-Call
i got the error message !
  //@@begin javadoc:onActionSearch(ServerEvent)
  /** Declared validating event handler. */
  //@@end
  public void onActionSearch(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionSearch(ServerEvent)
     wdThis.wdGetFlightListCustController().executeBapi_Flight_Getlist_Input();
    //@@end
Where is the problem ? Must i mapp the result element to the currentContextElement ?
Thanks for help !
Regards
Jürgen Berndt

Hi Jurgen
Were you able to find out the solution for this? I am getting the same error on a much simpler application - I am trying to do the tutorial given on SAP Help Site at
http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
Thanks
Pankaj

Similar Messages

  • Bound data node Node must not be empty- error

    Hi All,
    We created a new value node in the context for our data source and set the cardinality to 0..N. We know that we need to initialize and bind this but don't know how so we're getting the erro "bound data node Node must not be empty" when we run the form.
    Please help.
    Thanks,
    Tyken

    Hi Jurgen
    Were you able to find out the solution for this? I am getting the same error on a much simpler application - I am trying to do the tutorial given on SAP Help Site at
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    Thanks
    Pankaj

  • Using Adobe interactive forms in CAF

    Dear,
    We're setting up the following flow :
    1/ Adobe Interactive Form -> Enter data, press button, triggers webservice, starts GP.
    2/ GP -> Does RFC call with values from form, returns different values
    These steps pose no problem at the moment, but we're unsure how to proceed with the next steps. A new interactive form needs to be sent with the new data, which should then trigger the next step in the GP upon completion.
    Is this possible, to do this and still stay in the same GP?
    We can generate a form with an RFC call if necessary, I'd even prefer this, but then how do we know what to send back to the GP to stay in the same GP? Can we call a specific step in an existing GP to trigger the next one?
    Thanks in advance,
    Frederik-Jan

    Basically this example described by SAP itself :
    http://help.sap.com/saphelp_nw04s/helpdata/en/c4/8d4a4273bb3830e10000000a155106/frameset.htm
    The problem is, I haven't found the description of how to do this. Only that it's possible, which is little help sadly enough.
    Example 1: Offline Form for In-Process Use
    You can use such form to execute certain process steps offline and get data required for the next steps in the process.
    For example, you can create a form that is sent to the processor by e-mail. The recipient enters the required data in the form offline, and submits it back to Guided Procedures (GP). The input data is then passed to the relevant parameters of the next action in the process.
    To implement this scenario, you must:
    ·        Design an appropriate interactive form with input fields for all required data, and a Submit button that sends the information back to the GP framework.
    ·        Create an interactive form callable object with the following configuration parameters selected:
    ¡        Enable Use in Guided Procedures
    ¡        Create an Offline Interactive Form and Send it by E-Mail
    ·        Add the callable object to an action, and insert the action into the relevant block and process.
    ·        Consolidate the parameters, so that the output of the interactive form is mapped to the input of the next action in the process.
    The predefined Check User block implements this scenario.

  • Problem setting an Open Password on an Adobe Interactive Form

    Hi,
    I'm generating a series of Adobe Interactive Forms using data pulled from R3 via BAPIs.  The PDFs are created without an issue but I want to put an Open Password on them (a password the user must enter in order to open the PDF). 
    From my reading of the APIs the following code should do this, however it doesn't.  The PDF which is created simply has no password protection at all.
    Does anyone have any suggestions?
                IWDPDFDocumentCreationContext creationContext = WDPDFDocumentFactory.getDocumentHandler().getDocumentCreationContext();
                creationContext.setTemplate(templateSourceOutputStream);
                creationContext.setData(dataSourceOutputStream);
                creationContext.setDynamic(true);
                creationContext.setProtection("openpasswordalias", null, null);
                IWDPDFDocument pdfDoc = creationContext.execute();
    Edit: My apologies, this should have been posted in the   Expert Forums  » SAP NetWeaver  » SAP Interactive Forms by Adobe  forum rather than here.  I have reposted this question there:
    Edited by: David Michell on May 9, 2008 9:02 AM

    sure you can. you can create that pdf within a webdynpro compoment with interface. that way information can be passed back and forth between the pdf and the webdynpro context and the gp context. how to create a pdf within webdynpro is very well documented on sdn as well as how to create a webdynpro with gp interface.

  • ISR with Adobe Interactive Forms: java.io.FileNotFoundException

    Dear SDN readers,
    I am currently working on an ISR with Adobe Interactive Forms project, and I must say that I find the configuration rather complex, however until now I kept making progress.
    Now I've come to the next error given by webdynpro, when testing the scenario from the testbutton in transaction QISRSCENARIO:
    java.io.FileNotFoundException:
    .\temp\webdynpro\public\sap.com\pcui_gp~isr\webdynpro\
    Components\com.sap.pcui_gp.isr.isrprocessevent.showform.
    VcISRShowForm\
    ..\..\sap.com\pcui_gp~isr\IsrForm\
    ~wd_key18_1135844968237\unknown.pdf 
    ... <i>(some more info)</i> ... (The system cannot find the path specified)
    Indeed, this path does not exist on our portal. I assume this has something to do with credential files, but since the ADS is running fine from ABAP I cannot see why.
    Has anyone experienced this before, or can someone point me into a direction to look for?
    Thanks in advance and best regards, Hans

    Found it. The problem occurs on the conbination ECC SP8 and Netweaver 13.
    See note 874130, but make sure to read it in German.
    Message was edited by: Hans Gmelig Meyling

  • Process data of none bound fields in Adobe Interactive Form (stack 13)

    I use a Adobe interactive form (made in Designer 7.0)which is a combination of fields bound to Web Dynpro Context fields and fields which has no binding at all (in Designer: Default binding = Normal). The Adobe Document Services on the J2ee server is of stack 13.
    When I save the Adobe Form (off-line scenario)from the Web Dynpro Application, only fields bounded to the Web Dynpro Context are saved in the Form on my local file system(no warning that data isn't saved).
    When I open the Form for off-line editing, I can change bounded fields and none bounded fields. But when I save and re-open the form, the data in the none bounded fields is lost.
    I used the same scenario in a stack 11 j2ee/portal system, but then all data (bounded or not) in the form was saved!
    Could anyone explain the difference, but better tell me how to save both kind of fields in the off-line form (and bounding all fields is <u>not</u> a solution).
    Thanks in advance,
    Richard

    Hi,
    Check your ADS settings, I feel it's due to lack of some config in ADS only.
    Regards
    <i><b>Raja Sekhar</b></i>

  • 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

  • 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

  • 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

  • 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

  • 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

  • Saving data in Adobe interactive Form

    Hi,
       I have created a simple Interactive form. But i am not able to save data into it in offline mode. I tried same thing with the standard sample templates given along with the Adobe designer(trial version) but there also i am not able to save data in PDF.
       Can anybody please tell me how can i save data in PDF document?
    Thanks and Regards,
    Atul.

    Hello,
    Your form generated directly with the LiveCycle Designer is not interactive as it didn't go through ADS.
    For this, you have to embed it in a web dynpro application, bind the application context to the fields in your form and run your application.
    You'll can download locally the PDF, which can now store data (there are some scenarios examples in <a href="/people/francois.gendebien/blog/2007/03/22/sap-interactive-forms-by-adobe-offline-scenarios-possibilities">this blog.</a>)
    Regards,
    Francois

  • 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

  • Online Adobe Interactive Form must be changed before SAVE works properly

    HI guys,
    We are using Adobe Reader X.
    We arr launching an ABAP Web Dynpro application that has an Adobe Interactive Form linked to it.
    Our Adobe Form has many "subforms"  and we determine what you see based off your Web Dynpro choices
    The problem we are having is the display of the Adobe Form will change perfectly, but if you SAVE a copy to your PC using the Adobe buttons, what gets saved to your PC doesn't match what you see on the screen.
    However, if you change any data on the Adobe Form and then SAVE, the version on your PC now matches what you see on the screen.
    Has anyone else run into this?
    Thanks,
    Anthony

    Hi Antony,
    At the 1st intance, you have data completly, and on change event you are making the subforms visibility dyanmically.
    Fine now once the form is saved locally, and then its opened, the Abobe reader doesn't know the visibility status.
    So here again on form ready check the repective field value which treggers its visibility and set its presence.
    For example: if the form is like flowing to different users in a workflow, to maintain its earlier status this is how I do it.
    which mean I will have a same validation and script for both form ready & change events.
    Hope this helps you out.
    Cheers,
    Sai

  • Bound data node Node of InteractiveForm must not be empty

    I try to generate a pdf document with name and surname in web dynpro.
    I have this context
    Pdf
         - Name       (string)
         - Surname  (string)
         - pdfSource (Binary)
    I set this options in the properties of InteractiveForm:
    dataSource :  Pdf
    displayType:  activeX
    mode         :  updateDataInPdf
    pdfSource   :  Pdf.pdfSource
    In the implementation tab I add the following code lines (Add the source code to the wdDoInit method):
    wdContext.currentPdfElement().setSurname("xxxxxxx");
        wdContext.currentPdfElement().setName("xxxxxxx");
    But when I deploy my applications I have this error:
    Bound data node Node(SchedaView.Pdf) of InteractiveForm must not be empty!
    Can you help me?
    Thanks!!!

    Hi shanto aloor,
    I have configured the ADS, but now I have another error:
       java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:134)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
        at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
        ... 43 more
    Can you help me?

Maybe you are looking for

  • Architectural Layout Templates ?

    Hi, I have a presentation in a few days that I need to present 2 different design ideas ( tents basically ) I'm looking for any inspiration or InDesign templates to help me with the layout. 90% of the page will be of graphics, so text is minimal, but

  • Webcam is not working even after I reinstall the system software

    My webcam is not working even after I reinstall the system software. My questions are follows: Should I bring it to repair or get a external webcam? At approximately how much would be cost for repair? Which webcam I should get? Thank you very much! T

  • Editing Tracks Info on iTunes 11.0.0.163

    I am using Itunes 11.0.0.163 and I bought an album from the iTunes store. The tracks are not in the correct order and it is one of those albums that sounds better if in the correcr order. When I right click on a song, get info and then info, it is al

  • Ipad2 crashes multiple times a day after ios7 upgrade.

    Ipad2 crashes multiple times a day after ios7 upgrade. This does not seem to be an app specific problem and has happened with Safari, other browsers, games, books, etc. The screen freezes and then the app closes to the reveal the desktop. I use the i

  • Goods receipt items cannot be entered

    Message no. RU426 Hi,     I am getting error during the Confirmation in the Mov Type 531 and p62 at the time of Goods Receipt through Tcode CO11. The 101 is OK and accepting. Please suggest me how i can rectify it. Thanks Rahul Edited by: sharmasappp