on 04-07-2016 11:08 AM
Dear community,
how can I create a Virtual Associations in the UI Designer?
I tried to create a Virtual Association with theVirtual Associations Modeler with several different bindings, but I always got an error during the activation of the UI.
It is not clear to me, how we configure this properly.
Furthermore, i could not find any documentation about this feature. Does someone know, how this works?
What fields do we need to select?
I tried to select the UUID of the target BO in the BO Model of the source BO and the UUID of the target BO in the BOModel of the target BO.
That did not work.
It would be great, if someone could share his experience with this feature.
Kind regards,
Christine Toblier
Hello Christine,
What do you want to achive with a "Virtual Association"?
Thanks,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
I created a custom BO which has an element for the alternative key of a particular SAP Standard BO. There is no association, just the a field with the key on the custom BO. I want to show fields of the standard BO on the screen of my custom BO.
I expected, that virtual associations are the solution to solve this.
In my case the custom BO and the standard BO are part of different deployment units. Maybe, that's the reason for the error.
Kind regards,
Christine
Hi Horst,
thanks for your answer. The goap was to implement this without a solution, just with a foreign key field. The reason is that I learned that setting associations costs Performance.
Nevertheless I tried to implement this with an association like that:
[CrossDeploymentUnit] association ToEmployeeTime to EmployeeTime using UUID;
But the association is not available in the UI Designer.
Do you have an idea, what else I need to do in order to add fields of the associated BO to my screen?
Hi Horst!
Thank you for your answer! I think I did exactly the same thing.
Saving and activating the screen is OK with my UI Designer. But the error message appeared after I had added a field of the Virutal Association to the screen and tried to save and activate.
Can you show a field of the "Simple" BO on your screen?
Does this work for BOs of different DU too?
Kind regards, Christine
Hi Horst,
The same issue applies for Reference Association.
I tried to create a Reference Association in order to filter information from BO Promotion->BusinessTransactionDocumentReference
The reference is created, however when I try to bind it the following error is generated during activation:
XRepositoryException (4)Create Behaviour of attribute 'ID1' expected to be 'NEVER' for secondary bindings with target condtions (fragment 'DUMMY_SADL_BO_UUID')
I will create an incident about this. If you have any additional suggestions or maybe a workaround which would not require to create an additional extension field on BO to replicate data, please let me know.
Best Regards,
Fernando Mendel
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.