on 10-03-2017 11:14 AM
Hi All,
I am checking some of the standard programs and i found (_) before the fields or methods and I am curious to know what does underscore(_) before the field in abap?
can anyone of you help me on this?
Regards,
Subhanshu
There is no formal syntax meaning. (at least not that I know of).
It's often used to indicate something internal or a copy. So a public interface update_foo( ) might be implemented as: do some validation and call private method _update_foo( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subhanshu,
Greetings!
It absolutely do not posses any special meaning.
The only point is that generally it is seen when the method are defined private and for internal use.
No special meaning anyways just there naming convention.
Regards,
Ankit Mahajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.