Entering content frameProcedure documentation Testing a Class Locate the document in its SAP Library structure

Requirements

Before you can test a class (object type), you should run the syntax check for it. If there are any syntax errors, you cannot start the test environment.

Procedure

You can use the test environment for classes in the Class Builder and for object types in the Business Object Builder.

In the Class Builder

  1. Start the Class Builders (Transaction SE24).
  2. Enter the name of the class.
  3. Choose Test.

Alternative: Select the class that you want to test using the Repository Browser and use forward navigation to open the Class Editor. Then choose Class ® Test.

In the Business Object Builder

  1. Start the Business Object Builder (Transaction SWO1).
  2. Enter the name of the object type.
  3. Choose Test.

Alternative: Choose the object type that you want to test from the Business Object Repository and double-click to display it. Then choose Test.

Result

The system opens the test environment and displays the class in tree form.

Example:

This graphic is explained in the accompanying text

 

 

 

 

 

Leaving content frame