Fonction SAP BAPI_CATIMESHEETRECORD_GETLIST - Time Sheet: Data Record List

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FROMDATE BAPIHRITBASE-FROM_DATE D 8 Start Date of Selection Period
GET_LONGTEXT BAPICATS6-GET_LONGTEXT C 1 X Read Long Text
TEXT_FORMAT_EXP BAPICATS6-TEXT_FORMAT_EXP C 5 X Text Format for Export of Long Texts
TODATE BAPIHRITBASE-TO_DATE D 8 End Date of Selection Period

Paramètre Reférence Long. Facultatif Description
CATSRECORDS_OUT BAPICATS2 839 Data Export
EXTENSIONOUT BAPICATS7 990 X Customer Enhancement Export
LONGTEXT BAPICATS8 140 X Long Text Format
RETURN BAPIRET2 548 Confirmations
SA_EXTENSION_OUT BAPICATS7 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
SEL_EMPLOYEE BAPIHRSELEMPLOYEE 19 Employee Selection

Functionality
You can use this method to select records according to personnel numberand date. This enables you to have an overview of data that was alreadytransferred to the SAP Time Sheet, in the external application.

Notes
INCLUDE BAPI_RET
Caution
If when you call the function module you want to import more than50,000 data records, the system displays warning message LR351. Whenthe system displays this warning message it means that the selecteddata records have not been imported completely. Reduce the number ofdata records that the system imports each time the function module iscalled to under 50,000. To do this use parameter FROMDATE/TODATE andSEL_EMPLOYEE.

Description
Specifies the selection start date.

Description
Specifies the selection end date.

Description
You use this export table to return the selected records to the method.

Description
If you use customer fields in the time sheet, you can use this exporttable to obtain information on the data they contain. The additionalcustomer fields are reproduced in the customer-specific fields in theCATSDB table using the BAPI_TE_CATSDB structure.
The name of the structure is returned in the STRUCTURE field. Thecontents of the BAPI_TE_CATSDB structure is contained in the data part.The data part of this table must be structured analogously to theBAPI_TE_CATSDB structure. The first ten characters of the data part arefor the line numbers. The customer fields are linked to thecorresponding data record in the CATSRECORDS_OUT table using the linenumbers.

Description
This export table contains the confirmations from the method call.

Description
If you use service attributes in the Time Sheet, you can obtaininformation on the associated data using this export table. These se
rvice attributes are reproduced in the customer-specific fields in theCATSDB table using the BAPI_SA_CATSDB structure.
The name of the structure is returned in the STRUCTURE field. Thecontents of the BAPI_SA_CATSDB structure are contained in the data part.The data part of this table must be structured in the same way as theBAPI_SA_CATSDB structure. The first 10 characters of the data part arefor the line numbers. The service attributes are linked to thecorresponding data record in the CATSRECORDS_OUT table using the linenumbers.

Description
You use this import table to enter the criteria, according to which thepersonnel numbers should be selected, for the method.