@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchaseRequisitionService") public class DefaultPurchaseRequisitionService extends Object implements PurchaseRequisitionService
This service enables you to create purchase requisitions 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 requisition data from the SAP S/4HANA Cloud or SAP S/4HANA on- Premise system.
Reference: SAP API Business Hub
OData Service: | API_PURCHASEREQ_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Purchase Requisition Integration (SAP_COM_0102) |
Scope Items: | Returnables Processing - Intercompany (18J), Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Direct Materials (J45) |
Constructor and Description |
---|
DefaultPurchaseRequisitionService() |
public PurReqAddDeliveryFluentHelper getAllPurReqAddDelivery()
PurchaseRequisitionService
PurReqAddDelivery
entities.getAllPurReqAddDelivery
in interface PurchaseRequisitionService
PurReqAddDelivery
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 PurReqAddDeliveryByKeyFluentHelper getPurReqAddDeliveryByKey(String purchaseRequisition, String purchaseRequisitionItem)
PurchaseRequisitionService
PurReqAddDelivery
entity using key fields.getPurReqAddDeliveryByKey
in interface PurchaseRequisitionService
purchaseRequisition
- Purchase requisition numberConstraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
PurReqAddDelivery
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 PurReqAddDeliveryCreateFluentHelper createPurReqAddDelivery(PurReqAddDelivery purReqAddDelivery)
PurchaseRequisitionService
PurReqAddDelivery
entity and save it to the S/4HANA system.createPurReqAddDelivery
in interface PurchaseRequisitionService
purReqAddDelivery
- PurReqAddDelivery
entity object that will be created in the S/4HANA system.PurReqAddDelivery
entity. To perform execution, call the execute
method on the fluent helper object.public PurReqAddDeliveryUpdateFluentHelper updatePurReqAddDelivery(PurReqAddDelivery purReqAddDelivery)
PurchaseRequisitionService
PurReqAddDelivery
entity and save it to the S/4HANA system.updatePurReqAddDelivery
in interface PurchaseRequisitionService
purReqAddDelivery
- PurReqAddDelivery
entity object that will be updated in the S/4HANA system.PurReqAddDelivery
entity. To perform execution, call the execute
method on the fluent helper object.public PurReqAddDeliveryDeleteFluentHelper deletePurReqAddDelivery(PurReqAddDelivery purReqAddDelivery)
PurchaseRequisitionService
PurReqAddDelivery
entity in the S/4HANA system.deletePurReqAddDelivery
in interface PurchaseRequisitionService
purReqAddDelivery
- PurReqAddDelivery
entity object that will be deleted in the S/4HANA system.PurReqAddDelivery
entity. To perform execution, call the execute
method on the fluent helper object.public PurReqnAcctAssgmtFluentHelper getAllPurReqnAcctAssgmt()
PurchaseRequisitionService
PurReqnAcctAssgmt
entities.getAllPurReqnAcctAssgmt
in interface PurchaseRequisitionService
PurReqnAcctAssgmt
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 PurReqnAcctAssgmtByKeyFluentHelper getPurReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber)
PurchaseRequisitionService
PurReqnAcctAssgmt
entity using key fields.getPurReqnAcctAssgmtByKey
in interface PurchaseRequisitionService
purchaseRequisition
- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Item Number of Purchase RequisitionConstraints: Not nullable, Maximum length: 5
purchaseReqnAcctAssgmtNumber
- Serial number for PReq account assignment segmentConstraints: Not nullable, Maximum length: 2
PurReqnAcctAssgmt
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 PurReqnAcctAssgmtCreateFluentHelper createPurReqnAcctAssgmt(PurReqnAcctAssgmt purReqnAcctAssgmt)
PurchaseRequisitionService
PurReqnAcctAssgmt
entity and save it to the S/4HANA system.createPurReqnAcctAssgmt
in interface PurchaseRequisitionService
purReqnAcctAssgmt
- PurReqnAcctAssgmt
entity object that will be created in the S/4HANA system.PurReqnAcctAssgmt
entity. To perform execution, call the execute
method on the fluent helper object.public PurReqnAcctAssgmtUpdateFluentHelper updatePurReqnAcctAssgmt(PurReqnAcctAssgmt purReqnAcctAssgmt)
PurchaseRequisitionService
PurReqnAcctAssgmt
entity and save it to the S/4HANA system.updatePurReqnAcctAssgmt
in interface PurchaseRequisitionService
purReqnAcctAssgmt
- PurReqnAcctAssgmt
entity object that will be updated in the S/4HANA system.PurReqnAcctAssgmt
entity. To perform execution, call the execute
method on the fluent helper object.public PurReqnAcctAssgmtDeleteFluentHelper deletePurReqnAcctAssgmt(PurReqnAcctAssgmt purReqnAcctAssgmt)
PurchaseRequisitionService
PurReqnAcctAssgmt
entity in the S/4HANA system.deletePurReqnAcctAssgmt
in interface PurchaseRequisitionService
purReqnAcctAssgmt
- PurReqnAcctAssgmt
entity object that will be deleted in the S/4HANA system.PurReqnAcctAssgmt
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionHeaderFluentHelper getAllPurchaseRequisitionHeader()
PurchaseRequisitionService
PurchaseRequisitionHeader
entities.getAllPurchaseRequisitionHeader
in interface PurchaseRequisitionService
PurchaseRequisitionHeader
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 PurchaseRequisitionHeaderByKeyFluentHelper getPurchaseRequisitionHeaderByKey(String purchaseRequisition)
PurchaseRequisitionService
PurchaseRequisitionHeader
entity using key fields.getPurchaseRequisitionHeaderByKey
in interface PurchaseRequisitionService
purchaseRequisition
- Purchase requisition numberConstraints: Not nullable, Maximum length: 10
PurchaseRequisitionHeader
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 PurchaseRequisitionHeaderCreateFluentHelper createPurchaseRequisitionHeader(PurchaseRequisitionHeader purchaseRequisitionHeader)
PurchaseRequisitionService
PurchaseRequisitionHeader
entity and save it to the S/4HANA system.createPurchaseRequisitionHeader
in interface PurchaseRequisitionService
purchaseRequisitionHeader
- PurchaseRequisitionHeader
entity object that will be created in the S/4HANA system.PurchaseRequisitionHeader
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionHeaderUpdateFluentHelper updatePurchaseRequisitionHeader(PurchaseRequisitionHeader purchaseRequisitionHeader)
PurchaseRequisitionService
PurchaseRequisitionHeader
entity and save it to the S/4HANA system.updatePurchaseRequisitionHeader
in interface PurchaseRequisitionService
purchaseRequisitionHeader
- PurchaseRequisitionHeader
entity object that will be updated in the S/4HANA system.PurchaseRequisitionHeader
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionHeaderDeleteFluentHelper deletePurchaseRequisitionHeader(PurchaseRequisitionHeader purchaseRequisitionHeader)
PurchaseRequisitionService
PurchaseRequisitionHeader
entity in the S/4HANA system.deletePurchaseRequisitionHeader
in interface PurchaseRequisitionService
purchaseRequisitionHeader
- PurchaseRequisitionHeader
entity object that will be deleted in the S/4HANA system.PurchaseRequisitionHeader
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionItemFluentHelper getAllPurchaseRequisitionItem()
PurchaseRequisitionService
PurchaseRequisitionItem
entities.getAllPurchaseRequisitionItem
in interface PurchaseRequisitionService
PurchaseRequisitionItem
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 PurchaseRequisitionItemByKeyFluentHelper getPurchaseRequisitionItemByKey(String purchaseRequisition, String purchaseRequisitionItem)
PurchaseRequisitionService
PurchaseRequisitionItem
entity using key fields.getPurchaseRequisitionItemByKey
in interface PurchaseRequisitionService
purchaseRequisition
- Purchase requisition numberConstraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
PurchaseRequisitionItem
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 PurchaseRequisitionItemCreateFluentHelper createPurchaseRequisitionItem(PurchaseRequisitionItem purchaseRequisitionItem)
PurchaseRequisitionService
PurchaseRequisitionItem
entity and save it to the S/4HANA system.createPurchaseRequisitionItem
in interface PurchaseRequisitionService
purchaseRequisitionItem
- PurchaseRequisitionItem
entity object that will be created in the S/4HANA system.PurchaseRequisitionItem
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionItemUpdateFluentHelper updatePurchaseRequisitionItem(PurchaseRequisitionItem purchaseRequisitionItem)
PurchaseRequisitionService
PurchaseRequisitionItem
entity and save it to the S/4HANA system.updatePurchaseRequisitionItem
in interface PurchaseRequisitionService
purchaseRequisitionItem
- PurchaseRequisitionItem
entity object that will be updated in the S/4HANA system.PurchaseRequisitionItem
entity. To perform execution, call the execute
method on the fluent helper object.public PurchaseRequisitionItemDeleteFluentHelper deletePurchaseRequisitionItem(PurchaseRequisitionItem purchaseRequisitionItem)
PurchaseRequisitionService
PurchaseRequisitionItem
entity in the S/4HANA system.deletePurchaseRequisitionItem
in interface PurchaseRequisitionService
purchaseRequisitionItem
- PurchaseRequisitionItem
entity object that will be deleted in the S/4HANA system.PurchaseRequisitionItem
entity. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.