Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>ObjectRelations



Index

ObjectRelations

ObjectRelations


No description is available


11-Dec-2005


Methods

Available Methods


  • CreateRelation : Create Relationship [ BAPI_REL_CREATERELATION ]
  • DeleteRelation : Delete Relationship [ BAPI_REL_DELETERELATION ]
  • GetRelations : Gets the Linked Objects [ BAPI_REL_GETRELATIONS ]
  • MassCreateRelation : Create Several Relationships [ BAPI_REL_MASSCREATERELATION ]
  • MassDeleteRelation : Deletion of Several Relationships [ BAPI_REL_MASSDELETERELATION ]

11-Dec-2005


CreateRelation

CreateRelation


No document is available


11-Dec-2005


DeleteRelation

DeleteRelation


Deletion of a binary relationship.

Enter the BOR identifiers of the linked Business Objects and therelationship type in the structure OBJECTS. If a relationship is to bemarked as for deletion in a remote system you must set OBJECTS-REMOTE = 'X'.


Notes

If several relationships are to be deleted at the same time, you mustuse the module BAPI_REL_MASSDELETERELATION. To create a relationship you use BAPI_REL_CREATERELATION.

Further Information

BINARY_RELATION_DELETE


BAPI_REL_REMOTEDELETERELATION

BAPI_REL_MASSDELETERELATION


11-Dec-2005


GetRelations

GetRelations


The linked objects for a specified business object are read locally.

Input parameters

OBJECT : Here you transfer the complete BOR key of the business object for which the relationships are to be read.

ROLE: Here you enter a role if only relationships of this type are to be returned, in which the object occurs in this role.

RELATION: Here you enter a relationship if only relationships of this type are to be returned.

RECURSIONLEVEL: Here you determine up until what recurrence levelrelationships should be read. The default value corresponds with the reading of the direct relationships. The selection time rises
exponentially with an increasing recurrence level.

Return parameter

LISTOFRELATIONS: The relationships found are returned in this table.


11-Dec-2005


MassCreateRelation

MassCreateRelation


No document is available


11-Dec-2005


MassDeleteRelation

MassDeleteRelation


Deletion of several binary relationships.

Enter the BOR identifiers of the linked business objects and therelationship type in the table OBJECTS. If a relationship is to bemarked as for deletion in a remote system you must set OBJECTS-REMOTE = 'X'.


Further Information

BAPI_REL_DELETE_RELATION


11-Dec-2005