Should I use Instance Method or Static Method?
Instance methods are called using the following syntax:
CALL METHOD instance_name->instance_method_name
A static method which is also called as class method can be called using the class and does not require an Instance. Static methods are called using the following syntax:
CALL METHOD class_name=>instance_method_name
Class Methods are similar to instance methods but can only use static components.
If you like this post, you may as well like these too:
- ABAP Programs: Using static variables REPORT ZSOURCE1003.* Calling a form twicePERFORM COUNT.PERFORM COUNT.* Defining a form with a static variableFORM COUNT. STATICS CALLS TYPE I. CALLS = CALLS + 1. WRITE CALLS.ENDFORM.~~~~~ end of post...
- Redefined Method A Redefined method is a method in a subclass that provides a new definition of an inherited method from a super class in order to provide a more specialized implementation...
- Using IDOC Method in LSMW Download the Article from Rapidshare or Mediafire. ...
















Leave a Reply