Fonction SAP BAPI_RESOURCECO_SAVE_REPLICA - Replicate Individual CO Resources (ALE)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MASTERDATA BAPI_RESOURCECO_MASTERDATA u 286 Master Data for CO Resources
STATUS BAPI_STATUS_RECORD-STATUS C 1

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Table with Error Messages

Functionality
You can use the method BAPI_RESOURCECO_SAVE_REPLICA within an ALEscenario to replicate a resource (a resource in Overhead CostControlling CO-OM) in an external R/3 System (a so-called reveiversystem).
The import parameter for the resource (IS_MASTERDATA) contains all thefields of the resource master record CSKR/CSKV, with the exception ofthe client.
Apart from confirming database locks, no additional checks are executedin the receiver system.
Depending on the status, a resource is created, changed or deleted inthe receiver system.
The update process is started aysnchronously. To end the update, youmust then call up the BAPI BAPI_TRANSACTION_COMMIT.
Caution: (!) Function module BAPI_RESOURCECO_SAVE_REPLICA may not beused under any circumstances to recreate a resource. It is used onlywith the ALE scenarios for resources delived by SAP in the standard.

Further information
For more information see the documentation for ALE Scenarios forResources

Description
The MASTERDATA structure contains the following fields:

  • LANGU Language key

  • LANGU_ISO Language per ISO 639

  • CO_AREA Controlling area

  • RESOURCE Resource

  • VALID_TO Date valid to

  • VALID_FROM Date valid from

  • RESOURCE_TYPE Resource type

  • UNITY Resource unit

  • UNITY_ISO ISO code unit

  • COST_ELEM Cost element with which the

  • resource is posted
    • PLANT Plant

    • MATERIAL Material number

    • BASE_PLANNING_OBJECT_NUMBER Base object costing (external number)

    • PURCH_ORG Purchasing organization

    • INFO_REC Number of purchase record

    • ENTERED_BY Entered by

    • ENTERED_ON Entered on

    • NAME Standard name

    • DESCRIPT Description

    • MATCHCODE_NAME Search term for matchcode use
    • Description
      Status of a database record to be posted

      Value range

      • I Include

      • U Change

      • D Delete
      • Description
        Table with error messages