@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSchedulingAgreementService") public class DefaultSchedulingAgreementService extends Object implements SchedulingAgreementService
This service enables you to create scheduling agreements through an API call from a source system outside SAP S/4HANA Cloud or SAP S/4HANA on- Premise. Furthermore, the service enables you to read, update and delete existing scheduling agreement data from the SAP S/4HANA Cloud or SAP S/4HANA on- Premise system.
Reference: SAP API Business Hub
OData Service: | API_SCHED_AGRMT_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Purchase Scheduling Agreement Integration (SAP_COM_0103) |
Scope Items: | Scheduling Agreements in Procurement (BMR), Consumable Purchasing (BNX), Procurement of Direct Materials (J45) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSchedulingAgreementService()
Creates a service using
SchedulingAgreementService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
SchAgrmtAcCntCreateFluentHelper |
createSchAgrmtAcCnt(SchAgrmtAcCnt schAgrmtAcCnt)
Create a new
SchAgrmtAcCnt entity and save it to the S/4HANA system. |
SchAgrmtHeaderCreateFluentHelper |
createSchAgrmtHeader(SchAgrmtHeader schAgrmtHeader)
Create a new
SchAgrmtHeader entity and save it to the S/4HANA system. |
SchAgrmtItemCreateFluentHelper |
createSchAgrmtItem(SchAgrmtItem schAgrmtItem)
Create a new
SchAgrmtItem entity and save it to the S/4HANA system. |
SchAgrmtPartnerCreateFluentHelper |
createSchAgrmtPartner(SchAgrmtPartner schAgrmtPartner)
Create a new
SchAgrmtPartner entity and save it to the S/4HANA system. |
SchAgrmtSchLineCreateFluentHelper |
createSchAgrmtSchLine(SchAgrmtSchLine schAgrmtSchLine)
Create a new
SchAgrmtSchLine entity and save it to the S/4HANA system. |
SchAgrmtAcCntDeleteFluentHelper |
deleteSchAgrmtAcCnt(SchAgrmtAcCnt schAgrmtAcCnt)
Deletes an existing
SchAgrmtAcCnt entity in the S/4HANA system. |
SchAgrmtHeaderDeleteFluentHelper |
deleteSchAgrmtHeader(SchAgrmtHeader schAgrmtHeader)
Deletes an existing
SchAgrmtHeader entity in the S/4HANA system. |
SchAgrmtItemDeleteFluentHelper |
deleteSchAgrmtItem(SchAgrmtItem schAgrmtItem)
Deletes an existing
SchAgrmtItem entity in the S/4HANA system. |
SchAgrmtPartnerDeleteFluentHelper |
deleteSchAgrmtPartner(SchAgrmtPartner schAgrmtPartner)
Deletes an existing
SchAgrmtPartner
entity in the S/4HANA system. |
SchAgrmtSchLineDeleteFluentHelper |
deleteSchAgrmtSchLine(SchAgrmtSchLine schAgrmtSchLine)
Deletes an existing
SchAgrmtSchLine
entity in the S/4HANA system. |
SchAgrmtAcCntFluentHelper |
getAllSchAgrmtAcCnt()
Fetch multiple
SchAgrmtAcCnt entities. |
SchAgrmtHeaderFluentHelper |
getAllSchAgrmtHeader()
Fetch multiple
SchAgrmtHeader entities. |
SchAgrmtItemFluentHelper |
getAllSchAgrmtItem()
Fetch multiple
SchAgrmtItem entities. |
SchAgrmtPartnerFluentHelper |
getAllSchAgrmtPartner()
Fetch multiple
SchAgrmtPartner entities. |
SchAgrmtSchLineFluentHelper |
getAllSchAgrmtSchLine()
Fetch multiple
SchAgrmtSchLine entities. |
SchAgrmtAcCntByKeyFluentHelper |
getSchAgrmtAcCntByKey(String accountAssignmentNumber,
String schedulingAgreementItem,
String schedulingAgreement)
Fetch a single
SchAgrmtAcCnt entity using key fields. |
SchAgrmtHeaderByKeyFluentHelper |
getSchAgrmtHeaderByKey(String schedulingAgreement)
Fetch a single
SchAgrmtHeader entity using key fields. |
SchAgrmtItemByKeyFluentHelper |
getSchAgrmtItemByKey(String schedulingAgreement,
String schedulingAgreementItem)
Fetch a single
SchAgrmtItem entity using key fields. |
SchAgrmtPartnerByKeyFluentHelper |
getSchAgrmtPartnerByKey(String schedulingAgreement,
String schedulingAgreementItem,
String purchasingOrganization,
String supplierSubrange,
String plant,
String partnerFunction,
String partnerCounter)
Fetch a single
SchAgrmtPartner entity using key fields. |
SchAgrmtSchLineByKeyFluentHelper |
getSchAgrmtSchLineByKey(String schedulingAgreement,
String schedulingAgreementItem,
String scheduleLine)
Fetch a single
SchAgrmtSchLine entity using key fields. |
SchAgrmtAcCntUpdateFluentHelper |
updateSchAgrmtAcCnt(SchAgrmtAcCnt schAgrmtAcCnt)
Update an existing
SchAgrmtAcCnt entity and save it to the S/4HANA system. |
SchAgrmtHeaderUpdateFluentHelper |
updateSchAgrmtHeader(SchAgrmtHeader schAgrmtHeader)
Update an existing
SchAgrmtHeader entity and save it to the S/4HANA system. |
SchAgrmtItemUpdateFluentHelper |
updateSchAgrmtItem(SchAgrmtItem schAgrmtItem)
Update an existing
SchAgrmtItem entity and save it to the S/4HANA system. |
SchAgrmtPartnerUpdateFluentHelper |
updateSchAgrmtPartner(SchAgrmtPartner schAgrmtPartner)
Update an existing
SchAgrmtPartner entity and save it to the S/4HANA system. |
SchAgrmtSchLineUpdateFluentHelper |
updateSchAgrmtSchLine(SchAgrmtSchLine schAgrmtSchLine)
Update an existing
SchAgrmtSchLine entity and save it to the S/4HANA system. |
DefaultSchedulingAgreementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSchedulingAgreementService()
SchedulingAgreementService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSchedulingAgreementService withServicePath(@Nonnull String servicePath)
SchedulingAgreementService
withServicePath
in interface SchedulingAgreementService
servicePath
- Service path that will override the default.@Nonnull public SchAgrmtAcCntFluentHelper getAllSchAgrmtAcCnt()
SchedulingAgreementService
SchAgrmtAcCnt
entities.getAllSchAgrmtAcCnt
in interface SchedulingAgreementService
SchAgrmtAcCnt
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 SchAgrmtAcCntByKeyFluentHelper getSchAgrmtAcCntByKey(String accountAssignmentNumber, String schedulingAgreementItem, String schedulingAgreement)
SchedulingAgreementService
SchAgrmtAcCnt
entity using key fields.getSchAgrmtAcCntByKey
in interface SchedulingAgreementService
accountAssignmentNumber
- Sequential Number of Account Assignment
Constraints: Not nullable, Maximum length: 2
schedulingAgreementItem
- Item Number of Purchasing Document
Constraints: Not nullable, Maximum length: 5
schedulingAgreement
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
SchAgrmtAcCnt
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 SchAgrmtAcCntCreateFluentHelper createSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchedulingAgreementService
SchAgrmtAcCnt
entity and save it to the S/4HANA system.createSchAgrmtAcCnt
in interface SchedulingAgreementService
schAgrmtAcCnt
- SchAgrmtAcCnt
entity object that will be created in the S/4HANA system.SchAgrmtAcCnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtAcCntUpdateFluentHelper updateSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchedulingAgreementService
SchAgrmtAcCnt
entity and save it to the S/4HANA system.updateSchAgrmtAcCnt
in interface SchedulingAgreementService
schAgrmtAcCnt
- SchAgrmtAcCnt
entity object that will be updated in the S/4HANA system.SchAgrmtAcCnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtAcCntDeleteFluentHelper deleteSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchedulingAgreementService
SchAgrmtAcCnt
entity in the S/4HANA system.deleteSchAgrmtAcCnt
in interface SchedulingAgreementService
schAgrmtAcCnt
- SchAgrmtAcCnt
entity object that will be deleted in the S/4HANA system.SchAgrmtAcCnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtHeaderFluentHelper getAllSchAgrmtHeader()
SchedulingAgreementService
SchAgrmtHeader
entities.getAllSchAgrmtHeader
in interface SchedulingAgreementService
SchAgrmtHeader
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 SchAgrmtHeaderByKeyFluentHelper getSchAgrmtHeaderByKey(String schedulingAgreement)
SchedulingAgreementService
SchAgrmtHeader
entity using key fields.getSchAgrmtHeaderByKey
in interface SchedulingAgreementService
schedulingAgreement
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
SchAgrmtHeader
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 SchAgrmtHeaderCreateFluentHelper createSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchedulingAgreementService
SchAgrmtHeader
entity and save it to the S/4HANA system.createSchAgrmtHeader
in interface SchedulingAgreementService
schAgrmtHeader
- SchAgrmtHeader
entity object that will be created in the S/4HANA system.SchAgrmtHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtHeaderUpdateFluentHelper updateSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchedulingAgreementService
SchAgrmtHeader
entity and save it to the S/4HANA system.updateSchAgrmtHeader
in interface SchedulingAgreementService
schAgrmtHeader
- SchAgrmtHeader
entity object that will be updated in the S/4HANA system.SchAgrmtHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtHeaderDeleteFluentHelper deleteSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchedulingAgreementService
SchAgrmtHeader
entity in the S/4HANA system.deleteSchAgrmtHeader
in interface SchedulingAgreementService
schAgrmtHeader
- SchAgrmtHeader
entity object that will be deleted in the S/4HANA system.SchAgrmtHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtItemFluentHelper getAllSchAgrmtItem()
SchedulingAgreementService
SchAgrmtItem
entities.getAllSchAgrmtItem
in interface SchedulingAgreementService
SchAgrmtItem
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 SchAgrmtItemByKeyFluentHelper getSchAgrmtItemByKey(String schedulingAgreement, String schedulingAgreementItem)
SchedulingAgreementService
SchAgrmtItem
entity using key fields.getSchAgrmtItemByKey
in interface SchedulingAgreementService
schedulingAgreement
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
schedulingAgreementItem
- Item Number of Purchasing Document
Constraints: Not nullable, Maximum length: 5
SchAgrmtItem
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 SchAgrmtItemCreateFluentHelper createSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchedulingAgreementService
SchAgrmtItem
entity and save it to the S/4HANA system.createSchAgrmtItem
in interface SchedulingAgreementService
schAgrmtItem
- SchAgrmtItem
entity object that will be created in the S/4HANA system.SchAgrmtItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtItemUpdateFluentHelper updateSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchedulingAgreementService
SchAgrmtItem
entity and save it to the S/4HANA system.updateSchAgrmtItem
in interface SchedulingAgreementService
schAgrmtItem
- SchAgrmtItem
entity object that will be updated in the S/4HANA system.SchAgrmtItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtItemDeleteFluentHelper deleteSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchedulingAgreementService
SchAgrmtItem
entity in the S/4HANA system.deleteSchAgrmtItem
in interface SchedulingAgreementService
schAgrmtItem
- SchAgrmtItem
entity object that will be deleted in the S/4HANA system.SchAgrmtItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtPartnerFluentHelper getAllSchAgrmtPartner()
SchedulingAgreementService
SchAgrmtPartner
entities.getAllSchAgrmtPartner
in interface SchedulingAgreementService
SchAgrmtPartner
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 SchAgrmtPartnerByKeyFluentHelper getSchAgrmtPartnerByKey(String schedulingAgreement, String schedulingAgreementItem, String purchasingOrganization, String supplierSubrange, String plant, String partnerFunction, String partnerCounter)
SchedulingAgreementService
SchAgrmtPartner
entity using key fields.getSchAgrmtPartnerByKey
in interface SchedulingAgreementService
schedulingAgreement
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
schedulingAgreementItem
- Item Number of Purchasing Document
Constraints: Not nullable, Maximum length: 5
purchasingOrganization
- Purchasing Organization
Constraints: Not nullable, Maximum length: 4
supplierSubrange
- Supplier Subrange
Constraints: Not nullable, Maximum length: 6
plant
- Plant
Constraints: Not nullable, Maximum length: 4
partnerFunction
- Partner Function
Constraints: Not nullable, Maximum length: 2
partnerCounter
- Partner counter
Constraints: Not nullable, Maximum length: 3
SchAgrmtPartner
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 SchAgrmtPartnerCreateFluentHelper createSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchedulingAgreementService
SchAgrmtPartner
entity and save it to the S/4HANA system.createSchAgrmtPartner
in interface SchedulingAgreementService
schAgrmtPartner
- SchAgrmtPartner
entity object that will be created in the S/4HANA system.SchAgrmtPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtPartnerUpdateFluentHelper updateSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchedulingAgreementService
SchAgrmtPartner
entity and save it to the S/4HANA system.updateSchAgrmtPartner
in interface SchedulingAgreementService
schAgrmtPartner
- SchAgrmtPartner
entity object that will be updated in the S/4HANA system.SchAgrmtPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtPartnerDeleteFluentHelper deleteSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchedulingAgreementService
SchAgrmtPartner
entity in the S/4HANA system.deleteSchAgrmtPartner
in interface SchedulingAgreementService
schAgrmtPartner
- SchAgrmtPartner
entity object that will be deleted in the S/4HANA system.SchAgrmtPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtSchLineFluentHelper getAllSchAgrmtSchLine()
SchedulingAgreementService
SchAgrmtSchLine
entities.getAllSchAgrmtSchLine
in interface SchedulingAgreementService
SchAgrmtSchLine
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 SchAgrmtSchLineByKeyFluentHelper getSchAgrmtSchLineByKey(String schedulingAgreement, String schedulingAgreementItem, String scheduleLine)
SchedulingAgreementService
SchAgrmtSchLine
entity using key fields.getSchAgrmtSchLineByKey
in interface SchedulingAgreementService
schedulingAgreement
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
schedulingAgreementItem
- Item Number of Purchasing Document
Constraints: Not nullable, Maximum length: 5
scheduleLine
- Delivery Schedule Line Counter
Constraints: Not nullable, Maximum length: 4
SchAgrmtSchLine
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 SchAgrmtSchLineCreateFluentHelper createSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchedulingAgreementService
SchAgrmtSchLine
entity and save it to the S/4HANA system.createSchAgrmtSchLine
in interface SchedulingAgreementService
schAgrmtSchLine
- SchAgrmtSchLine
entity object that will be created in the S/4HANA system.SchAgrmtSchLine
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtSchLineUpdateFluentHelper updateSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchedulingAgreementService
SchAgrmtSchLine
entity and save it to the S/4HANA system.updateSchAgrmtSchLine
in interface SchedulingAgreementService
schAgrmtSchLine
- SchAgrmtSchLine
entity object that will be updated in the S/4HANA system.SchAgrmtSchLine
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SchAgrmtSchLineDeleteFluentHelper deleteSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchedulingAgreementService
SchAgrmtSchLine
entity in the S/4HANA system.deleteSchAgrmtSchLine
in interface SchedulingAgreementService
schAgrmtSchLine
- SchAgrmtSchLine
entity object that will be deleted in the S/4HANA system.SchAgrmtSchLine
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.