on 01-06-2007 2:01 AM
hi, all
Error when processing your request
What has happened?
The URL http://erp2005.besuretech.com:8000/sap/bc/webdynpro/sap/zz_test2/ was not called due to an error.
Note
The following error text was processed in the system E05 : Number of Elements of the Collection of Node VIEW_RESULT.1.NODE_FLIGHT Violates the Cardinality.
The error occurred on the application server erp2005_E05_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CHECK_COLLECTION of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: IF_WD_CONTEXT_NODE~BIND_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: WDDOINIT of program /1BCWDY/BHUE0QU1G60WIHY7JMLD==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/BHUE0QU1G60WIHY7JMLD==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
Who can help me?
Thanks a lot!
Hai,
I have come acress the same error a lot of times.
case1. In context node may be you have give cardinality as 1: 1 ,if it is like that change to 0: n or 1: n.
case 2: when you were coding in the method, you may have called the node like
datanode = wd_context->get_child_node( name = 'node1' ).
from this node you were taking some of the values for the select criterion, which might be the 1:1 .this is fine
after that you are writing a select query,assume you have populated in the internal table.then by mistake you may write a
statement like
node->bind_elements( it_sflight ).
what this does is ,like trying to bind mutilple records to a 1: 1 node. this will result in a short dump.
to change this dump ,you need to call a node which is 1:n
datanode1 = wd_context->get_child_node( name = 'node_flight' ).
---
---
datanode1->bind_elements( it_sflight ).
hope this defenitely solves your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pei,
As the RABAX says:
"Number of Elements of the Collection of Node VIEW_RESULT.1.NODE_FLIGHT Violates the Cardinality."
Perhaps the node was set to 1:1 or 1:N and is empty for some reason - or it was set to 0:1 or 1:1 and you tried to supply more than one context element.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.