on 01-10-2013 12:38 PM
Please explain the use of the following webdynpro methods in detail, if possible with example
I dont require any links to documents..
BIND_ELEMENT
BIND_ELEMENTS
BIND_STRUCTURE
BIND_TABLE
GET_ATTRIBUTE
SET_ATTRIBUTE
regards
deric
You can easliy use the "BIND" methods with the wizard of webdynpro.
You just have to choose the point "set" in tab Context.
Now it depends on where you want to save data. If you chose the node you can bind it as structure or as table (mark the checkbox on context tab). If you chose an attribute inside the node you can bind element/s and i think structure too, if the attribute is of type structure.
If you want to read what value an attribute has, then you choose "read" in tab context and the wizards gives you the coding for reading out the value of that attribute.
If you changed the value of an attribute you choose "set" in tab context and the attribute you want to change. In the following coding just check that the variable is set with your value.
It's easy if you tried it!
regards
Mathias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deric,
BIND_ELEMENT : This method is useful to bind any data\value to a single context attribute of a node.
BIND_ELEMENTS : This method is for binding multiple data\value to multiple context attributes at a time.
BIND_STRUCTURE : This method is for binding a context structure with a structure with values.
BIND_TABLE : This method is for binding data\values to a table context node.
GET_ATTRIBUTE : This method is useful for reading data of an context node attribute. This returns the value of an context attribute.
SET_ATTRIBUTE : This is used to set\bind any value to a single context attribute.
Regards,
Mahidhar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.