SAP NEWS-740 SP08-ABAP OBJECTS



Get Example source ABAP code based on a different SAP table
  



ABAP Objects in ABAP Release 7.40, SP08
ITOC

ABAP_MODIFICATION_NN Optional Interface Methods

The new addition DEFAULT of the statements METHODS and CLASS-METHODS can be used to make general methods, functional methods, plus event handlers of interfaces optional. An optional interface method does not need to be implemented explicitly in a class when an interface is implemented. Instead, a default behavior is specified for calls of non-implemented methods in the definition. DEFAULT IGNORE calls an empty method and DEFAULT FAIL raises an exception.