@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultServiceEntrySheetService") public class DefaultServiceEntrySheetService extends Object implements ServiceEntrySheetService
This synchronous inbound OData service enables a remote system to read and create service entry sheets from or in the SAP S/4HANA system. You can use this service to submit a service entry sheet for approval, withdraw it from approval, or revoke approval of an already approved service entry sheet.
Reference: SAP API Business Hub
OData Service: | API_SERVICE_ENTRY_SHEET_SRV |
API Version: | 1 |
Communication Scenario: | Service Entry Sheet Integration (SAP_COM_0146) |
Scope Items: | Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Services (22Z) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultServiceEntrySheetService()
Creates a service using
ServiceEntrySheetService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultServiceEntrySheetService()
ServiceEntrySheetService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultServiceEntrySheetService withServicePath(@Nonnull String servicePath)
ServiceEntrySheetService
withServicePath
in interface ServiceEntrySheetService
servicePath
- Service path that will override the default.@Nonnull public ServiceEntrySheetFluentHelper getAllServiceEntrySheet()
ServiceEntrySheetService
ServiceEntrySheet
entities.getAllServiceEntrySheet
in interface ServiceEntrySheetService
ServiceEntrySheet
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.@Nonnull public ServiceEntrySheetByKeyFluentHelper getServiceEntrySheetByKey(String serviceEntrySheet)
ServiceEntrySheetService
ServiceEntrySheet
entity using key fields.getServiceEntrySheetByKey
in interface ServiceEntrySheetService
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
ServiceEntrySheet
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.@Nonnull public ServiceEntrySheetCreateFluentHelper createServiceEntrySheet(@Nonnull ServiceEntrySheet serviceEntrySheet)
ServiceEntrySheetService
ServiceEntrySheet
entity and save it to the S/4HANA system.createServiceEntrySheet
in interface ServiceEntrySheetService
serviceEntrySheet
- ServiceEntrySheet
entity object that will be created in the S/4HANA system.ServiceEntrySheet
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceEntrySheetUpdateFluentHelper updateServiceEntrySheet(@Nonnull ServiceEntrySheet serviceEntrySheet)
ServiceEntrySheetService
ServiceEntrySheet
entity and save it to the S/4HANA system.updateServiceEntrySheet
in interface ServiceEntrySheetService
serviceEntrySheet
- ServiceEntrySheet
entity object that will be updated in the S/4HANA system.ServiceEntrySheet
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceEntrySheetItemFluentHelper getAllServiceEntrySheetItem()
ServiceEntrySheetService
ServiceEntrySheetItem
entities.getAllServiceEntrySheetItem
in interface ServiceEntrySheetService
ServiceEntrySheetItem
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.@Nonnull public ServiceEntrySheetItemByKeyFluentHelper getServiceEntrySheetItemByKey(String serviceEntrySheet, String serviceEntrySheetItem)
ServiceEntrySheetService
ServiceEntrySheetItem
entity using key fields.getServiceEntrySheetItemByKey
in interface ServiceEntrySheetService
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
serviceEntrySheetItem
- Item Number of Service Entry Sheet
Constraints: Not nullable, Maximum length: 5
ServiceEntrySheetItem
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.@Nonnull public ServiceEntrySheetItemCreateFluentHelper createServiceEntrySheetItem(@Nonnull ServiceEntrySheetItem serviceEntrySheetItem)
ServiceEntrySheetService
ServiceEntrySheetItem
entity and save it to the S/4HANA system.createServiceEntrySheetItem
in interface ServiceEntrySheetService
serviceEntrySheetItem
- ServiceEntrySheetItem
entity object that will be created in the S/4HANA system.ServiceEntrySheetItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ServiceEntrySheetItemUpdateFluentHelper updateServiceEntrySheetItem(@Nonnull ServiceEntrySheetItem serviceEntrySheetItem)
ServiceEntrySheetService
ServiceEntrySheetItem
entity and save it to the S/4HANA system.updateServiceEntrySheetItem
in interface ServiceEntrySheetService
serviceEntrySheetItem
- ServiceEntrySheetItem
entity object that will be updated in the S/4HANA system.ServiceEntrySheetItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SrvcEntrShtAcctAssignmentFluentHelper getAllSrvcEntrShtAcctAssignment()
ServiceEntrySheetService
SrvcEntrShtAcctAssignment
entities.getAllSrvcEntrShtAcctAssignment
in interface ServiceEntrySheetService
SrvcEntrShtAcctAssignment
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.@Nonnull public SrvcEntrShtAcctAssignmentByKeyFluentHelper getSrvcEntrShtAcctAssignmentByKey(String serviceEntrySheet, String serviceEntrySheetItem, String accountAssignment)
ServiceEntrySheetService
SrvcEntrShtAcctAssignment
entity using key fields.getSrvcEntrShtAcctAssignmentByKey
in interface ServiceEntrySheetService
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
serviceEntrySheetItem
- Item Number of Service Entry Sheet
Constraints: Not nullable, Maximum length: 5
accountAssignment
- Number uniquely defining the account assignment of a purchase document item.
Constraints: Not nullable, Maximum length: 2
SrvcEntrShtAcctAssignment
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.@Nonnull public SrvcEntrShtAcctAssignmentCreateFluentHelper createSrvcEntrShtAcctAssignment(@Nonnull SrvcEntrShtAcctAssignment srvcEntrShtAcctAssignment)
ServiceEntrySheetService
SrvcEntrShtAcctAssignment
entity and save it to the S/4HANA system.createSrvcEntrShtAcctAssignment
in interface ServiceEntrySheetService
srvcEntrShtAcctAssignment
- SrvcEntrShtAcctAssignment
entity object that will be created in the S/4HANA system.SrvcEntrShtAcctAssignment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SrvcEntrShtAcctAssignmentUpdateFluentHelper updateSrvcEntrShtAcctAssignment(@Nonnull SrvcEntrShtAcctAssignment srvcEntrShtAcctAssignment)
ServiceEntrySheetService
SrvcEntrShtAcctAssignment
entity and save it to the S/4HANA system.updateSrvcEntrShtAcctAssignment
in interface ServiceEntrySheetService
srvcEntrShtAcctAssignment
- SrvcEntrShtAcctAssignment
entity object that will be updated in the S/4HANA system.SrvcEntrShtAcctAssignment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SubmitForApprovalFluentHelper submitForApproval(String serviceEntrySheet)
ServiceEntrySheetService
Creates a fluent helper for the SubmitForApproval OData function import.
submitForApproval
in interface ServiceEntrySheetService
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
execute
method on the fluent helper object.@Nonnull public RevokeApprovalFluentHelper revokeApproval(String postingDate, String serviceEntrySheet)
ServiceEntrySheetService
Creates a fluent helper for the RevokeApproval OData function import.
revokeApproval
in interface ServiceEntrySheetService
postingDate
- Posting Date
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: PostingDate
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
execute
method on the fluent helper object.@Nonnull public WithdrawFromApprovalFluentHelper withdrawFromApproval(String serviceEntrySheet)
ServiceEntrySheetService
Creates a fluent helper for the WithdrawFromApproval OData function import.
withdrawFromApproval
in interface ServiceEntrySheetService
serviceEntrySheet
- Service Entry Sheet
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ServiceEntrySheet
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.