public interface WorkforceTimesheetService extends BatchService<WorkforceTimesheetServiceBatch>
This service enables you to create, read, update and delete (CRUD) data related to Timesheet of a workforce (Employees or Contingent Workers) with the data provided in a payload, in an API call. This service also supports automatic posting of Timesheet data to Controlling synchronously.
Reference: SAP API Business Hub
|Communication Scenario:||Workforce Timesheet Integration (SAP_COM_0027)|
|Scope Items:||Time Recording (1Q4), Time Recording - Project-Based Services (J12)|
|Modifier and Type||Field and Description|
If no other path was provided via the
|Modifier and Type||Method and Description|
Create a new
Fetch a single
Overrides the default service path and returns a new service instance with the specified service path.
@Nonnull WorkforceTimesheetService withServicePath(@Nonnull String servicePath)
servicePath- Service path that will override the default.
@Nonnull TimeSheetEntryFluentHelper getAllTimeSheetEntry()
@Nonnull TimeSheetEntryByKeyFluentHelper getTimeSheetEntryByKey(String personWorkAgreementExternalID, String companyCode, String timeSheetRecord)
TimeSheetEntryentity using key fields.
personWorkAgreementExternalID- Work Agreement External ID
Constraints: Not nullable, Maximum length: 20
companyCode- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
timeSheetRecord- The system assigns time sheet records a counter. The counter represents a record's unique database ID.
Constraints: Not nullable, Maximum length: 12
TimeSheetEntryentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the
executemethod on the fluent helper object.
@Nonnull TimeSheetEntryCreateFluentHelper createTimeSheetEntry(@Nonnull TimeSheetEntry timeSheetEntry)
TimeSheetEntryentity and save it to the S/4HANA system.
Copyright © 2019 SAP SE. All rights reserved.