Fonction SAP BAPI_CATIMESHEETMGR_DELETE - CATS: Delete Data Records

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
AGENT SWHACTOR u 14 X Workflow Recipient
PROFILE BAPICATS6-PROFILE C 8 X Data Entry Profile
RELEASE_DATA BAPICATS6-RELEASE_DATA C 1 X Release Data
TESTRUN BAPICATS6-TESTRUN C 1 X Test Run

Paramètre Reférence Long. Facultatif Description
CATSRECORDS BAPICATS4 47 Data to Be Deleted
RETURN BAPIRET2 548 Confirmations
WORKFLOW_TEXT SOLISTI1 255 X Workflow Text

Functionality
You can use this method to delete time data recorded in externalsystems or applications from the SAP Time Sheet.

Notes
You can only delete records from the time sheet with the status Inprocess, Released, or Rejected. If a record hasalready been approved, you can simply cancel it.
Posting Data Records
When you post records using this method, you should note that onlyrecords that do not contain errors are posted. If an error occursduring posting, none of the data - including records that do notcontain errors - is posted. You should, therefore, schedule data to beposted as often as possible and include only a small number of recordsin each posting.
You should also note that, when posting begins, all numeric fields notin use must be set to initial, that is you must fill all characters ofthe relevant fields with "0".
Confirmations
INCLUDE BAPI_RET

Description
You use this import paramter to enter a recipient for the workflow. Theobjects available for selection are the user, the position, the workcenter, and the organizational unit.

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

Default

Description
If you did not select Release on saving when you maintained yourprofile, a separate release step is necessary. This import parameterexecutes the release step automatically.

Default

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

Description
You use this import table to identify the records you want to deletefrom the time sheet.
The records are uniquely identified using an internal time sheetcounter or an external system document number.

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

Description
You use this import table to enter a message for the workflow.