Fonction SAP BAPI_REL_CREATERELATION - Create Relationship

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
OBJECTS BAPIRELC u 185 Relationship Between Two BOR Objects

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Paramètre Reférence Long. Facultatif Description
RELATIONATTRIBUTES BAPIRELA 268 X Attribute of a Binary Relationship

Functionality
You can create a binary relationship with this function module. Proceedas follows:
Enter the BOR identifiers of the business objects to be linked and therelationship type in the structure OBJECTS.
If a relationship is to be marked as for creation in a remote system,you must set OBJECTS-REMOTE = 'X'.
If the relationship has attributes, you can enter these in the tableRELATIONATTRIBUTES.

Notes
To create several relationships at the same time, use the functionmodule BAPI_REL_MASSCREATERELATION.
To delete a relationship, use BAPI_REL_DELETERELATION.

Further information
BINARY_RELATION_CREATE
BAPI_REL_REMOTECREATERELATION
BAPI_REL_MASSCREATERELATION
INCLUDE BAPI_REL_RETURN OBJECT DOKU ID TX

Description
INCLUDE BAPI_REL_RELATIONATTRIBUTES OBJECT DOKU ID TX