Class DefaultServiceEntrySheetService
- All Implemented Interfaces:
BatchService<ServiceEntrySheetServiceBatch>,ServiceEntrySheetService
This service enables a remote system to read, create and update service entry sheets from or in the SAP S/4HANA Cloud system. It also provides service nodes to submit a service entry sheet for approval, withdraw a service entry sheet from approval or revoke approval of an already approved service entry sheet..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SERVICE_ENTRY_SHEET_SRV |
| API Version: | 1.2.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Service Entry Sheet Integration(SAP_COM_0146) |
| Scope Items: | Consumable Purchasing(BNX), Service and Material Procurement - Project-Based Services(J13), Consumable Purchasing(ONX), Procurement of Services(22Z) |
| Authentication Methods: | x509 |
| Business Object: | Service Entry Sheet |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ServiceEntrySheetService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingServiceEntrySheetService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createServiceEntrySheet(ServiceEntrySheet serviceEntrySheet) Deprecated.Create a newServiceEntrySheetentity and save it to the S/4HANA system.Deprecated.Fetch multipleServiceEntrySheetentities.Deprecated.Fetch multipleServiceEntrySheetItementities.Deprecated.Fetch multipleSrvcEntrShtAcctAssignmententities.getServiceEntrySheetByKey(String serviceEntrySheet) Deprecated.Fetch a singleServiceEntrySheetentity using key fields.getServiceEntrySheetItemByKey(String serviceEntrySheet, String serviceEntrySheetItem) Deprecated.Fetch a singleServiceEntrySheetItementity using key fields.getSrvcEntrShtAcctAssignmentByKey(String serviceEntrySheet, String serviceEntrySheetItem, String accountAssignment) Deprecated.Fetch a singleSrvcEntrShtAcctAssignmententity using key fields.revokeApproval(String postingDate, String serviceEntrySheet) Deprecated.Creates a fluent helper for the RevokeApproval OData function import.submitForApproval(String serviceEntrySheet) Deprecated.Creates a fluent helper for the SubmitForApproval OData function import.updateServiceEntrySheet(ServiceEntrySheet serviceEntrySheet) Deprecated.Update an existingServiceEntrySheetentity and save it to the S/4HANA system.updateServiceEntrySheetItem(ServiceEntrySheetItem serviceEntrySheetItem) Deprecated.Update an existingServiceEntrySheetItementity and save it to the S/4HANA system.updateSrvcEntrShtAcctAssignment(SrvcEntrShtAcctAssignment srvcEntrShtAcctAssignment) Deprecated.Update an existingSrvcEntrShtAcctAssignmententity and save it to the S/4HANA system.withdrawFromApproval(String serviceEntrySheet) Deprecated.Creates a fluent helper for the WithdrawFromApproval OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultServiceEntrySheetService
public DefaultServiceEntrySheetService()Deprecated.Creates a service usingServiceEntrySheetService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ServiceEntrySheetServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceServiceEntrySheetService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<ServiceEntrySheetServiceBatch>
-
getAllServiceEntrySheet
Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch multipleServiceEntrySheetentities.- Specified by:
getAllServiceEntrySheetin interfaceServiceEntrySheetService- Returns:
- A fluent helper to fetch multiple
ServiceEntrySheetentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getServiceEntrySheetByKey
@Nonnull public ServiceEntrySheetByKeyFluentHelper getServiceEntrySheetByKey(String serviceEntrySheet) Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch a singleServiceEntrySheetentity using key fields.- Specified by:
getServiceEntrySheetByKeyin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
ServiceEntrySheetentity 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 theexecutemethod on the fluent helper object.
-
createServiceEntrySheet
@Nonnull public ServiceEntrySheetCreateFluentHelper createServiceEntrySheet(@Nonnull ServiceEntrySheet serviceEntrySheet) Deprecated.Description copied from interface:ServiceEntrySheetServiceCreate a newServiceEntrySheetentity and save it to the S/4HANA system.- Specified by:
createServiceEntrySheetin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet-ServiceEntrySheetentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ServiceEntrySheetentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateServiceEntrySheet
@Nonnull public ServiceEntrySheetUpdateFluentHelper updateServiceEntrySheet(@Nonnull ServiceEntrySheet serviceEntrySheet) Deprecated.Description copied from interface:ServiceEntrySheetServiceUpdate an existingServiceEntrySheetentity and save it to the S/4HANA system.- Specified by:
updateServiceEntrySheetin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet-ServiceEntrySheetentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ServiceEntrySheetentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllServiceEntrySheetItem
Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch multipleServiceEntrySheetItementities.- Specified by:
getAllServiceEntrySheetItemin interfaceServiceEntrySheetService- Returns:
- A fluent helper to fetch multiple
ServiceEntrySheetItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getServiceEntrySheetItemByKey
@Nonnull public ServiceEntrySheetItemByKeyFluentHelper getServiceEntrySheetItemByKey(String serviceEntrySheet, String serviceEntrySheetItem) Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch a singleServiceEntrySheetItementity using key fields.- Specified by:
getServiceEntrySheetItemByKeyin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
serviceEntrySheetItem- Item Number of Service Entry SheetConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
ServiceEntrySheetItementity 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 theexecutemethod on the fluent helper object.
-
updateServiceEntrySheetItem
@Nonnull public ServiceEntrySheetItemUpdateFluentHelper updateServiceEntrySheetItem(@Nonnull ServiceEntrySheetItem serviceEntrySheetItem) Deprecated.Description copied from interface:ServiceEntrySheetServiceUpdate an existingServiceEntrySheetItementity and save it to the S/4HANA system.- Specified by:
updateServiceEntrySheetItemin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheetItem-ServiceEntrySheetItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ServiceEntrySheetItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllSrvcEntrShtAcctAssignment
Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch multipleSrvcEntrShtAcctAssignmententities.- Specified by:
getAllSrvcEntrShtAcctAssignmentin interfaceServiceEntrySheetService- Returns:
- A fluent helper to fetch multiple
SrvcEntrShtAcctAssignmententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSrvcEntrShtAcctAssignmentByKey
@Nonnull public SrvcEntrShtAcctAssignmentByKeyFluentHelper getSrvcEntrShtAcctAssignmentByKey(String serviceEntrySheet, String serviceEntrySheetItem, String accountAssignment) Deprecated.Description copied from interface:ServiceEntrySheetServiceFetch a singleSrvcEntrShtAcctAssignmententity using key fields.- Specified by:
getSrvcEntrShtAcctAssignmentByKeyin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
serviceEntrySheetItem- Item Number of Service Entry SheetConstraints: Not nullable, Maximum length: 5
accountAssignment- Sequential Number of Account AssignmentConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
SrvcEntrShtAcctAssignmententity 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 theexecutemethod on the fluent helper object.
-
updateSrvcEntrShtAcctAssignment
@Nonnull public SrvcEntrShtAcctAssignmentUpdateFluentHelper updateSrvcEntrShtAcctAssignment(@Nonnull SrvcEntrShtAcctAssignment srvcEntrShtAcctAssignment) Deprecated.Description copied from interface:ServiceEntrySheetServiceUpdate an existingSrvcEntrShtAcctAssignmententity and save it to the S/4HANA system.- Specified by:
updateSrvcEntrShtAcctAssignmentin interfaceServiceEntrySheetService- Parameters:
srvcEntrShtAcctAssignment-SrvcEntrShtAcctAssignmententity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
SrvcEntrShtAcctAssignmententity. To perform execution, call theexecutemethod on the fluent helper object.
-
submitForApproval
Deprecated.Description copied from interface:ServiceEntrySheetServiceCreates a fluent helper for the SubmitForApproval OData function import.
- Specified by:
submitForApprovalin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
- Returns:
- A fluent helper object that will execute the SubmitForApproval OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
revokeApproval
@Nonnull public RevokeApprovalFluentHelper revokeApproval(@Nonnull String postingDate, @Nonnull String serviceEntrySheet) Deprecated.Description copied from interface:ServiceEntrySheetServiceCreates a fluent helper for the RevokeApproval OData function import.
- Specified by:
revokeApprovalin interfaceServiceEntrySheetService- Parameters:
postingDate- Posting DateConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: PostingDate
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
- Returns:
- A fluent helper object that will execute the RevokeApproval OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
withdrawFromApproval
@Nonnull public WithdrawFromApprovalFluentHelper withdrawFromApproval(@Nonnull String serviceEntrySheet) Deprecated.Description copied from interface:ServiceEntrySheetServiceCreates a fluent helper for the WithdrawFromApproval OData function import.
- Specified by:
withdrawFromApprovalin interfaceServiceEntrySheetService- Parameters:
serviceEntrySheet- Service Entry SheetConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
- Returns:
- A fluent helper object that will execute the WithdrawFromApproval OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-