Fonction SAP BAPI_BUS2001_PARTNER_CHANGE_M - Change Partner Data for Project Definition Using BAPI

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_PROJECT_DEFINITION BAPI_BUS2001_NEW-PROJECT_DEFINITION C 24 Project Definition

Paramètre Reférence Long. Facultatif Description
ET_RETURN BAPIRET2 548 X Return Parameter
IT_PARTNER_NEW BAPI_BUS2001_PARTNER 14 Data Structure: Create, Change, Delete Partner Data
IT_PARTNER_OLD BAPI_BUS2001_PARTNER 14 Data Structure: Create, Change, Delete Partner Data

Functionality
The BAPI "BAPI_BUS2001_PARTNER_CHANGE_M" changes the partners for theproject definiton (I_PROJECT_DEFINITON) from the partners in theparameter IT_PARTNER_OLD into the partners in the parameterIT_PARTNER_NEW.
Messages, for example, about non-existant partners, are returned inparameter ET_RETURN. The first entry of the ET_RETURN table is asuccess or error message about whether the project definition could bechanged.
If the entries in IT_PARTNER_NEW and IT_PARTNER_OLD match, you receivea success message. If no other changes were made to the projectdefinition, however, the BAPI "BAPI_PRECOMMIT" issues an error messagethat no data was changed and therefore it is not saved.

Notes
INCLUDE CNIF_PI_BAPI_HINTS OBJECT DOKU ID TX LANGUAGE EN

Further information
For more information, refer to the SAP Library under Project System ->Structures -> EPS Interface.

Description
Number that uniquely identifies a project definition within a client.

Description
Table that contains the new keys for partners, into which the old datais to be changed. The entries must be in the same sequence as inIT_PARTNER_OLD.

Description
Table that contains the old keys for the partners that are to bechanged. The entries must be in the same sequence as in IT_PARTNER_NEW.