Recursive node error in ESR
Check result for Data Type: PriceDerivationType | http://alfuttaim.com/xi/storeConnectivity:
Data type Data Type PriceDerivationType | http://alfuttaim.com/xi/storeConnectivity points to itself
Hi Experts ,
I have a datatype part of sap standard content which has a recursive node ( poniting to itself).
I have to copy it to a local name space and use it . When i try to copy it and activate it i am getting this
error .
"Check result for Data Type: PriceDerivationType | http://alfuttaim.com/xi/storeConnectivity:
Data type Data Type PriceDerivationType | http://alfuttaim.com/xi/storeConnectivity points to itself"
Please let me know how do i go abt activating this object.
Thanks in advance and best regards,
Anil
Hi Anil,
When you copy it local namespace, verify the namespace is local or the one which is poiting to itself.
If this is pointing itself, manually you change the namespace which you want and activate it.
Hope this helps.
Regards
Shankar.
Similar Messages
-
Hello PI people.
I have a problem reguarding to a XSD file (standard DSML found here: [DSMLv2|http://www.oasis-open.org/committees/dsml/docs/DSMLv2.xsd]).
When I Import it as external definition to PI Integration builder it all works fine but if I undfold the message "Filter" the there is problem with the defintions for "not" and after one more fold on "and" or "or" the same problem is shown. It looks like PI understands the XSD but it just not permit recursive nodes?
Is it the XSD that dosent meet the PI standard or is it a internal thing in PI that needs to be activated to handle recursive nodes i XSD?
(When a message is mapped with this DSML all the error prone nodes are stripped..)
// JesperHello Jesper,
You can refer to this document for supported XSD and WSDL:
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00a9a425-1769-2a10-9196-bd8eeed72e4c
Once you open this excel document go to row 94 for Recursive Data Structures, it says it is supported but there is a reference to row 143 which says
Recursive data structure must be expanded in design-time manually to the desired depth
If what you are thinking is dynamic recursion, then it is not possible. You have to use Java Mapping/XSLT for that. Now as for the nodes not displaying, right-click on the node and then select expand recursive structure.
Hope this helps,
Mark -
Hi........
Like I am not Able to Create Recursive Node. it is giving Error. Type Comfortable.
Please Tell Me solution ...You may have to explain lot more than this,so that we can understand and help you effective.
What you do exactly? from where you are trying to do ? explain it in step step what you have done so for and also post the exact message.
You must be making somewhere a mistake. This is not a kind of error i hear often. -
[Tree] item and node order ! (Recursive Node)
I made a wd4a has organizatonal structure tree. but I have some problem with the org tree.
I want to have a tree(org structure) in item(person) and node(organization) order.
Root Root
|- Person 1 |- Head Dept
|- Person 2 | |-Person 3
|-Head Dept -> | |-Person 4
| |- Person 3 |-Sales
| |- Person 4 |- Person 1
|-Sales |- Person 2
( to be displayed) (current displayed)
Whiat's the problem?
Although the both of them have a same contents, I really want to display in person and org order .
Plz. help.I solved this problem myself and it makes me very so tired.
I guess that Recursive node tree have some bugs.
If a node have one recursive node and one sub-node and some kinds of attributes,
we have to make a decision on how to display and sort them(sub-node and attributes)
There is a example below as I really want to sort them.
C_Drive Folder
- file 1
- file 2
- Folder 1
- file3
- Folder 1-1
- Folder 2
Context
|-Folder Node
| |-File Node
| | |-File Name attribute
| |-Folder Name attribute
| |-Folder_Content -> Recursive Node
When you meet this situation,you must implement the context nodes and
the names of context node and recursive node must be in alphabet order you want to display.
I am sorry for my crumsy writting English. -
Internal error in R-tree processing: [Recursive fetch error]
Hello,
I seem to be getting an error when using any type of SDO function (SDO_RELATE, SDO_FILTER, SDO_ NN, ... ) on my spatially indexed data. The error I'm getting is this:
ERROR at line 1:
ORA-29903: error in executing ODCIIndexFetch() routine
ORA-13236: internal error in R-tree processing: []
ORA-13236: internal error in R-tree processing: [Recursive fetch error]
The interesting part of this is that I only get this error if I insert more than 31 entries into the table. All the relevant code is posted below, what I do is create the table, then create the metadata from the sqlplus interface. After that I run a java program that does Clear() then Insert() then Create_Indices(). All these run just fine (at least run without telling me about any errors). But as soon as that is all done and I do an SDO query on the data, for example:
SELECT location stop_range_poly_area
FROM stops
WHERE SDO_FILTER
location,
SDO_GEOMETRY
2003, null, null,
SDO_ELEM_INFO_ARRAY(1,1003,1),
SDO_ORDINATE_ARRAY(300,300, 600,300, 600,600, 300,600, 300,300)
) = 'TRUE';
I get the above mentioned error. But if I change my data so that it doesn't have more than 31 entries (doesn't matter which 31 entries, just so long as it doesn't exceed that number) that query (and all of my other SDO test queries on the stops table) seems to work just fine.
Thanks for looking at this,
Brad
---- SQLPLUS Code -----------------------------------------------------------------------------------------------------------
CREATE TABLE stops
stop_id VARCHAR2(4) PRIMARY KEY,
address VARCHAR2(256),
location sdo_geometry
INSERT INTO user_sdo_geom_metadata VALUES
'stops',
'location',
MDSYS.SDO_DIM_ARRAY
MDSYS.SDO_DIM_ELEMENT('X', 0, 600, 0.005),
MDSYS.SDO_DIM_ELEMENT('Y', 0, 800, 0.005)
null
----- Java Code -----------------------------------------------------------------------------------------------------------------
// Clear
// Description:
// This function clears all the data in the stop tables in the database
// given in the connection.
public static void Clear (Connection connection)
Statement statement;
try
statement = connection.createStatement();
statement.executeUpdate("DROP INDEX stops_index");
statement.executeUpdate("DELETE stops");
statement.close();
catch (SQLException e)
System.err.println("SQLExcpetion (Stop.Clear()): " + e.getMessage());
// Create_Indices
// Description:
// Create indices for stops table
public static void Create_Indices (Connection connection)
Statement statement;
String sql_query;
sql_query = "CREATE INDEX stops_index ON stops(location) " +
"INDEXTYPE IS MDSYS.SPATIAL_INDEX";
try
statement = connection.createStatement();
statement.executeUpdate(sql_query);
statement.close();
catch (SQLException e)
System.err.println("SQLExcpetion (Stop.Create_Indices()): " + e.getMessage());
// Insert
// Description:
// This function inserts this object into the stops table in the database
// given in the connection.
public void Insert (Connection connection)
Statement statement;
String sql_query;
sql_query = "INSERT INTO stops VALUES ('" +
stop_id + "', '" +
address + "', " +
"sdo_geometry(2001, null, sdo_point_type(" +
location.x + "," +
location.y + ",null), null, null)" +
try
statement = connection.createStatement();
statement.executeUpdate(sql_query);
statement.close();
catch (SQLException e)
System.err.println("SQLException (Stop.Insert()):" + e.getMessage());
Message was edited by: loos to include the changes proposed by the second poster.Hi,
Thanks for trying but changing those items for the specific failing queries didn't seem to help. Though you do seem to be right about the internal/external polygon problem, so I changed it all my other queries to see if they would fail (that way things would at least be consistent), but it doesn't seem to make a difference. All my old failing quries still fail and my working ones still work. I also changed the co-ordinates as you specified and still have no changes (unless of course the results changed, but right now I'm just looking for queries that compile and run, the results don't matter yet).
Maybe this will help, I'll give you guys both sets of data, one that works and one that doesn't and maybe you can see a problem in the data that I'm just missing or too ignorant to see. The data is simply comma seperated values that I parse into the required fields in the order (id, description, x, y).
So far, the only reason I've been able to find that the non-working data doesn't work is because there are more than 31 rows. I started taking records out of the stops table in a binary search sort of pattern. If I take out stops 100-115 (resulting 29 records) all the queries work, if I take out stops 100-107 (resulting in 36 records) it doesn't work. If I take out 109-115 (resulting in 35 records) it doesn't work. If I take out 1-11 (resulting in 32 records) it doesn't work. If I take out 1-12 (resulting in 31 records) it does work. Here's a table
Take out Stops ---- records left -- Works?
s1-s11 ------------ 32 ------------ No
s1-s12 ------------ 31 ------------ Yes
s100-s115 --------- 29 ------------ Yes
s100-s107 --------- 36 ------------ No
s109-s115 --------- 35 ------------ No
Thanks again for checking this out,
Brad
------- Working Data ---------------------------------------------------------------------------------------
(Student_id, Department, x, y)
Student_1,Computer Science ,296,131
Student_2,Social Science,130 ,279
Student_3,Mechanical Engineering ,392,180
Student_4,Electrical Engineering ,342,322
Student_5,Computer Science ,165,490
Student_6,Scicology ,393,533
Student_7,Physical Therapy ,590,616
Student_8,Civil Engineering ,165,640
Student_9,English ,360,412
Student_10,Economy ,89,32
Student_11,Computer Science ,26,117
Student_12,Social Science,430 ,291
Student_13,Mechanical Engineering ,382,80
Student_14,Electrical Engineering ,542,222
Student_15,Computer Science ,154,290
Student_16,Scicology ,493,323
Student_17,Physical Therapy ,290,426
Student_18,Civil Engineering ,65,230
Student_19,English ,300,412
Student_20,Economy ,44,292
Student_21,Computer Science ,146,431
Student_22,Social Science,405 ,179
Student_23,Mechanical Engineering ,192,480
Student_24,Electrical Engineering ,412,202
Student_25,Computer Science ,265,49
Student_26,Scicology ,33,273
Student_27,Physical Therapy ,186,216
Student_28,Civil Engineering ,365,600
Student_29,English ,309,42
Student_30,Economy ,415,392
------- Non Working Data ---------------------------------------------------------------------------------
(Stop_id, Address, x, y)
s1, 2341 Portland,377,64
s2, 24th St. / Hoover St.,308,22
s3, 2620 Monmouth Ave.,272,138
s4, 2632 Ellendale Pl.,128,110
s5, 2726 Menlo Ave.,85,231
s6, 2758 Menlo Ave.,84,124
s7, 28th St. / Orchard Ave.,183,236
s8, 28th St. / University Ave.,414,308
s9, 30th St. / University Ave.,391,352
s11, 34th St. / McClintock St.,180,458
s12, 36th Pl. / Watt Way,176,622
s13, Adams Blvd. / Magnolia Ave.,218,87
s14, BG Mills Apts.,23,637
s15, Cardinal Gardens Apts.,156,389
s16, Centennial Apts.,373,126
s17, Chez Ronee Apts.,446,414
s18, City Park Apts.,70,323
s19, Dental School,219,478
s96, Founders Apts.,373,192
s97, Hillview Apts.,412,214
s98, House of Public Life,531,303
s99, JEP,304,523
s100, Kerchoff Apts.,473,272
s101, Leavey Library,370,559
s103, McClintock St. / Childs Way,129,553
s104, Mt. St. Marys College,565,127
s105, Pacific Apts.,398,240
s107, Parking Center,525,652
s109, Parkside,78,651
s110, Severance St. / Adams Blvd.,435,202
s111, Research Annex,492,776
s112, Sierra Apts.,352,230
s113, Sunset Apts.,267,278
s114, Terrace Apts.,156,280
s115, Troy East Apts.,402,397
s116, University Regents Apts.,182,181
s117, Watt Way / 36th Pl.,176,622
s119, Watt Way / Bloom Walk,158,653
s120, Windsor Apts.,257,236
s121, Zemeckis Center,476,474
s137, Gate #2,321,715
s138, 24th St. / Toberman St.,377,64 -
How to manipulate recursive node with context api?
Hi, all.
I made a recursive node in my context. So it is like a tree.
When I choosed one child node in my tree, how can I get it`s current element?
Thanks a lot.Hi Louis
Check this PDF link
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf
Also check this elearning link.It gives info of supply function
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/60086bd5-9301-2b10-6f97-a14366a5602b&overridelayout=true
Regards
Ruturaj -
Dynamic context in web dynpro abap: recursion node is possible?
Hi,
i'm working with web dynpro ABAP and I need to create a dynamic recursion node. Is possible?
thank you.
Regards.
AlHello Saravanan,
this is my code that creates a context node with recursion node, but supply_method i never called. why? could you help me?
CALL METHOD lr_root_info->add_new_child_node
EXPORTING
name = y_name
is_mandatory = abap_false
is_multiple = abap_true
is_mandatory_selection = abap_false
is_multiple_selection = abap_true
is_singleton = abap_true
is_initialize_lead_selection = abap_true
is_static = abap_true
supply_method = 'SUPPLY_NAV_LIST'
RECEIVING
child_node_info = lr_node_info.
ls_attribute-name = 'TEXT'.
ls_attribute-type_name = 'STRING'.
CALL METHOD lr_node_info->add_attribute
EXPORTING
attribute_info = ls_attribute.
ls_attribute-name = 'ENABLED'.
ls_attribute-type_name = 'WDY_BOOLEAN'.
CALL METHOD lr_node_info->add_attribute
EXPORTING
attribute_info = ls_attribute.
lr_node_info->add_recursive_child_node( child_name = y_name_nav child_info = lr_node_info is_static = abap_false ).
Thank you.
Al -
How to get current node element for recursive node.
Hello Xperts,
I have a requirement where I need to find the current node element of the recursive node.
I was trying following code for the same
Data:
selected_elem type ref to if_wd_context_element.
selected_elem = WDEVENT->GET_CONTEXT_ELEMENT( NAME = 'CONTEXT_ELEMENT' ).
selected_elem ->get_static_attributes(
IMPORTING
static_attributes = sel_attri ).
But it does not work for me and I always get 1st node value.
Please help me in this issue.
-AshutoshHello ,
If you implementing a simple tree ( not table tree ) and you want the selected element for
OnLoadChildren event .
Then create an importing parameter CONTEXT_ELEMENT of type IF_WD_CONTEXT_ELEMENT
in the event handler of onLoadChildren .
Webdynpro framework automatically filled up the context element with the current node in the tree .
I tried it , It really worked for me .
If you have a table tree then you need to create an importing parameter PATH of type String in tha event handler .
Webdynpro frame automatically fills the PATH .
the use can use the following method to get the element from the PATH .
wd_context->path_get_element( path ).
I tried it , It also worked for me .
Regards
Vivek
PS : please provide the points if answer is helpful . -
Reading and modifying data in a recursive node
Hi All,
I am using a TreeByNesting column in a table UI element of my component.
For this purpose I have created a node in the context - ('TREE') which contains a recursive node - ('RECURSIVE_TREE').
What would be the simplest way to read the data from this node ? And how do I go about changing a single line of information
within the node ?
Thanks,
FathimaWhat would be the simplest way to read the data from this node?
Reading data from a recursive node is no different to reading any normal node. It's just that you have a very simple way of holding the same structure.
Once you have a reference to the element of a node (a single line of data), then updating it is no different to updating a line of a table.
More issues are associated with making and setting lead selections for an element (all parent elements also need to be lead selected and no child elements). Searching through the hierarchy, etc.
Where I have used this functionality I have often set up search tables with the key data that I want to search in a flat table and a reference to the corresponding element - much easier to search then - without having to resort to recursive coding!
Could you elaborate a little on what exactly you are having an issue with?
Cheers,
Chris -
WD ABAP: Lead selection on a recursive node
Hi,
I would like to know if lead selection is permitted on a recursive node in WD ABAP.
As of now, methods 'set_lead_selection_index' or 'set_lead_selection' do not cause lead selection to change in my view, and the lead selection rests only with the first row in my table..(I have set the rowSelectable property to YES for my table.)
Also, method call 'set_selected' performed on my target element does not solve the problem.
Any help much appreciated!
Best Regards.Hi Adithya,
Yes, you can have a leadSelection on a recursive node and it can be changed by the same methods that are used for non-recursive ones.
Best regards,
Thomas -
WD ABAP: Recursion Nodes that Repeat Tree Nodes with Embedded Tables ???
At Rich H's suggestion, I'm posting this here as well as in the blogs.
Suppose you've got a tree context with a node that has a table embedded under it. (For example, the TREE_WITH_TABLE view of WDR_TEST_EVNT has this kind of context substructure.) Call this node "NODE_WITH_TABLE."
You now define a recursion node underneath "NODE_WITH_TABLE" and specify "NODE_WITH_TABLE" as the repeated node for this recursion node. Call this recurion node "RECURSION_NODE".
Lo and behold - the table fills properly when you're on any instance of "NODE_WITH_TABLE", but not when you're on an instance of "RECURSION_NODE".
I'm hoping that:
a) I'm doing something wrong;
OR
b) There's an easy work-around/alternative I'm not seeing
OR
c) SAP will give recursion nodes enough memory to carry any table(s) embedded in the nodes they're repeating.
'Cause I sure don't want to have to define "n" levels of tree-nodes that have different copies of the same table(s) embedded in them.
Message was edited by: Armin Reichert/people/david.halitsky/blog/2006/08/16/recursion-nodes-that-repeat-tree-nodes-with-embedded-tables-in-wd-abap-not
Maybe you might want to back out your weblog as it is not really a place to ask these types of questions. Think of it this way, if you are allowed to do this type of weblog, what is stopping any other weblogger. Hence the weblogs would just be another forum, which I don't think anyone wants.
Regards,
Rich Heilman -
Hi everybody,
i would like to ask if it is posiible to map context node with recursive node from controller to view. I try to do that by the recursive subnode is disabled. When that is not possible can that any one explain why?
Regards
BogdanHello Bogdan,
Recursive context nodes cannot be mapped. You may refer this <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ea/a5384162316532e10000000a1550b0/frameset.htm">article</a>
Best Regards,
Bala -
Call Library node error [1]
Hi,
I've written a program to control the angular position by using PID control algorithm.
The program works fine but after certain amount of time. The system hanged and need to shut down the LabVIEW and restart.
The warning message pop up is showing in the attached file.
One more question, is it the PCI-6221 M-series card can used for real-time application.
Just for your information, I'm using:
- LabVIEW 7.1
- PCI-6035E
The program is attached to the message "Call Library node error [2]"
Thanks.
Best regards,
IANES
Attachments:
Error11.bmp 405 KBHi,
It would be very helpful if you could post the code you are using to generate this error. These call library errors can be caused by many things.
Check out the following KnowledgeBases:
http://digital.ni.com/public.nsf/websearch/0120D13E4B4C94BB86256A3F007695EE?OpenDocument
http://digital.ni.com/public.nsf/websearch/58596F5D41CE8EFB862562AF0074E04C?OpenDocument
-Sal -
Recursive node and Non Recursive node
Hi,
What is the difference between Recursive node and Non Recursive node ?
Thanks,
TejaHi Teja
Recursive node
If you wish to represent a recursive data structure within the context, a recursive node is the correct node to use. The simplest example of recursive data within a hierarchical structure is a file system. A dictionary can contain either files or subdirectories. This definition is then repeated for each subdirectory level down the hierarchy.
Within the context, a recursive node is a special node that has only two properties: name and repeatedNode. As with any context node, a recursive node must itself name, but the repeatedNode property is where the recursion is defined. This property holds a reference to some parent node and indicates that, at runtime, the location of the recursive node will be occupied by a node of the type indicated in the repeatedNode property.
You should think of a recursive node as a design time placeholder used to indicate a node will be created at this location at runtime, and will be of the type named in the repeatedNode property.
The node name identified by repeatedNode must lie on the direct path back to the context root node.
When a recursive node is created at runtime it always created as a non-singleton node. This is a hard-coded feature and cannot be changed.
Non recursive node is opposite to recursive node
Regards
Ruturaj -
Hi All,
What is recursive node what is the use of it .....
waiting for your response...
Regards,
ShilpaHi
Recursive Node is used when depth of child nodes under a given context while not be known untill at runtime.
Recursive Node have two properties : Name and repeated Node
https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/value%252bnodes%252cmodel%252bnodes%252crecursive%252bnodes
/people/sap.user72/blog/2005/06/05/tree-control-in-webdynpro
/people/bharadwaj.p/blog/2006/12/20/image-recursive-tree-with-an-action
Thanks,
Tulasi Palnati
Maybe you are looking for
-
Hi all, I am working on oracle9i I am using the Merge Statement to INS/UPD rows I am using loops to I am updating 29 rows as insert and 1 row a update Values are inserting and updating correctly in table But in Sql prompt I am getting the output as b
-
Form Filter Based On Query Results
How can I create a filter on a form based on the results of a query. i.e. The Query [ESS_City] looks at the form's field [Current_User] and generate a list of cities [City_ID] that I want to use to match the form [ESS_QUEUE] field [City_ID] Query Nam
-
Export to .avi (data rate customize)
I had an fcp project I was working on before, and to export I would use quicktime conversion to create an .avi file. Before, I would be able to adjust the data rate settings in order to get better quality, and it would work fine. However now after re
-
How do i take a head from one photo and put it on a body on a different photo?
I want to take the head of one person on a photo and place it on a different photo? How do I do that in Photoshop Elements??
-
IPod: Randomly skipping forward and backward through songs
I purchased my iPhone almost 2 months ago and have been using the iPod almost every single day without any problems. The phone has the latest update (1.1.1). Yesterday I was listening to the iPod and a call came in; the music faded out, the persons p