public interface PurchaseContractService
This service enables you to create Purchase Contracts 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 Purchase Contract data from the SAP S/4HANA Cloud or SAP S/4HANA on- Premise system.
Reference: SAP API Business Hub
OData Service: | API_PURCHASECONTRACT_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Purchase Contract Integration (SAP_COM_0101) |
Scope Items: | Purchase Contract (BMD), Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), 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. |
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.PurchaseContractService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PurCtrAccountFluentHelper getAllPurCtrAccount()
PurCtrAccount
entities.PurCtrAccount
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 PurCtrAccountByKeyFluentHelper getPurCtrAccountByKey(String accountAssignment, String purchaseContractItem, String purchaseContract)
PurCtrAccount
entity using key fields.purchaseContract
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
accountAssignment
- Sequential Number of Account AssignmentConstraints: Not nullable, Maximum length: 2
purchaseContractItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
PurCtrAccount
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 PurCtrAccountCreateFluentHelper createPurCtrAccount(@Nonnull PurCtrAccount purCtrAccount)
PurCtrAccount
entity and save it to the S/4HANA system.purCtrAccount
- PurCtrAccount
entity object that will be created in the S/4HANA system.PurCtrAccount
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrAccountUpdateFluentHelper updatePurCtrAccount(@Nonnull PurCtrAccount purCtrAccount)
PurCtrAccount
entity and save it to the S/4HANA system.purCtrAccount
- PurCtrAccount
entity object that will be updated in the S/4HANA system.PurCtrAccount
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrAccountDeleteFluentHelper deletePurCtrAccount(@Nonnull PurCtrAccount purCtrAccount)
PurCtrAccount
entity in the S/4HANA system.purCtrAccount
- PurCtrAccount
entity object that will be deleted in the S/4HANA system.PurCtrAccount
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrAddressFluentHelper getAllPurCtrAddress()
PurCtrAddress
entities.PurCtrAddress
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 PurCtrAddressByKeyFluentHelper getPurCtrAddressByKey(String purchaseContract, String addressID, String purchaseContractItem)
PurCtrAddress
entity using key fields.purchaseContract
- Purchasing Contract HeaderConstraints: Not nullable, Maximum length: 10
purchaseContractItem
- Item Number of Purchasing ContractConstraints: Not nullable, Maximum length: 5
addressID
- Address numberConstraints: Not nullable, Maximum length: 10
PurCtrAddress
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 PurCtrAddressCreateFluentHelper createPurCtrAddress(@Nonnull PurCtrAddress purCtrAddress)
PurCtrAddress
entity and save it to the S/4HANA system.purCtrAddress
- PurCtrAddress
entity object that will be created in the S/4HANA system.PurCtrAddress
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrAddressUpdateFluentHelper updatePurCtrAddress(@Nonnull PurCtrAddress purCtrAddress)
PurCtrAddress
entity and save it to the S/4HANA system.purCtrAddress
- PurCtrAddress
entity object that will be updated in the S/4HANA system.PurCtrAddress
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrAddressDeleteFluentHelper deletePurCtrAddress(@Nonnull PurCtrAddress purCtrAddress)
PurCtrAddress
entity in the S/4HANA system.purCtrAddress
- PurCtrAddress
entity object that will be deleted in the S/4HANA system.PurCtrAddress
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrPartnersFluentHelper getAllPurCtrPartners()
PurCtrPartners
entities.PurCtrPartners
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 PurCtrPartnersByKeyFluentHelper getPurCtrPartnersByKey(String purchaseContract, String purchaseContractItem, String purchasingOrganization, String partnerFunction, String plant, String supplierSubrange, String partnerCounter)
PurCtrPartners
entity using key fields.partnerFunction
- Partner FunctionConstraints: Not nullable, Maximum length: 2
purchaseContract
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
plant
- PlantConstraints: Not nullable, Maximum length: 4
purchasingOrganization
- Purchasing OrganizationConstraints: Not nullable, Maximum length: 4
partnerCounter
- Partner counterConstraints: Not nullable, Maximum length: 3
purchaseContractItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
supplierSubrange
- Supplier SubrangeConstraints: Not nullable, Maximum length: 6
PurCtrPartners
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 PurCtrPartnersCreateFluentHelper createPurCtrPartners(@Nonnull PurCtrPartners purCtrPartners)
PurCtrPartners
entity and save it to the S/4HANA system.purCtrPartners
- PurCtrPartners
entity object that will be created in the S/4HANA system.PurCtrPartners
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrPartnersUpdateFluentHelper updatePurCtrPartners(@Nonnull PurCtrPartners purCtrPartners)
PurCtrPartners
entity and save it to the S/4HANA system.purCtrPartners
- PurCtrPartners
entity object that will be updated in the S/4HANA system.PurCtrPartners
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurCtrPartnersDeleteFluentHelper deletePurCtrPartners(@Nonnull PurCtrPartners purCtrPartners)
PurCtrPartners
entity in the S/4HANA system.purCtrPartners
- PurCtrPartners
entity object that will be deleted in the S/4HANA system.PurCtrPartners
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractFluentHelper getAllPurchaseContract()
PurchaseContract
entities.PurchaseContract
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 PurchaseContractByKeyFluentHelper getPurchaseContractByKey(String purchaseContract)
PurchaseContract
entity using key fields.purchaseContract
- Purchasing Contract HeaderConstraints: Not nullable, Maximum length: 10
PurchaseContract
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 PurchaseContractCreateFluentHelper createPurchaseContract(@Nonnull PurchaseContract purchaseContract)
PurchaseContract
entity and save it to the S/4HANA system.purchaseContract
- PurchaseContract
entity object that will be created in the S/4HANA system.PurchaseContract
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractUpdateFluentHelper updatePurchaseContract(@Nonnull PurchaseContract purchaseContract)
PurchaseContract
entity and save it to the S/4HANA system.purchaseContract
- PurchaseContract
entity object that will be updated in the S/4HANA system.PurchaseContract
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractDeleteFluentHelper deletePurchaseContract(@Nonnull PurchaseContract purchaseContract)
PurchaseContract
entity in the S/4HANA system.purchaseContract
- PurchaseContract
entity object that will be deleted in the S/4HANA system.PurchaseContract
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractItemFluentHelper getAllPurchaseContractItem()
PurchaseContractItem
entities.PurchaseContractItem
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 PurchaseContractItemByKeyFluentHelper getPurchaseContractItemByKey(String purchaseContract, String purchaseContractItem)
PurchaseContractItem
entity using key fields.purchaseContract
- Purchasing Contract HeaderConstraints: Not nullable, Maximum length: 10
purchaseContractItem
- Item Number of Purchasing ContractConstraints: Not nullable, Maximum length: 5
PurchaseContractItem
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 PurchaseContractItemCreateFluentHelper createPurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem)
PurchaseContractItem
entity and save it to the S/4HANA system.purchaseContractItem
- PurchaseContractItem
entity object that will be created in the S/4HANA system.PurchaseContractItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractItemUpdateFluentHelper updatePurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem)
PurchaseContractItem
entity and save it to the S/4HANA system.purchaseContractItem
- PurchaseContractItem
entity object that will be updated in the S/4HANA system.PurchaseContractItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull PurchaseContractItemDeleteFluentHelper deletePurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem)
PurchaseContractItem
entity in the S/4HANA system.purchaseContractItem
- PurchaseContractItem
entity object that will be deleted in the S/4HANA system.PurchaseContractItem
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.