I have a requirement to build admin utility apps for the Launchpad Service - think /ui2/flia, the ability to find apps by semantic link
The Launchpad Site Manager - Content Manager uses Semantic Services to get the Site Content
https://<subacco...
in XSOData we can generate a local ID for a key like
key generate local "ID";
In ABAP CDS we can do something similar in a couple of ways, one is to add a @Default Aggregation to a property and not nominate a key
How do we generate a local I...
I have a Fiori service which has lots of views which share many of the same properties
Currently i am repeating the same boiler plate annotations over and over again
In my Fiori Annotations .cds file i would like to be able to create my own type ...
In a .CDS query I can derive a property in a view like so
case
PROPERTY_NAME when 'SPECIAL VALUE' then 'Information'
else 'None'
end as RowHighlight,
In the DB it gets mapped to the following type which is not an allowable type...
how do we take an existing HANA Guid and convert it to what CDS will accept and map to an OData edm.guid?
Context
I am using data across a number of different sources. the key that links the data is a guid
I am having troubles getting the exist...
phew found itif you add @Aggregation.ApplySupported.PropertyRestrictions to the top of your view or entity then a generated key "ID__" magically appears
thinking about it I think i should have started with an Abstract Entity, then used that as a base type for all the child entitiesabstract entity MyTable @(
UI: {
Identification: [{ $Type: 'UI.DataField', Value: name }],
PresentationVariant:
...
Cheers ChristianYou answered my question correctly, and you definitely pointed me in the right direction, I think however i may have asked it wrongly, I'll try againIn my scenario i have 10+ views, the views share a lot of the same characteristics, n...
gregorw thanks for linking that postI actually saw this code from thomas.jung yesterday and was wondering what it was doing. I think its what i am after.synonym defines a DB artifact USER_DETAILShttps://github.com/SAP/hana-xsa-opensap-hana7/blob/mast...