Fonction SAP BAPI_EECATIMESHEET_GETWORKLIST - Time Sheet: Read Worklist

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPICATS1-EMPLOYEENUMBER N 8 Personnel Number
INPUTDATE CATSFIELDS-INPUTDATE D 8 Key Date
PROFILE BAPICATS6-PROFILE C 8 Data Entry Profile

Paramètre Reférence Type Long. Description
DATE_FROM BAPIHRITBASE-FROM_DATE D 8 Start Date of Worklist
DATE_TO BAPIHRITBASE-TO_DATE D 8 End Date of Worklist

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPICATS7 990 X Customer Enhancement Export
RETURN BAPIRET2 548 Confirmations
SA_EXTENSION_OUT BAPICATS7 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
WORKLIST BAPICATS5 706 Worklist

Functionality
You can use this method to display the time sheet worklist in anexternal system or external application.
Depending on the profile you use, it may only display data for days inthe current display period.

Notes
To use this function, you must set up your data entry profile so thatit generates a worklist and specifes the data the worklist is tocontain.
INCLUDE BAPI_RET

Description
The system determines the start date of the worklist from the timesettings in the relevant profile.

Description
The system determines the end date of the worklist from the timesettings in the relevant profile.

Description
For information on the significance of this import parameter, see thedata element documentation: Personnel Number.

Description
For information on the significance of this import parameter, see thedata element documentation: Key Date for TimeRecording.

Description
For information on the significance of this import parameter, see thedata element documentation: Data Entry Profile.

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 service attributes in the CATSDBtable 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 customer fields are linked to thecorresponding data record in the CATSRECORDS_OUT table using the linenumbers.

Description
In the worklist, users can display information on the activities they,or the employee whose working times they are recording, were assignedor undertook.
You can enter a worklist for the method using this export table.

Value range
The "day1" field refers to the date returned in the "date_from"parameter. The following days are numbered in sequence. Only plannedhours from the period between the "date_from" and "date_to" aredisplayed.