public interface CentralPurchaseContractService extends BatchService<CentralPurchaseContractServiceBatch>
With this inbound service, you can read and create a central purchase contract which allows purchasers from various parts of the company at different locations to take advantage of the negotiated global agreement with suppliers.
Reference: SAP API Business Hub
OData Service: | API_CENTRAL_PURCHASECONTRACT_SRV |
API Version: | 1 |
Communication Scenario: | SAP S/4HANA Procurement Hub - Central Contract Management Integration (SAP_COM_0243) |
Scope Items: | Central Purchase Contracts (2ME) |
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. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CentralPurchaseContractService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CentralPurchaseContractFluentHelper getAllCentralPurchaseContract()
CentralPurchaseContract
entities.CentralPurchaseContract
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 CentralPurchaseContractByKeyFluentHelper getCentralPurchaseContractByKey(String centralPurchaseContract)
CentralPurchaseContract
entity using key fields.centralPurchaseContract
- Central Purchase Contract
Constraints: Not nullable, Maximum length: 10
CentralPurchaseContract
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 CentralPurchaseContractCreateFluentHelper createCentralPurchaseContract(@Nonnull CentralPurchaseContract centralPurchaseContract)
CentralPurchaseContract
entity and save it to the S/4HANA system.centralPurchaseContract
- CentralPurchaseContract
entity object that will be created in the S/4HANA system.CentralPurchaseContract
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CntrlPurchaseContractItemFluentHelper getAllCntrlPurchaseContractItem()
CntrlPurchaseContractItem
entities.CntrlPurchaseContractItem
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 CntrlPurchaseContractItemByKeyFluentHelper getCntrlPurchaseContractItemByKey(String centralPurchaseContract, String centralPurchaseContractItem)
CntrlPurchaseContractItem
entity using key fields.centralPurchaseContract
- Central Purchase Contract
Constraints: Not nullable, Maximum length: 10
centralPurchaseContractItem
- Central Purchase Contract Item
Constraints: Not nullable, Maximum length: 5
CntrlPurchaseContractItem
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 CntrlPurContrDistrMessagesFluentHelper getAllCntrlPurContrDistrMessages()
CntrlPurContrDistrMessages
entities.CntrlPurContrDistrMessages
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 CntrlPurContrDistrMessagesByKeyFluentHelper getCntrlPurContrDistrMessagesByKey(String sequenceNumber, UUID distrResponseMessageUUID)
CntrlPurContrDistrMessages
entity using key fields.sequenceNumber
- Sequence No. of Message during Contract Distribution
Constraints: Not nullable, Maximum length: 4
distrResponseMessageUUID
- Generic Data Element for GUID Fields (X16)
Constraints: Not nullable
CntrlPurContrDistrMessages
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 CntrlPurContrItmDistributionFluentHelper getAllCntrlPurContrItmDistribution()
CntrlPurContrItmDistribution
entities.CntrlPurContrItmDistribution
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 CntrlPurContrItmDistributionByKeyFluentHelper getCntrlPurContrItmDistributionByKey(String centralPurchaseContract, String centralPurchaseContractItem, String distributionKey)
CntrlPurContrItmDistribution
entity using key fields.distributionKey
- Distribution Number of Central Purchasing Document
Constraints: Not nullable, Maximum length: 4
centralPurchaseContract
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
centralPurchaseContractItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
CntrlPurContrItmDistribution
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.