@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchaseContractService") public class DefaultPurchaseContractService extends Object implements 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) |
Constructor and Description |
---|
DefaultPurchaseContractService() |
public PurCtrAccountFluentHelper getAllPurCtrAccount()
PurchaseContractService
PurCtrAccount
entities.getAllPurCtrAccount
in interface PurchaseContractService
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.public PurCtrAccountByKeyFluentHelper getPurCtrAccountByKey(String accountAssignment, String purchaseContractItem, String purchaseContract)
PurchaseContractService
PurCtrAccount
entity using key fields.getPurCtrAccountByKey
in interface PurchaseContractService
accountAssignment
- Sequential Number of Account AssignmentConstraints: Not nullable, Maximum length: 2
purchaseContractItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
purchaseContract
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
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.public PurCtrAccountCreateFluentHelper createPurCtrAccount(PurCtrAccount purCtrAccount)
PurchaseContractService
PurCtrAccount
entity and save it to the S/4HANA system.createPurCtrAccount
in interface PurchaseContractService
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.public PurCtrAccountUpdateFluentHelper updatePurCtrAccount(PurCtrAccount purCtrAccount)
PurchaseContractService
PurCtrAccount
entity and save it to the S/4HANA system.updatePurCtrAccount
in interface PurchaseContractService
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.public PurCtrAccountDeleteFluentHelper deletePurCtrAccount(PurCtrAccount purCtrAccount)
PurchaseContractService
PurCtrAccount
entity in the S/4HANA system.deletePurCtrAccount
in interface PurchaseContractService
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.public PurCtrAddressFluentHelper getAllPurCtrAddress()
PurchaseContractService
PurCtrAddress
entities.getAllPurCtrAddress
in interface PurchaseContractService
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.public PurCtrAddressByKeyFluentHelper getPurCtrAddressByKey(String purchaseContract, String addressID, String purchaseContractItem)
PurchaseContractService
PurCtrAddress
entity using key fields.getPurCtrAddressByKey
in interface PurchaseContractService
purchaseContract
- Purchasing Contract HeaderConstraints: Not nullable, Maximum length: 10
addressID
- Address numberConstraints: Not nullable, Maximum length: 10
purchaseContractItem
- Item Number of Purchasing ContractConstraints: Not nullable, Maximum length: 5
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.public PurCtrAddressCreateFluentHelper createPurCtrAddress(PurCtrAddress purCtrAddress)
PurchaseContractService
PurCtrAddress
entity and save it to the S/4HANA system.createPurCtrAddress
in interface PurchaseContractService
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.public PurCtrAddressUpdateFluentHelper updatePurCtrAddress(PurCtrAddress purCtrAddress)
PurchaseContractService
PurCtrAddress
entity and save it to the S/4HANA system.updatePurCtrAddress
in interface PurchaseContractService
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.public PurCtrAddressDeleteFluentHelper deletePurCtrAddress(PurCtrAddress purCtrAddress)
PurchaseContractService
PurCtrAddress
entity in the S/4HANA system.deletePurCtrAddress
in interface PurchaseContractService
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.public PurCtrPartnersFluentHelper getAllPurCtrPartners()
PurchaseContractService
PurCtrPartners
entities.getAllPurCtrPartners
in interface PurchaseContractService
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.public PurCtrPartnersByKeyFluentHelper getPurCtrPartnersByKey(String purchaseContract, String purchaseContractItem, String purchasingOrganization, String partnerFunction, String plant, String supplierSubrange, String partnerCounter)
PurchaseContractService
PurCtrPartners
entity using key fields.getPurCtrPartnersByKey
in interface PurchaseContractService
purchaseContract
- Purchasing Document NumberConstraints: Not nullable, Maximum length: 10
purchaseContractItem
- Item Number of Purchasing DocumentConstraints: Not nullable, Maximum length: 5
purchasingOrganization
- Purchasing OrganizationConstraints: Not nullable, Maximum length: 4
partnerFunction
- Partner FunctionConstraints: Not nullable, Maximum length: 2
plant
- PlantConstraints: Not nullable, Maximum length: 4
supplierSubrange
- Supplier SubrangeConstraints: Not nullable, Maximum length: 6
partnerCounter
- Partner counterConstraints: Not nullable, Maximum length: 3
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.public PurCtrPartnersCreateFluentHelper createPurCtrPartners(PurCtrPartners purCtrPartners)
PurchaseContractService
PurCtrPartners
entity and save it to the S/4HANA system.createPurCtrPartners
in interface PurchaseContractService
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.public PurCtrPartnersUpdateFluentHelper updatePurCtrPartners(PurCtrPartners purCtrPartners)
PurchaseContractService
PurCtrPartners
entity and save it to the S/4HANA system.updatePurCtrPartners
in interface PurchaseContractService
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.public PurCtrPartnersDeleteFluentHelper deletePurCtrPartners(PurCtrPartners purCtrPartners)
PurchaseContractService
PurCtrPartners
entity in the S/4HANA system.deletePurCtrPartners
in interface PurchaseContractService
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.public PurchaseContractFluentHelper getAllPurchaseContract()
PurchaseContractService
PurchaseContract
entities.getAllPurchaseContract
in interface PurchaseContractService
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.public PurchaseContractByKeyFluentHelper getPurchaseContractByKey(String purchaseContract)
PurchaseContractService
PurchaseContract
entity using key fields.getPurchaseContractByKey
in interface PurchaseContractService
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.public PurchaseContractCreateFluentHelper createPurchaseContract(PurchaseContract purchaseContract)
PurchaseContractService
PurchaseContract
entity and save it to the S/4HANA system.createPurchaseContract
in interface PurchaseContractService
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.public PurchaseContractUpdateFluentHelper updatePurchaseContract(PurchaseContract purchaseContract)
PurchaseContractService
PurchaseContract
entity and save it to the S/4HANA system.updatePurchaseContract
in interface PurchaseContractService
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.public PurchaseContractDeleteFluentHelper deletePurchaseContract(PurchaseContract purchaseContract)
PurchaseContractService
PurchaseContract
entity in the S/4HANA system.deletePurchaseContract
in interface PurchaseContractService
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.public PurchaseContractItemFluentHelper getAllPurchaseContractItem()
PurchaseContractService
PurchaseContractItem
entities.getAllPurchaseContractItem
in interface PurchaseContractService
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.public PurchaseContractItemByKeyFluentHelper getPurchaseContractItemByKey(String purchaseContract, String purchaseContractItem)
PurchaseContractService
PurchaseContractItem
entity using key fields.getPurchaseContractItemByKey
in interface PurchaseContractService
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.public PurchaseContractItemCreateFluentHelper createPurchaseContractItem(PurchaseContractItem purchaseContractItem)
PurchaseContractService
PurchaseContractItem
entity and save it to the S/4HANA system.createPurchaseContractItem
in interface PurchaseContractService
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.public PurchaseContractItemUpdateFluentHelper updatePurchaseContractItem(PurchaseContractItem purchaseContractItem)
PurchaseContractService
PurchaseContractItem
entity and save it to the S/4HANA system.updatePurchaseContractItem
in interface PurchaseContractService
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.public PurchaseContractItemDeleteFluentHelper deletePurchaseContractItem(PurchaseContractItem purchaseContractItem)
PurchaseContractService
PurchaseContractItem
entity in the S/4HANA system.deletePurchaseContractItem
in interface PurchaseContractService
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.