cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Between Node and Attribute

Former Member
0 Kudos

Hi,

Please want to know about Node and Attribute......in wat case i need to use attribute

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Meenakshi,

Context Node is like a structure / table type which holds attributes inside  and also it can have child nodes.

Context node acts as structure when cardinality set to  0...1 / 1...1

context node acts as table type when cardinality set to 0...n / 1...n

An attribute is like a field inside a structure / table.

When you have a requirement have data displayed in tabular format you would go with a node 0...n/1..n and it can have many attributes inside it and each column editor is bound to an attribute.

Similarly, if you have a requirement for form / few input fields on screen, you could go directly creating attributes under ROOT node itself.

Please refer the below link to understand the concept :

Context Nodes and Attributes at Design Time - Web Dynpro ABAP - SCN Wiki

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Hi Ramakrishna,

Such a clear explanation about node and attribute........Now i had a clear idea about the difference.....thanks a lot

Answers (0)