We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
CLASS class DEFINITION
LOCAL FRIENDS class1 class2 ...
intf1 intf2 ...
This statement makes the local classes and interfaces class1 class2 ... and intf1 intf2 ... of a class pool friends of its global class class. At least one class or one interface must be specified.
This statement does not introduce a declaration part and must not be closed using the ENDCLASS statement.
In the CL_DEMO_AMDP_MESH class, the cl_test_selects class from the test include is declared in the CCDEF include as a local friend of the global class, so that its private methods can be tested.
CLASS cl_test_selects DEFINITION DEFERRED.
CLASS cl_demo_amdp_mesh DEFINITION LOCAL FRIENDS cl_test_selects.