Fonction SAP BAPI_PTMGREXTATTABS_CHECKWACT - BAPI: Checks Attendance/Absence (with Activity Allocation)

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

Functionality
This method performs a plausibility check on the evaluated time datafrom external time management systems in the infotypes Absences(2001) and Attendances (2002). The data related to activity allocationis also checked.

Notes
Executing this method is optional. 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: Inserts ExternalAttendance/Absence in Interface Table (with Activity Allocation) andthen 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 R/3 System. These records can thenbe corrected there.

      Example

      Notes
      This method checks information on different payment.
      No cost assignment is checked with this method.

      Description
      INCLUDE BAPI_DATAELEMENT
      The following data is required:

      • Logical system of the original document (Field EXTSYSTEM)

      • External application (Field EXTAPPLICATION)

      • Document number (Field EXTDOCUMENTNO)

      • Personnel number (Field EMPLOYEENUMBER)

      • From date (Field FROM_DATE)

      • To date (Field TO_DATE)

      • Attendance or absence type (Field ABS_ATT_TYPE)

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

      • Attendance/absence hours (Field ABS_ATT_HOURS)
      • Default

        Description
        INCLUDE BAPI_DATAELEMENT
        The following data is required:

        • Logical system of the original document (Field EXTSYSTEM)

        • External application (Field EXTAPPLICATION)

        • Document number (Field EXTDOCUMENTNO)

        • Personnel number (Field EMPLOYEENUMBER)

        • From date (Field FROM_DATE)

        • To date (Field TO_DATE)

        • Attendance or absence type (Field ABS_ATT_TYPE)

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

        • Attendance/absence hours (Field ABS_ATT_HOURS)
        • Default

          Description
          Table with messages from record processing. The critical errors areassigned the types E (error) and A (abort). Warnings areindicated by a W, information and success messages by Iand S respectively.