cancel
Showing results for 
Search instead for 
Did you mean: 

Differnences in the Node and Element of Context

Former Member
0 Kudos

Hi All,

In the component controller of a simple webDynpro application(One) I have created a model node(abc).When I do this two interfaces are created as IPublicOne.IAbcNode and IPublicOne.IAbcElement . What is the difference between these two interfaces and what is their importance.

Thanks in advance.

Regards,

ND.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

you can set the values of attributes in elements and add the element to the node.

IPrivate<ViewName>.I<Name>Node node = wdContext.node<Name>();

IPrivate<ViewName>.I<Name>Element element = wdContext.create<Name>Element();

element.set<Param>(<Paramvalue>);

node.addElement(element);

See this help

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/92/1d3d41d4cc4c0de10000000a1550b0/frameset.htm">Nodes and Node Elements</a>

Kind Regards

Mukesh

Answers (0)