Fonction SAP BAPI_PTMGREXTATTABS_INSERTWACT - BAPI: Inserts External Abs./Atts. in Interface Table (Activity Allocation)

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

Functionality
This method transfers evaluated time data from external time managementsystems to the SAP R/3 System.
Information on different payment and activity allocation 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.
No cost assignment is supported with this method.
The method
BAPI: Checks ExternalAttendances/Absences in Interface Table (with Cost Assignment) andcheck the data prior to 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)
  • U1&MEANING&
    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.

    U1&RANGE&
    AS