SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
Cannot Use STATICS in Instance Methods
In ABAP Objects, the following statements cause an error message:
METHOD ...
STATICS s ...
...
ENDMETHOD.
Reason:
The STATICS statement in a method corresponds to a
CLASS-DATA statement, where the visibility of the declared data objects is limited to the method. This is a potential source of misunderstanding in instance methods.