public interface SchedulingAgreementService extends BatchService<SchedulingAgreementServiceBatch>
This service enables you to read and create purchase scheduling agreements through an API call from a source system outside SAP S/4HANA Cloud or SAP S/4HANA. # .
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) |
Authentication Methods: | Basic, x509 |
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 |
---|---|
SchAgrmtHeaderCreateFluentHelper |
createSchAgrmtHeader(SchAgrmtHeader schAgrmtHeader)
Create a new
SchAgrmtHeader entity and save it to 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. |
SchedulingAgreementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull 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
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
accountAssignmentNumber
- Number uniquely defining the account assignment of a purchase document item.
Constraints: Not nullable, Maximum length: 2
schedulingAgreementItem
- Specifies the number that uniquely identifies an item in .
Constraints: 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 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
- Alphanumeric key uniquely identifying the document.
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 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 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
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
schedulingAgreementItem
- Specifies the number that uniquely identifies an item in .
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 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
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
purchasingOrganization
- Denotes the purchasing organization.
Constraints: Not nullable, Maximum length: 4
partnerCounter
- The sequential number that the system applies when there is more than one partner for a particular
partner function.
Constraints: Not nullable, Maximum length: 3
supplierSubrange
- Subdivision of a supplier's overall product range according to various criteria.
Constraints: Not nullable, Maximum length: 6
schedulingAgreementItem
- Specifies the number that uniquely identifies an item in .
Constraints: 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 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
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
scheduleLine
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 4
schedulingAgreementItem
- Specifies the number that uniquely identifies an item in .
Constraints: 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.Copyright © 2019 SAP SE. All rights reserved.