Interface WorkforceTimesheetService

All Superinterfaces:
BatchService<WorkforceTimesheetServiceBatch>
All Known Implementing Classes:
DefaultWorkforceTimesheetService

@Deprecated public interface WorkforceTimesheetService extends BatchService<WorkforceTimesheetServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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 the controlling module synchronously.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_MANAGE_WORKFORCE_TIMESHEET
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Workforce Timesheet Integration(SAP_COM_0027)
Scope Items: Time Recording(1Q4), Time Recording - Project-Based Services(J12), Time Recording(OQ4)
Authentication Methods: x509
Business Object: TimeSheet
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull WorkforceTimesheetService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • getAllTimeSheetEntry

      @Nonnull TimeSheetEntryFluentHelper getAllTimeSheetEntry()
      Deprecated.
      Fetch multiple TimeSheetEntry entities.
      Returns:
      A fluent helper to fetch multiple TimeSheetEntry entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the fluent helper object.
    • getTimeSheetEntryByKey

      @Nonnull TimeSheetEntryByKeyFluentHelper getTimeSheetEntryByKey(String personWorkAgreementExternalID, String companyCode, String timeSheetRecord)
      Deprecated.
      Fetch a single TimeSheetEntry entity using key fields.
      Parameters:
      personWorkAgreementExternalID - Person Work Agreement External ID

      Constraints: Not nullable, Maximum length: 20

      companyCode - Company Code

      Constraints: Not nullable, Maximum length: 4

      timeSheetRecord - Time Sheet Record

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A fluent helper to fetch a single TimeSheetEntry entity 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 execute method on the fluent helper object.
    • createTimeSheetEntry

      @Nonnull TimeSheetEntryCreateFluentHelper createTimeSheetEntry(@Nonnull TimeSheetEntry timeSheetEntry)
      Deprecated.
      Create a new TimeSheetEntry entity and save it to the S/4HANA system.
      Parameters:
      timeSheetEntry - TimeSheetEntry entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new TimeSheetEntry entity. To perform execution, call the execute method on the fluent helper object.