Fonction SAP BAPI_PTMGREXTATTABS_CHECKWCOST - BAPI: Checks Attendance/Absence (with Cost Assignment)

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

1&FUNCTIONALITY&
This method performs a plausibility check on the evaluated time datafrom external time management systems in the infotypes Absences(2001) and Attendances (2002). Data related to cost assignmentis also checked.

Example

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

  • 1Correct data records are transferred to the SAP R/3 System with the
  • method BAPI: Inserts ExternalAttendances/Absences in Interface Table (with Cost Assignment) andthen stores it in the interface tables PTEX2000 and PTEXDIR.
    • Incorrect data records are logged in the external time management
    • system and are not not uploaded to the SAP R/3 System. These recordscan then be corrected there.
      This method checks information on different (alternative) payment.
      This method does not support activity allocation.

      1&HINTS&

      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.