Skip to Content
0

SAP CBTA - Working with tree structure

Apr 20, 2017 at 09:27 AM

119

avatar image
Former Member

Hi Guys,

I am having this issue from really long time now, if anyone has worked on sap tree structure, please help.

I am trying to search a node in tree structure dynamically. But using the search option given in sap , result only gets highlighted not selected , so when i click over that particular node while recording it hard codes the URI . Now while execution if i search another node it will not work. It will select the same node again and again.

I have tried lot of options like trying to get the text of each node and subnode of the tree to loop over it, till it finds desired node. But this is not working as node text comes in sub-property of the selected node in object spy. And i'm not able to retrive the sub-property.

Below is the screen shot , in which the node is highlighted but not selected i want to select it dynamically during execution.

Solman :- 7.1 sp 14

CBTA :- 3.0 sp6

Thanks in advance.

tree-structure.png (10.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Paul Alexander Hurtado Hernandez Jun 07, 2017 at 08:32 PM
0

Hello guys, I have the same requirement, how to select a node of a tree for the Text and not the Nodeid?, I have tried all the related components and the task seems not possible, it is a real problem because in some transactions the node number changes because of the introduction of new nodes.

Best Regards

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 14, 2017 at 10:04 AM
0

Hi Pragya,

Please refer to the answer in the link below:

https://answers.sap.com/answers/306703/view.html

Thanks

Akhila

Share
10 |10000 characters needed characters left characters exceeded