Category: ABAP

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

Fill BAPI extension structure or extract

This topic is not related to a brand new technology, but provides a convenient, safe and transparent way to fill in BAPI extension structures. BAPIs are the functional APIs of SAP exposed to the outside world via RFC protocol. They are technically function modules marked as available remotely. Extension structures are provided by SAP to […]

READ MORE

Debug Invoice Print Program

The first thing You need is to identify the printing program. To do that, You need to start transaction NACE. In case of Invoices we need to go to V3 – Billing related Output types You will find the program / subroutine invoked by the system when the printing of the Invoice is requested under […]

READ MORE