Posts

Useful ABAP CDS Annotations

This is the collection of Framework-specific ABAP CDS annotations used often during application implementation. Framework specific annotations are interpreted by variety of SAP software components like OData, UI and Analytics operating with ABAP CDS as data model. Annotations can be added within CDS views, entities, table functions and metadata extensions to elements, parameters, at the […]

READ MORE

Load data automatically in Fiori List Report

Using the Fiori List Report template of SAP in Business Application Studio contains no setting to automatically load data into the table. Users need to explicitly press the Go button so that the list is populated. In case You want to fill the table automatically, please add the following annotations to the manifest.json of the […]

READ MORE

Fiori Elements Value Help not shown

This is a crime against the Fiori developer community . Stealing our time, really ? Using Fiori Elements List report template combined with OData v2 SAP backend services, the Value Helps are not shown in 2024. Why ? We have an ABAP CDS value help definition annotations/metadata, which then properly arrives as value-list annotation in […]

READ MORE

Using i18n text in ABAP CDS

Doing CAP projects You have usually the i18n files in the same service project. In ABAP we have no such, only transaction SE63 to translate text annotations of CDS Metadata Extensions (MDE). The possibility is however given to do this outside ABAP CDS, this means You can refer i18n properties placed in the frontend UI5/Fiori […]

READ MORE

RAP Unmanaged Query through Custom Entity

A RAP query is generally managed because the data can be collected using the modeled CDS entities and the corresponding associations automatically from the underlying tables. There are cases however where the query is too complex, due too many set of dataset exclusions by complex criteria in many steps, or even the record key is […]

READ MORE

Custom Business Configuration

Motivation You want an SM30 like maintenance view on BTP. To control the behaviour of the business process You implemented on BTP or S/4HANA Cloud Public ABAP Environment (Steampunk/Embedded Steampunk), You need to expose a customizing as a developer to the functional people. This is all a natural and a primary demand of an SAP […]

READ MORE

Locking in ABAP on BTP

The most important thing here is to know the factory class cl_abap_lock_object_factory, which creates You an instance of the lock implementing the interface if_abap_lock_object, just provide the Lock Object name. Use method enqueue/dequeue to lock the required record(s) providing a name-value pair table passing the field names and the corresponding value. In case invalid parameters […]

READ MORE