Implementing Methods  

Prerequisites

You must have created the methods and attributes of the class or interface. If you want to implement the methods of interfaces, the interfaces must have been listed in the class definition. You must have created any parameters and exceptions required by the methods.

Procedure

  1. Start the Class Editor in change mode.
  2. Choose Methods.
  3. Position the cursor on the name of the relevant method.
  4. Double-click, or choose Source code.
    The ABAP Editor appears, containing an empty statement block between the METHOD and ENDMETHOD statements.
  5. Write the ABAP code for the method. .

You can also create text elements in the source code using forward navigation.

  1. Check the syntax of your ABAP code.
  2. Save the code.
  3. Choose Back to return to the class editor.
  4. Document the method by choosing the corresponding function from the Methods display.