Is there any real difference between "IF integer IS INITIAL" and "IF integer = 0" in ABAP? I mean, the initial value in the I type is 0 instead of NULL, so the result is the same, isn't it?
There is no functional difference.
The only difference is that if you ever change the type of the variable you are testing, the meaning might change. E.g. if you change it to a character based type the initial value will be SPACE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With