Fonction SAP BAPI_CC1_DNLOAD_COSTCENTER - HR-PDC: Download Cost Centers

Paramètre Reférence Long. Facultatif Description
COSTCENTER BAPICC1DNCOSTC 75 Cost Centers
RETURN BAPIRET2 548

Functionality
This method enables you to send the cost centers for which a costassignment is permitted to the time recording system.
When an employee enters a time event, the corresponding cost centerinitiates the cost assignment.
The cost centers recorded by the employees are then checked (validated)in the time recording system.

Notes
This BAPI is a method for an interface type.
This BAPI uses the definition of the standardized interface. It isimplemented by the system that provides this interface.
The data in the structure determined by the BAPI is transferred to thereceiver system. The receiver system then ensures that this data isentered in the applicable database tables. To do so, implement theinterface defined for this BAPI.

Further information
The report RPTCC107 (HR-PDC: Download Cost Centers)starts the download.
For more information, see the Customizing sectionConnection with External Time RecordingSystem using CC1 in the Implementation Guide (IMG) for Distribution(ALE).

Description
In this structure, the cost centers to be posted are sent to anexternal time recording system.

  • COMP_CODE

  • COSTCENTER

  • COSTCENTER_GRP

  • FROM_DATE

  • Start date of cost centers
    • TO_DATE

    • End date of cost centers
      • COCNTR_TXT
      • Description
        Method return code

        Value range
        If an error occurs, this structure contains, for example, the followinginformation:
        Message type (TYPE field)
        Message code (CODE field)
        Message text (MESSAGE field)

        Default
        Critical errors are indicated by E (error) and A (abort),warnings by W, and information and success messages by Iand S respectively.