2008 Jun 11 3:44 PM
Hi all!
I got a strange issue with the ADD_NODE / DELETE_SUBTREE methods in an ALV-Tree with OOs.
In my Tree, after an user pushes the "A" button, i add some nodes without a problem.
If an user pushes the "B" button, i delete these nodes.
I can make this thing only once, because if the user push again the "A" button, the program add again the nodes, but when try to delete them i got this message
Exception condition "NODE_KEY_NOT_IN_MODEL" raised.
I debugged the program but i didn't find any difference between the first time i add/delete nodes and the second time.
Anyone has a good hint for the problem? :S
2008 Jul 03 8:34 PM
Hello Simone
Without any line of coding it is difficult to analyze the error.
Do you have sample report BCALV_TREE_DEMO available in your SAP system? If so then have a look at its coding. It contains two additional toolbar functions for adding and deleting nodes without any problems.
Regards
Uwe
Hello Simone
Without any line of coding it is difficult to analyze the error.
Do you have sample report BCALV_TREE_DEMO available in your SAP system? If so then have a look at its coding. It contains two additional toolbar functions for adding and deleting nodes without any problems.
Regards
Uwe
2008 Jul 03 8:34 PM
Hello Simone
Without any line of coding it is difficult to analyze the error.
Do you have sample report BCALV_TREE_DEMO available in your SAP system? If so then have a look at its coding. It contains two additional toolbar functions for adding and deleting nodes without any problems.
Regards
Uwe
2008 Jul 04 10:07 AM
Hi,
I think this type of error u would get when system cant get Parent node key.So when adding or deleting node plz check node key under which u are inserting or deleting . i think it would help u.
Reward point if find usefull.
Regards,
Mayank
2008 Jul 04 10:25 AM
I solved it using a little trick that avoid me to add/delete nodes
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |