@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultServiceEntrySheetService") public class DefaultServiceEntrySheetService extends Object implements ServiceEntrySheetService
This service enables a remote system to read, create and update service entry sheets from / in the SAP S/4HANA tenant.
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: | Procurement of Services (22Z) |
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 SheetConstraints: 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 SheetConstraints: Not nullable, Maximum length: 10
serviceEntrySheetItem
- Item Number of Service Entry SheetConstraints: 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 SheetConstraints: Not nullable, Maximum length: 10
serviceEntrySheetItem
- Item Number of Service Entry SheetConstraints: 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.Copyright © 2018 SAP SE. All rights reserved.