Ansicht
Dokumentation

ABENOO_OBS_STATICS_2 - OO OBS STATICS 2

ABENOO_OBS_STATICS_2 - OO OBS STATICS 2

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Cannot Use STATICS in Instance Methods

The STATICS statement is not allowed 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.






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 694 Date: 20240420 Time: 094605     sap01-206 ( 18 ms )