public interface PurchaseRequisitionService extends BatchService<PurchaseRequisitionServiceBatch>
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), Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Direct Materials (J45), Procure-to-Pay with SAP Ariba Buying and Invoicing (1ZM), Guided Buying Capability with SAP Ariba Buying (2NV) |
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. |
batch
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 PurchaseReqnItemTextFluentHelper getAllPurchaseReqnItemText()
PurchaseReqnItemText
entities.PurchaseReqnItemText
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 PurchaseReqnItemTextByKeyFluentHelper getPurchaseReqnItemTextByKey(String purchaseRequisition, String purchaseRequisitionItem, String documentText, String technicalObjectType, String language)
PurchaseReqnItemText
entity using key fields.technicalObjectType
- In business applications, a text is not considered an independent object. A text can only exist if it
has a superior reference object. A material inspection text, for example, only exists if there is a
corresponding material. The application object of a text is therefore the global environment in which
a text exists.
Constraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
documentText
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
purchaseRequisition
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
PurchaseReqnItemText
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 PurchaseReqnItemTextUpdateFluentHelper updatePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
PurchaseReqnItemText
entity and save it to the S/4HANA system.purchaseReqnItemText
- PurchaseReqnItemText
entity object that will be updated in the S/4HANA system.PurchaseReqnItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PurchaseReqnItemTextDeleteFluentHelper deletePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
PurchaseReqnItemText
entity in the S/4HANA system.purchaseReqnItemText
- PurchaseReqnItemText
entity object that will be deleted in the S/4HANA system.PurchaseReqnItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@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 PurchaseRequisitionHeaderUpdateFluentHelper updatePurchaseRequisitionHeader(@Nonnull PurchaseRequisitionHeader purchaseRequisitionHeader)
PurchaseRequisitionHeader
entity and save it to the S/4HANA system.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 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 PurchaseRequisitionItemCreateFluentHelper createPurchaseRequisitionItem(@Nonnull PurchaseRequisitionItem purchaseRequisitionItem)
PurchaseRequisitionItem
entity and save it to the S/4HANA system.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 PurchaseRequisitionItemUpdateFluentHelper updatePurchaseRequisitionItem(@Nonnull PurchaseRequisitionItem purchaseRequisitionItem)
PurchaseRequisitionItem
entity and save it to the S/4HANA system.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 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 PurReqAddDeliveryUpdateFluentHelper updatePurReqAddDelivery(@Nonnull PurReqAddDelivery purReqAddDelivery)
PurReqAddDelivery
entity and save it to the S/4HANA system.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 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 PurReqnAcctAssgmtUpdateFluentHelper updatePurReqnAcctAssgmt(@Nonnull PurReqnAcctAssgmt purReqnAcctAssgmt)
PurReqnAcctAssgmt
entity and save it to the S/4HANA system.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 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.