‎2022 Mar 15 11:24 AM
According to the sap help, it says "It is possible to access components using the interface component selector, but it is not recommended." Can anyone help me understand why is this not recommended. Below is the snippet.

‎2022 Mar 15 11:53 AM
For a pure Object Oriented point of view:
In the first case the instance of your object are using an interface and stay in the "contract" manage by the interface
In the second case, your instance doesn't follow any interface, you have create an instance using directly the Class. You could access all the methods proposed by all the related interfaces .... it is the jungle!
In Oo concept, all class should have one or several interfaces, and instance creation must always use interface. (and you should not have public method / data available directly in the class)
‎2022 Mar 15 5:38 PM