Skip to Content
avatar image
Former Member

SAP CBTA - Working with tree structure

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 07, 2017 at 08:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2017 at 10:04 AM

    Hi Pragya,

    Please refer to the answer in the link below:

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

    Thanks

    Akhila

    Add comment
    10|10000 characters needed characters exceeded