‎2013 Nov 25 8:37 AM
Hi all,
Global variable are consider bad practice in computer programming .
In SAP the exception are those cases the global variable is the only way to transfer data.
(e.g. Dialog , Sap script and old fashion exits)
What is your opinion on the subject ?
How do you manage those global variables ?
Regards.
‎2013 Nov 25 8:59 AM
Eitan,
I'll agree with you, we should minimize the usage of global variables. In SAP scripts there is no other go to use local variables. However in other areas we can minimize as I always does in my abap programming with OO Concepts.
SAP already minimizing that with OO Concept.
Thanks
SaiKrishna
‎2013 Nov 25 8:59 AM
Eitan,
I'll agree with you, we should minimize the usage of global variables. In SAP scripts there is no other go to use local variables. However in other areas we can minimize as I always does in my abap programming with OO Concepts.
SAP already minimizing that with OO Concept.
Thanks
SaiKrishna