Entering content frame

Procedure documentation Implementing Methods Locate the document in its SAP Library structure

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. The parameters and exceptions required by the methods were also created.

Procedure

  1. Select the class and go to the Class Editor.
  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. This graphic is explained in the accompanying text

    It could be very useful to display the signature of the method here. To do so, click on Signature. To close the signature display, click again on Signature.

  6. Write the ABAP source code for the method.

Note

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

  1. Check the syntax.
  2. Save your source code.
  3. Choose Back to return to the class editor.
  4. Document the new method. Choose the appropriate icon in the Methods display.

 

 

 

Leaving content frame