Quantcast
Channel: SCN: Message List - BOPF Application Framework
Viewing all articles
Browse latest Browse all 726

Re: How to Create modelled Association between 2 child node using Parent key?

$
0
0

Hi David,


What is the best "workaround" for this problem in the SADL/BOPF world for the following scenario than:

 

One BO with three subnodes:

 

  • Location
  • ---Location Item (Primary Key Location-Item-Id)
  • ---Plan (Location dependent)
  • ------Plan-Item

 

Plan-Item does have an attribute "Location-Item-Id" which is referencing to one (1..1) location item.

 

Requirement: Make a SADL based request to read all Plan Items of one Plan with expanded location items.

 

In case Plan would be an isolated BOPF object, I could simply use the $expand on the cross-bo association to Location Item (/Plan('010')/PlanItems?$exand=LocationItems).

As this association can however not be created (despite 1:1 relationship), I currently only see the option to make a full select on the location items and mix the data up manually in ABAP / JS .

 

Is there a better workaround for this scenario, and is it planned in future to implement such "inner-bopf object" relationships?

 

Thanks,

Timo


Viewing all articles
Browse latest Browse all 726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>