Fonction SAP BAPI_CC1_DNLOAD_ATTABSREASON - HR-PDC: Download Attendance/Absence Reasons

Paramètre Reférence Long. Facultatif Description
ATT_ABS_REASONS BAPICC1DNATTAB 69 Attendance/Absence Reasons
RETURN BAPIRET2 548

Functionality
This method sends permitted attendance and absence reasons to a timerecording system.
A check aganst the HR mini-master data downloading is then performed inthe time recording system.
The employees can then enter the attendance or absence reasonspermitted at the terminal.

Notes
This BAPI is a method for an interface type.
This BAPI uses the definition of a standardized interface. It is onlyimplemented by the system that this interface provides.
Data from the structure dictated by the BAPI is sent to the receiversystem. The receiver system then ensures that this data is entered inthe corresponding database tables. This can take place by implementingthe defined interface from this BAPI.
The HR mini-master record is sent to the time recording system by thereceiveMiniMasterData method.
The check against the HR mini-master record occurs via the parameterGRAWG.
The permitted reasons are a selection of the reasons in the infotypes2001 and 2002.
The following steps must be carried out in the Customizing section inthe Implementation Guide (IMG) for Personnel Time Events.

  • Personnel Time Events -> Specify grouping for attendance/absence
  • reasons at the subsystem
    • Personnel Time Events -> Maintain attendance/absence reasons
    • Further information
      The report RPTCC103 (HR-PDC: DownloadAttendance/Absence Reasons) starts the download.
      For more information, refer to the IMG for Distribution (ALE) in thesection on Connection to External TimeRecording Systems using CC1.

      Description
      This structure contains the attendance/absence reasons that are sent toan external time recording system.

      • ATT_ABS_REASON_GRPG

      • PS_GRPG_ATT_ABS_TYPE

      • ES_GRPG_WORK_SCHED

      • ATT_ABS_REASON

      • FROM_DATE

      • Start of validity period of the attendance/absence reasons
        • TO_DATE

        • End of validity period of the attendance/absence reasons
          • LANGU

          • LANGU_ISO

          • ATT_ABS_REASON_TEXT

          • Attendance/absence reason text

            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.