The first step is to create a private class. The second step is to add a private attribute with reference to the same class. The third step is to create a public static method with returning the value of type reference to the same class. The fourth step is to create implementation and create the object in the implementation of the public static method. The last step is to call the static method in any program to create the instance for the singleton class. This will create a singlton class in SAP ABAP.