cancel
Showing results for 
Search instead for 
Did you mean: 

Uses of below Web dynpro Methods in detail ?

former_member215561
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.