cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro ABAP: data binding for node having subnodes and attributes

former_member194099
Active Participant
0 Kudos

Hello,

Problem description:

There is parent node (cardinality 0..n), which has some attributes and also a sub node.

This parent node has to be bound to an internal table. The fields of internal table correspond to the attributes of the parent node. Now if a "bind_table()" method is used to bind this parent node to the internal table, will it work? If there is any other way to do it let me know!

Regards

Sagar

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharadha1
Active Contributor
0 Kudos

Hi Sagar,

If you use the bind_table() method on the parent node, only the attributes( and not the subnode) of the parent node will get set with the values from the internal table. To set the values for the subnode, u have to use bind_table() method on the subnode seperately.

Hope this helps.

Thanks and Regards,

Sharadha.

former_member215843
Active Participant
0 Kudos

Hi Sagar,

yes, of course it will work. The use of this method is to fill a node with cardinality (..n) with the necessary data.

Regards, Regina