on 02-11-2022 6:19 PM
Hello,
I'm creating an APP based on RAP - managed version. My hierarchy looks like this:
1. Business Partner (root node)
1.1 Supplier (child node level 1)
1.1.1 Supplier Company (child node level 2)
1.1.1.1 Supplier With Holding Tax (child node level 3)
All UUIDs are being correctly generated for the first 3 nodes, but for the last one it does not map the supplier UUID as can be seen in the image. It's like it loses the link between the 4th and 2nd nodes and then it does not save it in the custom database table
I've seen several examples but sadly all of them don't go further the 3rd level. Is there any known limitation to this? Or is there anything I could be missing on my behavior definition?
Thanks in advance,
Jorge
Hi Jorge,
Since my answer would have been to lenghty I have posted it as a blog post for your convenience.
How to design managed RAP business objects with 3 or more levels of nodes | SAP Blogs
You just need one UUID based key fields. And on higher levels you just need to store the UUID value of the key field of the parent entity and on deeper levels also the UUID value of the key field of the root entity.
Fortunately I was able to generate this sample quickly using my openSource RAP Generator .
Hope this helps,
Kind regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.