2025 Mar 11 7:13 PM
Hello,
I'm hoping someone has run across this issue before. I have seen a ton of similar posts, but none of the solutions that I've tried has worked. I'm building this in BTP using Business Application Studio and connecting to our on-premise ECC system.
I'm trying to build an SAPUI5 Tree Table with only 1 level to expand (possibly 2 in the future). The child nodes are not showing up under the parent nodes. Nodes 3 and 4 should be under the first node and node 5 should be under the 2nd node.
The first two rows below should be parent nodes, I’ve added NodeID, ParentNodeID, HierlevelID and DrillState to the table just to show what values are coming through.
Appreciate your time and I'm open to any and all suggestions or other ways to do this!
The nodes do expand, but only a blank line is shown.
This is the CDS view that I'm using.
This is my controller logic - only added to replace the 0 with ‘null’ for the ParentNodeID. The output is the same with ‘null’ and 0 as the value (If anyone has a better solution to get ParentNodeID set to 'null", please let me know).
My view.xml
Hello,
I'm hoping someone has run across this issue before. I have seen a ton of similar posts, but none of the solutions that I've tried has worked. I'm building this in BTP using Business Application Studio and connecting to our on-premise ECC system.
I'm trying to build an SAPUI5 Tree Table with only 1 level to expand (possibly 2 in the future). The child nodes are not showing up under the parent nodes. Nodes 3 and 4 should be under the first node and node 5 should be under the 2nd node.
The first two rows below should be parent nodes, I’ve added NodeID, ParentNodeID, HierlevelID and DrillState to the table just to show what values are coming through.
Appreciate your time and I'm open to any and all suggestions or other ways to do this!
The nodes do expand, but only a blank line is shown.
This is the CDS view that I'm using.
This is my controller logic - only added to replace the 0 with ‘null’ for the ParentNodeID. The output is the same with ‘null’ and 0 as the value (If anyone has a better solution to get ParentNodeID set to 'null", please let me know).
My view.xml
2025 Mar 12 8:20 PM
2025 Mar 17 12:39 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |