public interface CentralPurchaseContractService
With this inbound service, you can read, create and update 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. |
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.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 ContractConstraints: 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 CentralPurchaseContractUpdateFluentHelper updateCentralPurchaseContract(@Nonnull CentralPurchaseContract centralPurchaseContract)
CentralPurchaseContract
entity and save it to the S/4HANA system.centralPurchaseContract
- CentralPurchaseContract
entity object that will be updated 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 ContractConstraints: Not nullable, Maximum length: 10
centralPurchaseContractItem
- Central Purchase Contract ItemConstraints: 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 CntrlPurchaseContractItemCreateFluentHelper createCntrlPurchaseContractItem(@Nonnull CntrlPurchaseContractItem cntrlPurchaseContractItem)
CntrlPurchaseContractItem
entity and save it to the S/4HANA system.cntrlPurchaseContractItem
- CntrlPurchaseContractItem
entity object that will be created in the S/4HANA system.CntrlPurchaseContractItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull CntrlPurchaseContractItemUpdateFluentHelper updateCntrlPurchaseContractItem(@Nonnull CntrlPurchaseContractItem cntrlPurchaseContractItem)
CntrlPurchaseContractItem
entity and save it to the S/4HANA system.cntrlPurchaseContractItem
- CntrlPurchaseContractItem
entity object that will be updated in the S/4HANA system.CntrlPurchaseContractItem
entity. 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 DistributionConstraints: 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 DocumentConstraints: 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.@Nonnull CntrlPurContrItmDistributionCreateFluentHelper createCntrlPurContrItmDistribution(@Nonnull CntrlPurContrItmDistribution cntrlPurContrItmDistribution)
CntrlPurContrItmDistribution
entity and save it to the S/4HANA system.cntrlPurContrItmDistribution
- CntrlPurContrItmDistribution
entity object that will be created in the S/4HANA system.CntrlPurContrItmDistribution
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull CntrlPurContrItmDistributionUpdateFluentHelper updateCntrlPurContrItmDistribution(@Nonnull CntrlPurContrItmDistribution cntrlPurContrItmDistribution)
CntrlPurContrItmDistribution
entity and save it to the S/4HANA system.cntrlPurContrItmDistribution
- CntrlPurContrItmDistribution
entity object that will be updated in the S/4HANA system.CntrlPurContrItmDistribution
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.