Fonction SAP BAPI_PTMGREXTATTABS_CHECKCOLLI - Collision Check

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXTAPPLICATION BAPI7011_1-EXTAPPLICATION C 5 External Application
EXTSYSTEM BAPI7011_1-EXTSYSTEM C 10 External Logical System of Original Document
MESSAGETYPE BAPI7011_7-TYPE C 1 Message Type

Paramètre Reférence Long. Facultatif Description
COLLISIONRECORDS BAPI7011_5 88 Collisions
EXTERNALRECORDS BAPI7011_6 46 External Data Records
RETURN BAPIRET2 548 Confirmations

Functionality
This method checks if the time data records from an external timemanagement system will collide with the time data records in the R/3System.
The R/3 System is checked to see if a time data record exists in thesame time period. This checks both the time-related records created, aswell as the records created for full days.

Notes
The data to be checked is stored in the EXTERNALRECORDS parameter. Thedata records for which a collision occurs in the R/3 System arereturned in the COLLISIONRECORDS parameter.
If values exist in the EXTSYSTEM and EXTAPPLICATION fields then theinfotype records are not included with this external key.
Records for full-days and multiple days must have the ALL_DAY_FLAGselected in EXTERNALRECORDS.
The message type determines the type of error messages.

Description
INCLUDE BAPI_DATAELEMENT
An entry in the EXTAPPLICATION field means that theexternal application is removed from the collision check. It is assumedthat the applicable check for these data records have already takenplace in the external time management system.

Description
For information on this import parameter, please see the data elementdocumentation on the external system.

Description
This parameter controls the message types for which a collision shouldbe entered. Each message type is returned in the RETURN parameter.
For information on message types, see the data element documentation onthe message tyep.

Description
Data records causing a collision of data records between the externaltime management system and the R/3 System are returned in thisparameter.
In the ROW field, a link exists to the corresponding line in the RETURNparameter.
INCLUDE BAPI_DATAELEMENT

Description
All of the time data records that are new for uploading from theexternal time recording system to the R/3 System are stored in thisparameter.

Description
Each of the lines in this parameter references the corresponding linein the EXTERNALRECORDS parameter.
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 I
and S respectively.