Skip to Content
author's profile photo Former Member
Former Member

ABAP Web Dynpro errror

Hello ABAP experts,

I have an error while creating ABAP Web Dynpro application.

I have created an Input view with a label and a text field.

However, during activation I get the error

Property "value" of element "INPUT_FIELD" must be bound.

I have tried to create a Binding for this Text field.

Would someone help me regarding this?

Thanks in advance.

Himanshu Limaye

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 08:11 AM

    *Have you created any node or attribute ? Create a attribute in context node and then bind it.*

    Best Regrads,

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 08:15 AM

    Hi Himanshu,

    Welcome to Web dynpro! In Web Dynpro the data is held at context level in context nodes & attributes. When you place an input field on your layout you need to have a corresponding context attribute to save it to. So go to the context tab of your view and first create a node (say NODE1) and then right click on this node and create an attribute under this. ( say ATTR1) Also make sure that the node properties are set like below:

    Cardinality: 1..1 & Selection: 0..1

    Then go to your view layout & select your inputField. Now on your right hand side you can see the various properties that you can set for this ui element. You will have a property called, "value". Press on the button at the far right hand side of this property. You will get a popup window showing you the contents of your context node. Double click on the context attribute which we had created earlier (ATTR1) for binding to our input field. Thats it... Your binding for the inputField has been done. Also try go through this [example|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712] to check out a basic example by Rich Heilman.

    Regards,

    Uday

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 08:16 AM

    in that view itself we have tab context click that , create any attributes r node there(assign field it is like that of declaration)....

    then u come to properties of the i/o field click the button near value so that u will get pop up there u can find fields , from there select the field and bind.....

    Add a comment
    10|10000 characters needed characters exceeded

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.