Procedure documentationProcessing Object Types (BOR) Locate this document in the navigation 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 Note

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

End of the note.
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 .

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 to the runtime system, choose .

Note 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.

End of the note.
Test and Execute
  1. To test whether the implementation of the methods and attributes of the object type was successful, select Test.

    The Test Object Type <Name of Object Type>: No Instance screen appears. All instance-independent methods are offered to you for the test.

  2. If you want to test instance-dependent methods or attributes, choose Instance. You can then enter an object of the object type with which you want to perform the test.

    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 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.

    End of the note.
  3. Choose behind the method that you want to test.

Print

To print the definition of the object type, select .

Copy
  1. To copy the object type, select .

    The Copy object type dialog box appears.

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

    Note 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.

    End of the note.
Rename

To rename the object type, select . 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 and enter a new package.

Delete

To delete the object type, select .

Note Note

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

End of the note.
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 .