public interface CentralPurchaseContractService extends BatchService<CentralPurchaseContractServiceBatch>
This service is based on the OData protocol. It allows purchasers from various parts of the company at different locations to take advantage of the negotiated global agreement with suppliers. This service contains header, item, item distribution entities, distribution messages, header notes, item notes, and version history. .
Reference: SAP API Business Hub
OData Service: | OP_API_CENTRAL_PURCHASECONTRACT_SRV |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Central Purchase Contract |
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
- Active Purchasing Document
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 CntrlPurContractHeaderNotesFluentHelper getAllCntrlPurContractHeaderNotes()
CntrlPurContractHeaderNotes
entities.CntrlPurContractHeaderNotes
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 CntrlPurContractHeaderNotesByKeyFluentHelper getCntrlPurContractHeaderNotesByKey(String purchasingDocumentNoteObjectID, String purchasingDocumentNoteType, String purchasingDocumentNoteLanguage)
CntrlPurContractHeaderNotes
entity using key fields.purchasingDocumentNoteLanguage
- Language
Constraints: Not nullable, Maximum length: 2
purchasingDocumentNoteObjectID
- Application Object ID
Constraints: Not nullable, Maximum length: 90
purchasingDocumentNoteType
- Name of Note Type
Constraints: Not nullable, Maximum length: 20
CntrlPurContractHeaderNotes
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 CntrlPurContractItemNotesFluentHelper getAllCntrlPurContractItemNotes()
CntrlPurContractItemNotes
entities.CntrlPurContractItemNotes
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 CntrlPurContractItemNotesByKeyFluentHelper getCntrlPurContractItemNotesByKey(String purchasingDocumentNoteObjectID, String purchasingDocumentNoteType, String purchasingDocumentNoteLanguage)
CntrlPurContractItemNotes
entity using key fields.purchasingDocumentNoteLanguage
- Language
Constraints: Not nullable, Maximum length: 2
purchasingDocumentNoteObjectID
- Application Object ID
Constraints: Not nullable, Maximum length: 90
purchasingDocumentNoteType
- Name of Note Type
Constraints: Not nullable, Maximum length: 20
CntrlPurContractItemNotes
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
- Purchasing Document Number
Constraints: Not nullable, Maximum length: 10
centralPurchaseContractItem
- Item Number of Purchasing Document
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 CntrlPurContrVersionHistoryFluentHelper getAllCntrlPurContrVersionHistory()
CntrlPurContrVersionHistory
entities.CntrlPurContrVersionHistory
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 CntrlPurContrVersionHistoryByKeyFluentHelper getCntrlPurContrVersionHistoryByKey(String centralPurchaseContract, String purchasingDocumentVersion)
CntrlPurContrVersionHistory
entity using key fields.purchasingDocumentVersion
- Version number in Purchasing
Constraints: Not nullable, Maximum length: 8
centralPurchaseContract
- Active Purchasing Document
Constraints: Not nullable, Maximum length: 10
CntrlPurContrVersionHistory
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 WithdrawFromApprovalFluentHelper withdrawFromApproval(String centralPurchaseContract)
Creates a fluent helper for the WithdrawFromApproval OData function import.
centralPurchaseContract
- Constraints: none
Original parameter name from the Odata EDM: CentralPurchaseContract
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.