Skip to Content

Bound data node Node of InteractiveForm must not be empty!

Hi,

i just learning web dynpro by SAP NetWeaver Developer Studio, when I develop a program that has create data function, (I use BAPI..."BAPI_FLBOOKING_CREATEFROMDATA"), after I run it, ittell me "com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Bound data node Node(BookingCompView.Bapi_Flbooking_Createfromdata_Input) of InteractiveForm must not be empty! ", how can I resolve this problem? and someone can teach me how to develop a program by BAPI not only query but update data function?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 30, 2008 at 10:39 AM

    Hi Evans,

    You might have assigned the the data source of the interactive form to the context node of the view.

    Please change the cardinality of the DataSource Node to 1:1 from 0:1 your problem will be resolved.

    Cheers

    Satya

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi, Satya,

      I set the node's cardinality to 1:1, and show "com.sap.tc.webdynpro.progmodel.context.ContextException: Node(MyController.Bapi_Flbooking_Createfromdata_Input): cannot fill a ModelNode automatically. Change the cardinality or use a supply function.".

      Am I choose wrong BAPI?, I want to create a flight booking data, so I choose the "Booking Data" and "Reserveonly" and "Test_run" in the "BAPI_Flbooking_Createfromdata_Input",

      I ever try it and success in BAPI on the SAP GUI, so I don't know what's wrong.

      Best regards,

      Evans.

  • Posted on Jan 31, 2008 at 08:54 AM

    Hi Evans,

    Maybe you can create a New Attribute node with cardinality 1:1 for the adobe form and write your own method to load data from other model node.

    Best regards,

    John

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi John,

      It seems my BAPI compont is master and detail structure, i ever try another BAPI compont and only one table, it's ok, but if i use BAPI compont has more than one table, it will be wrong.

      node's cardinality from 0..1 to 1..n, i already try it all, but no one can solve this problem.

      Best regards,

      Evans.

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.