Tag: fiori
-
How to show a table of sub positions in ABAP CDS metadata extension definition?
Let’s assume we have a data model, where we have shares, and each share has its own transaction history. For that we use an association [0..*] from the one share to the x transactions. Now what we want to achieve is to display all these transactions inside the identification view. To add this table, which…
-
How to use the connected fields in ABAP CDS definition?
It took me a long time to figure out, how to use exactly the connected fields annotation in ABAP CDS definition. In CAP CDS it was somehow clearer to unterstand, how to combine two fields in a template and then getting these values in a sub annotation. There is an active SAP Help page to…
-
How to make an App-To-App Navigation with a specific route in SAP Fiori Launchpad?
If you want to open a specific route from your SAPUI5 application to open another application within the Fiori Launchpad (FLP), you might wonder how to do this with the CrossApplicationNavigation service? Well, the parameters, which can be sent through the method toExternal, are not clearly documented. Although there are possibilities to set the route…
-
Fetch an empty structure of an entity in an OData service
Did you asked yourself, how to get an empty structure, with empty strings and booleans set to false from your OData service to use it later in a local JSON model. To achieve this, we need here again the service metadata from our OData model. Test case To test our code from above, we have…