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:
- What is an Instance? An ‘Instance’ is an administrative unit that groups together components of an SAP R/3 system or simply an Application Server, which has its own set of work processes. A Client...
- 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...
- Using IDOC Method in LSMW Download the Article from Rapidshare or Mediafire....
- 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...
- Parallel Cursor Method in ABAP A program with the right functionality and smartly written, but with poor performance will not satisfy the client requirements. Business programs usually handle huge amounts of data. ABAP programs in...



















Leave a Reply