Fonction SAP BAPI_PTMGREXTATTABS_INSERT - BAPI: Inserts External Abs./Atts. in Interface Table (w/o Acct Assignment)

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

Functionality
This method transfers evaluated time data from external time managementsystems to the SAP R/3 System. The time data is then stored asattendance or absences.
Information on different payment is also transferred.

Example

Notes
This method stores the data records in the interface tables PTEX2000and PTEXDIR. Then, the report RPTEXTPT (ExternalTransfer -> Time Management reads the data from PTEX2000 and storesit as Attendances in infotype 2002 or as Absences ininfotype 2001.
Neither cost assignment nor activity allocation is supported with thismethod.
The method
BAPI: Checks External Attendances/Absences (without Account Assignment) and can check the data priorto transferring it for plausibility checks.

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.
    Critical errors are assigned the types E (error) and A(abort). Warnings are indicated by a W, information and successmessages 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.