Questions tagged [cds]

The ABAP Core Data Services (ABAP CDS) are the implementation of the general CDS concept for AS ABAP. ABAP CDS makes it possible to define semantic data models on the central database of the application server. For questions specific to the HANA CDS implementation, use the tag [hana-cds] instead.

The ABAP Core Data Services (ABAP CDS) are the implementation of the general CDS concept created by SAP for ABAP-based systems. ABAP CDS makes it possible to define semantic data models on the central database of the application server.

Useful links

175 questions
2
votes
1 answer

Navigate from Fiori List Report to standard app like hot-spot?

I have created List Report Fiori App based on CDS view I've created before. Is there any possibility to use some annotations in existing and/or additional CDS view to create a hotspot smart field on Vendor number? I.e. when I click on that it will…
Berater_SAP
  • 23
  • 2
  • 5
2
votes
1 answer

ABAP CDS in S/4 HANA uses Calculation views engine?

Anyone know if a ABAP CDS View on a S4/Hana System run at the same engine of a Calculation View of HANA? In other words ABAP CDS View (on S4/HANA) is equal to Calculation View in Hana? Thank you.
I.B.N.
  • 992
  • 4
  • 15
2
votes
2 answers

SELECT into structured object with ABAP CDS associations

I have a CDS View with multiple associations: define view ZORDER as select from ZORDERHDR as orderHdr association [0..1] to ZORDER_LOCATION as _location on _location.orderID = orderHdr.orderID association [0..*] to ZORDER_ITEM as _items on…
RaTiO
  • 979
  • 2
  • 17
  • 33
2
votes
1 answer

Can I create a GUID in an ABAP CDS view?

I'm joining a table to itself, in an ABAP CDS view, and would like to create a unique GUID per row. Is that possible? Something like: select from my_view as a inner join my_view as b on a.ContextKey = b.ContextKey and a.DbKey !=…
Florian
  • 4,821
  • 2
  • 19
  • 44
2
votes
1 answer

How can I add search help in a SAP Fiori Worklist Application created using CDS annotations?

I want to add search help to a field in a SAP Fiori Worklist Application created using CDS annotations. What annotations should I use?
Cristina
  • 23
  • 1
  • 7
2
votes
2 answers

Validate user input via CDS annotation?

I'm new to SAP, UI5 and CDS annotations. I've created a CDS view and created the application using Web IDE Template project, list report template. The application works fine, but I want to add following validations In my CDS I’m having a quantity…
Thanushka
  • 1,395
  • 5
  • 25
  • 54
2
votes
0 answers

How to connect smartfield to odata service?

I have a SmartField that I would like to connect to a ODATA service to get valueHelp for free. The model, that points to the ODATA service looks as following: "EAMMALFUNCTION": { "uri": "/sap/opu/odata/sap/EAM_MALFUNCTION_MANAGE/", "type":…
softshipper
  • 32,463
  • 51
  • 192
  • 400
2
votes
1 answer

xsodata: converter[index] is not a function

I have two entitys in hdbcds: context PyramidDB { entity PipelineType { key TypeName : String(200) not null; Displayname : String(200) not null; Description : String(300); }; entity PyramidType { …
TheRadianer
  • 57
  • 1
  • 7
2
votes
1 answer

How to get month number or name in cds view

I am creating a CDS view in Hana studio where i want to get month number or name from date (YYYYMMDD) in report, but I am unable to find any function like month or anything else, Please help.
Arun Gupta
  • 31
  • 2
  • 8
2
votes
1 answer

Modify an element inside a cds view

I want to modify an element inside a cds view in order to change the way it is displayed. I tried using virtual elements and it works fine if I take the data from a separate element (storing the original data) and put it into a new virtual…
Stefan Blamberg
  • 816
  • 9
  • 24
1
vote
0 answers

SAPUI5, RAP, unmanaged and freestyle: Create entity and children with "create by association" - how to call from client code?

I want to create a header with its 2 associations in one go. My behaviour class exists, the "create" on the root entity is called properly and twerks nicely. But the passed parameter for creation (the structure of the header with the generated clsid…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
vote
0 answers

How can I add standard fields to a standard API in SAP without using Eclipse?

I have a standard API where I have to add 2 standard fields in SAP. I don't have access to Eclipse. Can anyone help me regarding this? I am new to this concept. I asked for Eclipse access but I was informed that there is no need for it. My process…
1
vote
0 answers

abap cds --> calculate average on currency field with currency_conversion

I'm trying to calculate the average of a currency field in abap cds per faktura. Since @DefaultAggregation: #AVG is not working, I've figured out another way to do this using this guide: Calculate Average in Analytics Engine This is a quite simple…
toffler
  • 1,231
  • 10
  • 27
1
vote
0 answers

How to make analytical table display more rows SAP FIORI

I made a SAP Fiori app from template with an analytical table in it. The table however only displays 4 rows. It looks really small. Im looking for a way to make the table show maybe 10 rows or something. Here is a picture of the table: As you can…
Florian
  • 11
  • 2
1
vote
0 answers

Extend CDS view with group by and/or aggregated fields

I have the requirement to extend a sap cds view to add one field. The cds view have a group by clause, therefore I'm getting the following error: Parent I_SRVCENTRSHTPURORDITMVH has aggregate function or group by; extension not possible I found a…
toffler
  • 1,231
  • 10
  • 27
1 2
3
11 12