public interface PurchaseRequisitionService
This inbound service enables you to create, read, update, and delete purchase requisitions through an API call from a source system inside as well as outside SAP S/4HANA Cloud or SAP S/4HANA onPremise.
Reference: SAP API Business Hub
OData Service: | API_PURCHASEREQ_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Purchase Requisition Integration (SAP_COM_0102), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration (SAP_COM_0292) |
Scope Items: | Requisitioning (18J), Guided Buying Integration (2NV), Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Direct Materials (J45) |
Authentication Methods: | Basic, x509 |
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.@Nonnull PurchaseRequisitionService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PurchaseRequisitionHeaderFluentHelper getAllPurchaseRequisitionHeader()
PurchaseRequisitionHeader
entities.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 PurchaseRequisitionHeaderByKeyFluentHelper getPurchaseRequisitionHeaderByKey(String purchaseRequisition)
PurchaseRequisitionHeader
entity using key fields.purchaseRequisition
- Purchase requisition number
Constraints: 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 PurchaseRequisitionHeaderCreateFluentHelper createPurchaseRequisitionHeader(@Nonnull PurchaseRequisitionHeader purchaseRequisitionHeader)
PurchaseRequisitionHeader
entity and save it to the S/4HANA system.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 PurchaseRequisitionItemFluentHelper getAllPurchaseRequisitionItem()
PurchaseRequisitionItem
entities.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 PurchaseRequisitionItemByKeyFluentHelper getPurchaseRequisitionItemByKey(String purchaseRequisition, String purchaseRequisitionItem)
PurchaseRequisitionItem
entity using key fields.purchaseRequisitionItem
- Item number of purchase requisition
Constraints: Not nullable, Maximum length: 5
purchaseRequisition
- Purchase requisition number
Constraints: Not nullable, Maximum length: 10
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 PurReqAddDeliveryFluentHelper getAllPurReqAddDelivery()
PurReqAddDelivery
entities.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 PurReqAddDeliveryByKeyFluentHelper getPurReqAddDeliveryByKey(String purchaseRequisition, String purchaseRequisitionItem)
PurReqAddDelivery
entity using key fields.purchaseRequisitionItem
- Item number of purchase requisition
Constraints: Not nullable, Maximum length: 5
purchaseRequisition
- Purchase requisition number
Constraints: Not nullable, Maximum length: 10
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 PurReqnAcctAssgmtFluentHelper getAllPurReqnAcctAssgmt()
PurReqnAcctAssgmt
entities.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 PurReqnAcctAssgmtByKeyFluentHelper getPurReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber)
PurReqnAcctAssgmt
entity using key fields.purchaseRequisitionItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
purchaseRequisition
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchaseReqnAcctAssgmtNumber
- Specifies the serial number of the account assignment item in the purchase requisition.
Constraints: 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 ValidateFluentHelper validate(String purchaseRequisition)
Creates a fluent helper for the Validate OData function import.
purchaseRequisition
- Constraints: none
Original parameter name from the Odata EDM: PurchaseRequisition
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.