SAP CLASS ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_OBJ - Classes
This example demonstrates a class for counters.

ABAP_SOURCE_CODE
DEMO CL_DEMO_CLASS_COUNTER

ABAP_DESCRIPTION
The local class counter contains three public methods, set , increment, and get, which work with the private integer field count. Two of the methods have input and output parameters and therefore define the data interface of the class. The field count , on the other hand, is not visible externally.