@Named public class DefaultProcessPurchaseContractService extends Object implements ProcessPurchaseContractService
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 |
---|
DefaultProcessPurchaseContractService() |
public DefaultProcessPurchaseContractService()
public PurCtrAccountFluentHelper getAllPurCtrAccount()
ProcessPurchaseContractService
PurCtrAccount
entities.getAllPurCtrAccount
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAccount
entity using key fields.getPurCtrAccountByKey
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAccount
entity and save it to the S/4HANA system.createPurCtrAccount
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAccount
entity and save it to the S/4HANA system.updatePurCtrAccount
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAccount
entity in the S/4HANA system.deletePurCtrAccount
in interface ProcessPurchaseContractService
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()
ProcessPurchaseContractService
PurCtrAddress
entities.getAllPurCtrAddress
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAddress
entity using key fields.getPurCtrAddressByKey
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAddress
entity and save it to the S/4HANA system.createPurCtrAddress
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAddress
entity and save it to the S/4HANA system.updatePurCtrAddress
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrAddress
entity in the S/4HANA system.deletePurCtrAddress
in interface ProcessPurchaseContractService
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()
ProcessPurchaseContractService
PurCtrPartners
entities.getAllPurCtrPartners
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrPartners
entity using key fields.getPurCtrPartnersByKey
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrPartners
entity and save it to the S/4HANA system.createPurCtrPartners
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrPartners
entity and save it to the S/4HANA system.updatePurCtrPartners
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurCtrPartners
entity in the S/4HANA system.deletePurCtrPartners
in interface ProcessPurchaseContractService
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()
ProcessPurchaseContractService
PurchaseContract
entities.getAllPurchaseContract
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContract
entity using key fields.getPurchaseContractByKey
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContract
entity and save it to the S/4HANA system.createPurchaseContract
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContract
entity and save it to the S/4HANA system.updatePurchaseContract
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContract
entity in the S/4HANA system.deletePurchaseContract
in interface ProcessPurchaseContractService
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()
ProcessPurchaseContractService
PurchaseContractItem
entities.getAllPurchaseContractItem
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContractItem
entity using key fields.getPurchaseContractItemByKey
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContractItem
entity and save it to the S/4HANA system.createPurchaseContractItem
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContractItem
entity and save it to the S/4HANA system.updatePurchaseContractItem
in interface ProcessPurchaseContractService
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)
ProcessPurchaseContractService
PurchaseContractItem
entity in the S/4HANA system.deletePurchaseContractItem
in interface ProcessPurchaseContractService
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.