‎2019 Jul 24 2:06 PM
I have a public static method in my class which returns a variable of type BOOLE_D. Once I save the method parameters, I'm unable to set a default value as that column gets greyed out. Why does this happen? Does it have something to do with returning value automatically being pass-by-value?
‎2019 Jul 24 3:05 PM
Default values are only available for "Importing" parameters.
Just assign the default value for "Returning" parameter in the first line of code for your method.
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapclass-methods_general.htm
Viktor
‎2019 Jul 24 3:05 PM
Default values are only available for "Importing" parameters.
Just assign the default value for "Returning" parameter in the first line of code for your method.
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapclass-methods_general.htm
Viktor
‎2019 Jul 25 8:33 AM
Hi,
if you want a default start your method implementation with
rv_variable = abap_true
for example
‎2019 Jul 25 8:33 AM
Hi,
if you want a default start your method implementation with
rv_variable = abap_true
for example