on 09-14-2022 12:43 PM
Hi Experts,
I'm fairly new to SAP UI5 and i'm having some issues when using Navigation Properties. I've read most of the topics regarding this matter and applied almost every workaround proposed, unfortunately none of approaches was successful.
Basically, i want to use a value from a Navigation Property to fill some fields in a table. In this case i'm in the EntitySet "MyWorkOrderOperations" and i want a value from the "MyWorkOrderHeaders" which we can get from the NavigationProperty "WOHeader". It doesn't matter which value, for this example i'm using the "OrderType".
I'm not being able to get the value for "OrderType", no matter what i try i get always an empty field even knowing that i can get the value from the SAP Gateway using the procedure shown below:
When checking the bindings in the browser's UI5 Inspector i get:
Any clue on how can this be managed?
Thank you very much for your support!
Kind Regards
Try with:
<table:Table rows="{
path: '/MyWorkOrderOperations',
parameters: {
expand: 'WOHeader',
select: 'OperationNo,OrderId,WOHeader/ThatHeaderId,WOHeader/OrderType'
}
}">
<!-- ... -->
<ObjectStatus binding="{WOHeader}" text="{OrderType}" />
<!-- ... -->
</table:Table>
See also:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
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.