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
0
votes
1 answer

Error after cast in ABAP CDS "POS(1) invalid exponent"

After I added a cast( sometable.somecolumn as abap.dec( , ) ) to my Core Data Service (CDS) data definition (DDL) on SAP R/3 ABAP 7.50 with and as placeholders for the numbers of pre- and post-decimal positions, I am not able to read…
koks der drache
  • 1,398
  • 1
  • 16
  • 33
0
votes
1 answer

BOPF VALIDATIONS DOESN'T WORKING in cds views

i have created a bobf object in cds named /BOBF/IF_FRW_VALIDATION~EXECUTE to use it for validation purpose i have tried following code to stop updating the value using its export parameter eo_message. DATA: ls_message TYPE symsg. if lv_val =…
RIK
  • 123
  • 1
  • 2
  • 13
0
votes
0 answers

Boolean Annotation in CDS ABAP

Need to convert ABAP boolean type in true/false for UI5 dropdown through CDS annotation. Is there any CDS Annotation that can help me in this?
0
votes
1 answer

getting 'Duplicate resource' error after I created 2 transport requests in CDS

I created two transport requests (TR) for same project while making changes in CDS views after that a duplicate resource error with error code 400 is showing and I'm unable to get any data in my UI5 table. I transferred the changes which was locked…
RIK
  • 123
  • 1
  • 2
  • 13
0
votes
1 answer

'requiresSelection' proprety not working for object page action extension?

For different facets in object page in List Report, when I add any custom action and add property "requiresSelection" to true, action remains disabled. Tried adding below code in manifest.json "Sections": { …
05_pingpong
  • 77
  • 1
  • 2
  • 13
0
votes
2 answers

Filtering a gallery in PowerApps with entities from CDS

I have a gallery in a canvas app that I want to filter with a field from an entity in CDS. My entity name is 'Quality Alerts', I'm trying to lookup the field 'Assigned To' and filter the gallery to show only records with the 'Assigned To' value that…
B McNabb
  • 33
  • 6
0
votes
2 answers

How to consume Kafka Topic in Consumer MQ Topic

I have a requirement where I need to consume Kafka Topic and write it into MQ Topic. Can someone advise me the best way to do it, I am new to Kafka. I have read about the IBM MQ Connector in confluent but could not get the idea how to implement it.
Touseef Zaki
  • 59
  • 2
  • 10
0
votes
0 answers

How to get toolbar of ALV CLASSIC in ALV with IDA?

I am programing a CDS VIEW using ALV with IDA, but I have a question.. how to add toolbar of ALV classic in ALV IDA, especically the layout buttons?
Junior CA
  • 1
  • 1
0
votes
1 answer

SAP UI5 CDS Annotation, set search filter label

I'm new to SAP and UI5. I have created a table in SE11 and created a CDS view in eclipse ABAP perspective. And I've create a template project in my SAP Web Ide. I want to change the display label of a selection field. It currenty show the name I've…
Thanushka
  • 1,395
  • 5
  • 25
  • 54
0
votes
1 answer

Why do the selection fields not appear?

I've created a CDS view with metadata allow extension as following: @AbapCatalog.sqlViewName: 'ZAMCCLASSSEL' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label:…
softshipper
  • 32,463
  • 51
  • 192
  • 400
0
votes
1 answer

STRING_AGG is not a recognized built-in function name when using SAP HANA CDS file

I am trying to use a STRING_AGG function in my SAP HANA CDS file, but the system does not seem to recognize this function. Standard aggregation functions like sum or count seems to work but this one - doesn't: view MY_VIEW as select from A_TABLE…
zygimantus
  • 3,649
  • 4
  • 39
  • 54
0
votes
1 answer

Replace correlated subquery with join

I'd like to replace the following ABAP OpenSQL snippet (in the where clause of a much bigger statement) with an equivalent join. ... AND tf~tarifart = ( SELECT MAX( tf2~tarifart ) FROM ertfnd AS tf2 WHERE tf2~tariftyp = e1~tariftyp AND tf2~bis >=…
user462982
  • 1,635
  • 1
  • 16
  • 26
0
votes
1 answer

Access ABAP CDS View from Cloud HANA DB

I'm using SAP Cloud HANA Database for an application. And here I need to access ABAP CDS Views which I created in the ERP system from the cloud HANA database. Currently what I'm doing is replicating the required ERP (SAP) tables in the cloud…
tarzanbappa
  • 4,930
  • 22
  • 75
  • 117
0
votes
2 answers

In CDS View select statement, how to convert type DEC to type INT?

In a CDS View select statement, given that I have a column of type DEC, how do I convert that to type INT? Work done so far: According to the CAST_EXPR documentation, this is not possible with CAST_EXPR . According to the numeric functions…
Jonathan Benn
  • 2,908
  • 4
  • 24
  • 28
0
votes
2 answers

Calculated Year in Group by

I am working on ABAP CDS view and stuck somewhere, actually i have date and amount field and i have to show sum of amount year wise, but when i run below query it didnt group by on year and show year multiple time @AbapCatalog.sqlViewName:…
Arun Gupta
  • 31
  • 2
  • 8
1 2 3
11
12