Fonction SAP BAPI_PTMGREXTATTABS_INSWCOST - BAPI ext. Att./absence: Insert in IFT (acct assgnmnt)

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

Functionality
This method transfers evaluated time data from external time managemensystems to the SAP R/3 System. The time data is then stored asattendance or absences.
Information on different payment and cost assignment is alsotransferred.

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.
This method does not support activity allocation.
The method BAPI: Checks ExternalAttendances/Absences (with Cost Assignment) and can check the dataprior to transferring to perform a plausibility check.

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)
  • 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.