Category: ABAP

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

ABAP Where-used List not working

Sometimes You have to recognize, that a where-used list for a given repository object, like constant interfac members, messages or data elements etc. are not working, but You are sure, there must some results. SAP has dedicated index tables for that cross-references, which might not be up to date for whatever reason. Upgrades or broken […]

READ MORE