ABAP release 740 SP08 onwards.
Interface method definition has an addition DEFAULT FAIL/IGNORE that allows you to skip explicit method implementation in a class that implements the interface.
When this addition is not used, syntax check forces you to implement the method.
When addition is used, syntax check would pass.
At runtime, DEFAULT FAIL will raise exception during method call.
At runtime, DEFAULT IGNORE will call implicit blank method implementation.
More info here:
https://help.sap.com/doc/abapdocu_740_index_htm/7.40/en-US/abapmethods_default.htm
No comments:
Post a Comment