Categories ABAP Interview QnA OO ABAP Technical Q&A How to create singleton class? by Shubham Gupta Posted on 31 March 2021 31 March 2021 3 1. Create a Private Class 2. Declare a private attribute with reference to the same class, in which it is being declared. 3. Create a public static method with returning parameter, having a reference of the same class. Object Oriented Singleton Previous Post Is BDC supported in S4 HANA? Next Post Why secondary index is not needed in S4 HANA?