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

Authorization Group Tool

About This tool support exploration and management of authorization groups. The Problem A recurring task is to create SM30 maintenance views in onPremise SAP systems on top of customizing tables to enable configuration of processes. When You generate a maintenance dialog, You can choose an authorization group to protect recording data to the table/view through […]

READ MORE

Mass User Comparison

Once upon a time a developer wanted to do User Comparison in the quality System after the adjusted (composite) roles were imported, so that the users have access to new fetures, like Fiori catalogs and tiles for example ASAP. Has this to be completed manually in PFCG for each, like 20 composite roles ? Or […]

READ MORE

ABAP and CI/CD ? – Part 0 – What is this about

Transport requests, right ? Spending decades with Transport Organizer (SE09…) and import queues (STMS), standard extensions to prevent release with special magic logic. Pretty familiar for all of us. Companies with development guidelines, include variety of rules, what should be the proper description for a transport request. Hunting the right request based on the name. […]

READ MORE