Day: June 2, 2025

Singleton Class in SAP BTP ABAP

“Singleton Class Definition CLASS zcl_singleton DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. “Method to return instance / object of the class CLASS-METHODS get_instance RETURNING VALUE(r_instance) TYPE REF TO zcl_singleton.…