The Object Relationships API 

Use

You use relationship service function modules to write, read or delete relationships. Special function modules are available for display purposes.

Prerequisites

You have modeled your relationships.

Features

The tables contain names and short descriptions of the function modules. Further information, in particular on the interface, is available in the function module documentation in the system.

Writing, reading, deleting

Function module

Description

BINARY_RELATION_CREATE

Creates a relationship between two objects, including the attributes

BINARY_RELATION_DELETE

Deletes a relationship, including the attributes

SREL_GET_NEXT_RELATIONS

Reads the relationships of an object. The maximum interval can be entered.

RELMOD_READ_BINRELTYPE

Reads the texts that describe the relationships from the model. Supplement to SREL_GET_NEXT_RELATIONS.

SREL_GET_NEXT_NEIGHBORS

Reads the objects linked to the object entered. The maximum interval can be entered.

RELMOD_READ_ROLETYPE

Reads the texts that describe the functions from the model. Supplement to SREL_GET_NEXT_NEIGHBORS.

Simple list display

SREL_DISPLAY_LIST_OF_NEIGHBORS

Displays the next neighbor of an object (distance is zero)

SREL_DISPLAY_LIST_OF_RELATIONS

Displays the relationships of an object. The maximum interval can be entered. You can go to the display of an object from the list.