cancel
Showing results for 
Search instead for 
Did you mean: 

Error:The node does not contain any elements

Former Member
0 Kudos

Hi Experts,

I am getting this error.

  • The following error text was processed in the system SR6 : The node does not contain any elements. COMPONENTCONTROLLER.1.ROADMAP

  • The error occurred on the application server server6_SR6_00 and in the work process 0 .

  • The termination type was: RABAX_STATE

  • The ABAP call stack was:

Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP

Method: IF_WD_CONTEXT_NODE~SET_STATIC_ATTRIBUTES of program CL_WDR_CONTEXT_NODE_VAL=======CP

Method: WDDOINIT of program /1BCWDY/G25NECI0LTPP66VI3KOI==CP

Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_INIT of program /1BCWDY/G25NECI0LTPP66VI3KOI==CP

Method: DO_INIT of program CL_WDR_DELEGATING_COMPONENT===CP

Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP

Method: INIT_CONTROLLER of program CL_WDR_COMPONENT==============CP

Method: INIT of program CL_WDR_CONTROLLER=============CP

Method: INIT of program CL_WDR_CLIENT_COMPONENT=======CP

Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP

What is the problem here?

Thank you.

Lalitha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check the cardinality of the node.If it is 1.n change it to 0.n.So that even if there are no entry it will not instantiate the elements in the node.

Hope this helps.

Regards,

Kedar

Edited by: Kedarmath Tingrikar on Apr 8, 2010 1:55 AM

Former Member
0 Kudos

(Assuming you have created elements for node...)

Definitely it is cardinality problem, please check that... Try to understand below points to avoid such error.

When a node is created in the context of a Web Dynpro component, the cardinality of the node is specified. The cardinality defines how often a node is to be instantiated at runtime u2013 that is, how many elements of this node are available at runtime.

u2022 1u20261 Only one element is instantiated.

u2022 0u20261 At runtime, no more than one element is instantiated, but it is also possible that no element is instantiated.

u2022 1u2026n n elements can be instantiated, but at least one element must be instantiated.

u2022 0u2026n The number of instantiated elements of the context node can vary.

The cardinalities 0..n and 1..n correspond to the declaration of an internal table. The cardinality 1..1 corresponds to the declaration of a structure.

Thanks,

Swanand.

Former Member
0 Kudos

Hi,

But i changed o..n to 1..n. It's working fine.

Lalitha.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kedarmath,

Thank you . My problem is solved.

Regards,

Lalitha.