@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) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPurchaseRequisitionService()
Creates a service using
PurchaseRequisitionService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPurchaseRequisitionService()
PurchaseRequisitionService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPurchaseRequisitionService withServicePath(@Nonnull String servicePath)
PurchaseRequisitionService
withServicePath
in interface PurchaseRequisitionService
servicePath
- Service path that will override the default.@Nonnull 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.@Nonnull 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.@Nonnull public PurReqAddDeliveryCreateFluentHelper createPurReqAddDelivery(@Nonnull 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.@Nonnull public PurReqAddDeliveryUpdateFluentHelper updatePurReqAddDelivery(@Nonnull 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.@Nonnull public PurReqAddDeliveryDeleteFluentHelper deletePurReqAddDelivery(@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nonnull public PurReqnAcctAssgmtCreateFluentHelper createPurReqnAcctAssgmt(@Nonnull 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.@Nonnull public PurReqnAcctAssgmtUpdateFluentHelper updatePurReqnAcctAssgmt(@Nonnull 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.@Nonnull public PurReqnAcctAssgmtDeleteFluentHelper deletePurReqnAcctAssgmt(@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nonnull public PurchaseRequisitionHeaderCreateFluentHelper createPurchaseRequisitionHeader(@Nonnull 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.@Nonnull public PurchaseRequisitionHeaderUpdateFluentHelper updatePurchaseRequisitionHeader(@Nonnull 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.@Nonnull public PurchaseRequisitionHeaderDeleteFluentHelper deletePurchaseRequisitionHeader(@Nonnull 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.@Nonnull 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.@Nonnull 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.@Nonnull public PurchaseRequisitionItemCreateFluentHelper createPurchaseRequisitionItem(@Nonnull 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.@Nonnull public PurchaseRequisitionItemUpdateFluentHelper updatePurchaseRequisitionItem(@Nonnull 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.@Nonnull public PurchaseRequisitionItemDeleteFluentHelper deletePurchaseRequisitionItem(@Nonnull 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.