Entering content frameProcedure documentation Processing Object Types Locate the document in its SAP Library structure

Prerequisites

To work through the following procedures, you must switch to the Business Object Builder and enter the ID of the object type to be processed in the field Object/Interface type on the Business Object Builder: Initial Screen.

Procedure

Change supertype

To change the supertype of the object type, choose Object type ® Inheritance ® Change supertype.

Note

When you change the supertype, all the methods, attributes and events inherited from the supertype are also changed.

Check

To check that the implementation program with the attribute and method accesses is syntactically correct and complete with regard to the object type definition, select This graphic is explained in the accompanying text.

The result of the check is displayed in the status bar.

Change release status

To change the release status of the object type, choose Object type ® Change release status to ® ....

To change the release status of an object type component, proceed as follows:

  1. Open the object type in change mode.
  2. Select the object type component.
  3. Choose Edit ® Change release status ® Object type component ® ....

Generate

To generate an object type and make it available for the runtime system, select This graphic is explained in the accompanying text.

Note

The system can only generate an object type if none of the superordinate object types contain errors. If these object types have not yet been generated, they are generated as well. When an object type is generated, all subtypes are generated as well provided they do not contain any errors.

Test and Execute

  1. To test whether the implementation of the methods and attributes of the object type was successful, select This graphic is explained in the accompanying text Test.
  2. The Test object type <name of object type>: no instance linked screen is displayed. All instance-independent methods are offered to you for the test.

  3. If you want to test instance-dependent methods or attributes, choose This graphic is explained in the accompanying text Instance. You can then enter an object of the object type with which you want to perform the test.
  4. The Test Object Type <name of object type> screen on which all attributes and methods are now displayed is displayed. The results of virtual attributes are directly displayed.

    Note

    If you do not know an object with which you can execute your test, execute the method of the object type, which creates a new object. You can use the object created for the test of the instance-dependent method.

  5. Choose This graphic is explained in the accompanying text behind the method that you want to test.

Print

To print the definition of the object type, select This graphic is explained in the accompanying text.

Copy

  1. To copy the object type, select This graphic is explained in the accompanying text.
  2. The Copy object type dialog box appears.

  3. Enter the data required and decide whether the documentation is to be copied as well.

Note

The new object type must be assigned to a package or saved as a local object. The new object type hence does not necessarily belong to the same application component as the original object type.

If the original object type was a subtype, the copy is also a subtype of the same supertype.

Rename

To rename the object type, select This graphic is explained in the accompanying text. State a new ID for the object type and/or for the implementation program.

Reassign

To assign the object type to a new package, choose This graphic is explained in the accompanying text and enter a new package.

Delete

To delete the object type, select This graphic is explained in the accompanying text.

Note

Along with the object type definition, you can also delete the implementation program.

Documentation

You can create documentation for the object type. Proceed as follows:

  1. Open the object type in change mode.
  2. Select the object type ID.
  3. Choose This graphic is explained in the accompanying text.
Leaving content frame