CREATE_LINK

Definition

You can create a relationship with this method of the CL_BINARY_RELATION class.

Use

Transfer persistent references to both objects that are to be related and the relationship type. If the objects do not come from the local system, you have to additionally enter the relevant remote system.

You can enter an application-specific attribute with the IP_PROPNAM parameter. To enter multiple attributes, you have to transfer them using the SET_PROPERTY method.

The relationship is created in the update, either by a commit work by the application or when an ABAP-OO-transaction is completed.

For more information, see the system documentation for the method.