public interface 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) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
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. |
SchedulingAgreementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.SchedulingAgreementService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull SchAgrmtAcCntFluentHelper getAllSchAgrmtAcCnt()
SchAgrmtAcCnt
entities.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 SchAgrmtAcCntByKeyFluentHelper getSchAgrmtAcCntByKey(String accountAssignmentNumber, String schedulingAgreementItem, String schedulingAgreement)
SchAgrmtAcCnt
entity using key fields.schedulingAgreement
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
accountAssignmentNumber
- Sequential Number of Account AssignmentConstraints: Not nullable, Maximum length: 2
schedulingAgreementItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
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 SchAgrmtAcCntCreateFluentHelper createSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchAgrmtAcCnt
entity and save it to the S/4HANA system.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 SchAgrmtAcCntUpdateFluentHelper updateSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchAgrmtAcCnt
entity and save it to the S/4HANA system.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 SchAgrmtAcCntDeleteFluentHelper deleteSchAgrmtAcCnt(@Nonnull SchAgrmtAcCnt schAgrmtAcCnt)
SchAgrmtAcCnt
entity in the S/4HANA system.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 SchAgrmtHeaderFluentHelper getAllSchAgrmtHeader()
SchAgrmtHeader
entities.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 SchAgrmtHeaderByKeyFluentHelper getSchAgrmtHeaderByKey(String schedulingAgreement)
SchAgrmtHeader
entity using key fields.schedulingAgreement
- Purchasing Document NumberConstraints: 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 SchAgrmtHeaderCreateFluentHelper createSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchAgrmtHeader
entity and save it to the S/4HANA system.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 SchAgrmtHeaderUpdateFluentHelper updateSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchAgrmtHeader
entity and save it to the S/4HANA system.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 SchAgrmtHeaderDeleteFluentHelper deleteSchAgrmtHeader(@Nonnull SchAgrmtHeader schAgrmtHeader)
SchAgrmtHeader
entity in the S/4HANA system.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 SchAgrmtItemFluentHelper getAllSchAgrmtItem()
SchAgrmtItem
entities.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 SchAgrmtItemByKeyFluentHelper getSchAgrmtItemByKey(String schedulingAgreement, String schedulingAgreementItem)
SchAgrmtItem
entity using key fields.schedulingAgreement
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
schedulingAgreementItem
- Item Number of Purchasing DocumentConstraints: 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 SchAgrmtItemCreateFluentHelper createSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchAgrmtItem
entity and save it to the S/4HANA system.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 SchAgrmtItemUpdateFluentHelper updateSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchAgrmtItem
entity and save it to the S/4HANA system.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 SchAgrmtItemDeleteFluentHelper deleteSchAgrmtItem(@Nonnull SchAgrmtItem schAgrmtItem)
SchAgrmtItem
entity in the S/4HANA system.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 SchAgrmtPartnerFluentHelper getAllSchAgrmtPartner()
SchAgrmtPartner
entities.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 SchAgrmtPartnerByKeyFluentHelper getSchAgrmtPartnerByKey(String schedulingAgreement, String schedulingAgreementItem, String purchasingOrganization, String supplierSubrange, String plant, String partnerFunction, String partnerCounter)
SchAgrmtPartner
entity using key fields.schedulingAgreement
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
partnerFunction
- Partner FunctionConstraints: Not nullable, Maximum length: 2
plant
- PlantConstraints: Not nullable, Maximum length: 4
purchasingOrganization
- Purchasing OrganizationConstraints: Not nullable, Maximum length: 4
partnerCounter
- Partner counterConstraints: Not nullable, Maximum length: 3
supplierSubrange
- Supplier SubrangeConstraints: Not nullable, Maximum length: 6
schedulingAgreementItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
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 SchAgrmtPartnerCreateFluentHelper createSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchAgrmtPartner
entity and save it to the S/4HANA system.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 SchAgrmtPartnerUpdateFluentHelper updateSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchAgrmtPartner
entity and save it to the S/4HANA system.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 SchAgrmtPartnerDeleteFluentHelper deleteSchAgrmtPartner(@Nonnull SchAgrmtPartner schAgrmtPartner)
SchAgrmtPartner
entity in the S/4HANA system.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 SchAgrmtSchLineFluentHelper getAllSchAgrmtSchLine()
SchAgrmtSchLine
entities.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 SchAgrmtSchLineByKeyFluentHelper getSchAgrmtSchLineByKey(String schedulingAgreement, String schedulingAgreementItem, String scheduleLine)
SchAgrmtSchLine
entity using key fields.schedulingAgreement
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
scheduleLine
- Delivery Schedule Line CounterConstraints: Not nullable, Maximum length: 4
schedulingAgreementItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
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 SchAgrmtSchLineCreateFluentHelper createSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchAgrmtSchLine
entity and save it to the S/4HANA system.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 SchAgrmtSchLineUpdateFluentHelper updateSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchAgrmtSchLine
entity and save it to the S/4HANA system.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 SchAgrmtSchLineDeleteFluentHelper deleteSchAgrmtSchLine(@Nonnull SchAgrmtSchLine schAgrmtSchLine)
SchAgrmtSchLine
entity in the S/4HANA system.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.