Vitali Kurdasov
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the Intermediate Certification
1 year ago
#40679
::
Hi,
I just would like to add the best practice:
It has certain advantages if you only use the modul-interfaces to get or set variables from the application to the module. The big advantage with this way is that you have a predefined and controlled way to access a specific variable inside a module. An access to those module-variables with the above mentioned “sap.ui.getCore()…”-call could lead to uncontrolled side-effects which makes it very hard to debug if needed.