Show TOC

Processing Object Types (BOR)Locate this document in the navigation structure

Prerequisites

To execute the following procedure, you must switch to the Business Object Builder and enter the identifier of the object type to be edited in the field Business Object Builder: Initial Screen in the Object Type/Interface Type field.

Procedure

Change supertype

To change the supertype of the object type, choose Start of the navigation path Object Type Next navigation step Inheritance Next navigation step Change Supertype End of the navigation path.

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 .

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

Change release status

To change the release status of the object type, choose Start of the navigation path Object Type Next navigation step Change Release Status to End of the navigation path.

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 Start of the navigation path Edit Next navigation step Change Release Status Next navigation step Object Type Component End of the navigation path.

Generate

To generate an object type and make it available to the runtime system, choose .

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

    You get to the Test Object Type <Name of Object Type>: No instance connected. 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

    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.

  3. Choose behind the method that you want to test.

Printing

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

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

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 .