Fonction SAP BAPI_PTMGREXTATTABS_CHECK - BAPI: Checks External Attendance/Absence (w/o Account Assignment)

Paramètre Reférence Long. Facultatif Description
ATTENDANCE_ABSENCE_IN BAPI7011_1 173 Attendance/Absence
ATTENDANCE_ABSENCE_OUT BAPI7011_1 173 Attendance/Absence
RETURN BAPIRET2 548 Confirmations

Functionality
This method performs a plausibility check on evaluated time data fromexternal time management systems in the Absences (2001) andAttendances (2002) infotypes.

Example

Notes
Executing this method is option. It is carried out when transferringdata to the SAP R/3 System.

  • Correct data records are transferred to the SAP R/3 System with the
  • method BAPI: Insert ExternalAttendance/Absence in Interface Table without Account Assignementand stored in the interface tables PTEX2000 and PTEXDIR.
    • Incorrect data records are logged in the external time management
    • system and not uploaded to the SAP System. These records can only becorrected in the external system.
      This method also checks any information on different (alternative)payment.
      No cost assignment or activity allocation is supported for this method.

      Description
      INCLUDE BAPI_DATAELEMENT
      The following data is required:

      • Logical system of original document (Field EXTSYSTEM)

      • External application (Field EXTAPPLICATION)

      • Document number (Field EXTDOCUMENTNO)

      • Personnel number (Field EMPLOYEENUMBER)

      • From date (Field FROM_DATE)

      • End date (Field TO_DATE)

      • Attendance or absence type (Field ABS_ATT_TYPE)

      • Start time (Field START_TIME) and End start (Field END_TIME) or

      • Attendance/absence hours (Field ABS_ATT_HOURS)
      • Description
        INCLUDE BAPI_DATAELEMENT
        The following data is required:

        • Logical system of original document (Field EXTSYSTEM)

        • External application (Field EXTAPPLICATION)

        • Document number (Field EXTDOCUMENTNO)

        • Personnel number (Field EMPLOYEENUMBER)

        • From date (Field FROM_DATE)

        • End date (Field TO_DATE)

        • Attendance or absence type (Field ABS_ATT_TYPE)

        • Start time (Field START_TIME) and End start (Field END_TIME) or

        • Attendance/absence hours (Field ABS_ATT_HOURS)
        • Description
          Table with messages from record processing.
          Critical errors are assigned the categories E (error) and A
          (abort). Warnings are indicated by a W, information andsuccess messages by I and S respectively.
          If at least one E or A record appears in the table, theattendance/absence record was rejected by the system.