https://github.com/keller-michael/abap_cds_virtual_elements_example
🌀 example of ABAP CDS enhanced with virtual elements
https://github.com/keller-michael/abap_cds_virtual_elements_example
abap abap-cds cds demo example exercise learn learning-by-doing sap virtual-element
Last synced: 3 months ago
JSON representation
🌀 example of ABAP CDS enhanced with virtual elements
- Host: GitHub
- URL: https://github.com/keller-michael/abap_cds_virtual_elements_example
- Owner: Keller-Michael
- License: mit
- Created: 2023-01-02T19:54:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T08:45:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-14T16:52:45.801Z (10 months ago)
- Topics: abap, abap-cds, cds, demo, example, exercise, learn, learning-by-doing, sap, virtual-element
- Language: ABAP CDS
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :cyclone: ABAP CDS with Virtual Elements Example
This is a very small prototype of a simple ABAP CDS, enhanced with virtual elements. The example was made on Business Technology Platform with a [free trial account](https://developers.sap.com/tutorials/hcp-create-trial-account.html) so it should be easy to work with it. I used some blogs like [this one](https://blogs.sap.com/2020/01/13/using-virtual-elements-with-cds-in-fiori-elements/) and [this one](https://blogs.sap.com/2022/10/06/how-to-use-virtual-elements-in-abap-restful-application-programming-model/) to create the example but I experienced some differences since ABAP CDS is now working with view entities.
Good starting points to explore the example are the by virtual elements enhanced [ABAP CDS](./src/zmke_c_demo_flight_enh.ddls.asddls) and the [ABAP class](./src/zcl_mke_virtual_elements.clas.abap) that contains the logic.