Hello,
we have BOs Alice & Bob.
Alice shall contain an aggregation of multiple Bobs. Therefore we integrated Bob via an Representation-Node into Alice.
Bob's ROOT has a field ALICE_KEY that links to Alice.
So we want the association Alice-TO_BOB to be a 1:N target-resolving cross-BO association that is based on Bob's ALICE_KEY.
Is it even possible to model this scenario in BOBF?
What we tried so far:
- Association Class /BOBF/CL_LIB_C_CROSS_BO together with "Cross-BO Binding Hint"
Does only work for source-resolving associations, therefore strictly 1:1 (?).
When used with target-resolving association-configuration, it just CONTINUEs instead of a proper assert.... oh my...
Furthermore, internally there is an (FAULTY) assertions that checks the ASSOC_CAT against an Assoc-*BINDING*-Cat. This check must fail all the time but no one notices because of these castrated/disabled/optional crap assertions - Using the "Cross-BO Binding" one is only allowed to select KEY of the target-BO (we would want to select Bob's ALICE_KEY), so no luck either
The only solution we can think of by now, is a dedicated Alice-node in Alice for every Bob:
Alice / LINK_TO_BOB_NODE / BOB_REPRESENTATION_NODE
where LINK_TO_BOB_NODE has a field BOB_KEY and its association TO_BOB_REPRESENTATION_NODE is a source-resolving assocation with BOB-KEY as target and BOB_KEY as source.....
Any advice much appreciated.