Ansicht
Dokumentation

BAPI_REL_UPDATEREMOTECREATE - Distribute Created Relationships in Remote System

BAPI_REL_UPDATEREMOTECREATE - Distribute Created Relationships in Remote System

General Data in Customer Master   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

If necessary, the relationships created locally using BAPI_REL_CREATERELATION and BAPI_REL_MASSCREATERELATION are also created in remote systems. This is the case if one of the linked objects is in a remote system and the relationship has been marked as REMOTE when created in the local system.

Creation in the remote system takes place using a tRFC call of the function module BAPI_REL_MASSCREATERELATION. The function should be before the COMMIT WORK that starts the posting of the application in the local system.

Example

Notes

In the case of errors, an entry is written to the tRFC log. The tRFC is then canceled, for example, if no RFC destination is found for the logical system of the remote system.

To correct errors, you can add a tRFC-compatible destination for the method CreateRelation of the class ObjectRelationService. You make this setting with the transaction BD97 (in the Implementation Guide Basis Components --> Application Link Enabling (ALE) --> Sending and Receiving Systems --> Systems in Network --> Synchronous Processing --> Determine RFC Destinations for Method Calls).

Further information





Parameters

RETURN

Exceptions

Function Group

BAPI_REL

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1476 Date: 20240523 Time: 181625     sap01-206 ( 48 ms )