Interface PurchaseRequisitionService
- All Known Implementing Classes:
DefaultPurchaseRequisitionService
The service contains header, item, account assignment, delivery address, and item text nodes. The information is sent in the request as a payload. The information is used when creating, reading or updating a purchase requisition, with appropriate checks for restricted values and authorizations.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PURCHASEREQUISITION_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Purchase Requisition Integration(SAP_COM_0102) |
| Scope Items: | Guided Buying Capability with SAP Ariba Buying(2NV), Consumable Purchasing(BNX), Service and Material Procurement - Project-Based Services(J13), Procurement of Direct Materials(J45), Procurement of Direct Materials(O45), Requisitioning(O8J), Physical Inventory - Inventory Count and Adjustment(OML), Guided Buying Capability with SAP Ariba Buying(ONV), Consumable Purchasing(ONX), Requisitioning(18J), Next-Generation Buying Experience(4AI) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PURCHASEREQUISITION_2 |
| Business Object: | Purchase Requisition |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from thePurchaseReqnentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePurchaseReqnAcctAssgmtentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePurchaseReqnDelivAddressentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePurchaseReqnItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePurchaseReqnItemTextentity collection matching the filter and search expressions.createPurchaseReqn(PurchaseReqn purchaseReqn) Deprecated.Create a newPurchaseReqnentity and save it to the S/4HANA system.createPurchaseReqnAcctAssgmt(PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt) Deprecated.Create a newPurchaseReqnAcctAssgmtentity and save it to the S/4HANA system.createPurchaseReqnItem(PurchaseReqnItem purchaseReqnItem) Deprecated.Create a newPurchaseReqnItementity and save it to the S/4HANA system.createPurchaseReqnItemText(PurchaseReqnItemText purchaseReqnItemText) Deprecated.Create a newPurchaseReqnItemTextentity and save it to the S/4HANA system.deletePurchaseReqnItemText(PurchaseReqnItemText purchaseReqnItemText) Deprecated.Deletes an existingPurchaseReqnItemTextentity in the S/4HANA system.Deprecated.Fetch multiplePurchaseReqnentities.Deprecated.Fetch multiplePurchaseReqnAcctAssgmtentities.Deprecated.Fetch multiplePurchaseReqnDelivAddressentities.Deprecated.Fetch multiplePurchaseReqnItementities.Deprecated.Fetch multiplePurchaseReqnItemTextentities.getPurchaseReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber) Deprecated.Fetch a singlePurchaseReqnAcctAssgmtentity using key fields.getPurchaseReqnByKey(String purchaseRequisition) Deprecated.Fetch a singlePurchaseReqnentity using key fields.getPurchaseReqnDelivAddressByKey(String purchaseRequisition, String purchaseRequisitionItem) Deprecated.Fetch a singlePurchaseReqnDelivAddressentity using key fields.getPurchaseReqnItemByKey(String purchaseRequisition, String purchaseRequisitionItem) Deprecated.Fetch a singlePurchaseReqnItementity using key fields.getPurchaseReqnItemTextByKey(String purchaseRequisition, String purchaseRequisitionItem, String textObjectCategory, String textObjectKey, String textObjectType, String language) Deprecated.Fetch a singlePurchaseReqnItemTextentity using key fields.updatePurchaseReqn(PurchaseReqn purchaseReqn) Deprecated.Update an existingPurchaseReqnentity and save it to the S/4HANA system.updatePurchaseReqnAcctAssgmt(PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt) Deprecated.Update an existingPurchaseReqnAcctAssgmtentity and save it to the S/4HANA system.updatePurchaseReqnDelivAddress(PurchaseReqnDelivAddress purchaseReqnDelivAddress) Deprecated.Update an existingPurchaseReqnDelivAddressentity and save it to the S/4HANA system.updatePurchaseReqnItem(PurchaseReqnItem purchaseReqnItem) Deprecated.Update an existingPurchaseReqnItementity and save it to the S/4HANA system.updatePurchaseReqnItemText(PurchaseReqnItemText purchaseReqnItemText) Deprecated.Update an existingPurchaseReqnItemTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPurchaseReqn
Deprecated.Fetch multiplePurchaseReqnentities.- Returns:
- A request builder to fetch multiple
PurchaseReqnentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchaseReqn
Deprecated.Fetch the number of entries from thePurchaseReqnentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PurchaseReqnentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchaseReqnByKey
Deprecated.Fetch a singlePurchaseReqnentity using key fields.- Parameters:
purchaseRequisition- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PurchaseReqnentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPurchaseReqn
Deprecated.Create a newPurchaseReqnentity and save it to the S/4HANA system.- Parameters:
purchaseReqn-PurchaseReqnentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PurchaseReqnentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePurchaseReqn
Deprecated.Update an existingPurchaseReqnentity and save it to the S/4HANA system.- Parameters:
purchaseReqn-PurchaseReqnentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PurchaseReqnentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPurchaseReqnAcctAssgmt
Deprecated.Fetch multiplePurchaseReqnAcctAssgmtentities.- Returns:
- A request builder to fetch multiple
PurchaseReqnAcctAssgmtentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchaseReqnAcctAssgmt
Deprecated.Fetch the number of entries from thePurchaseReqnAcctAssgmtentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PurchaseReqnAcctAssgmtentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchaseReqnAcctAssgmtByKey
@Nonnull GetByKeyRequestBuilder<PurchaseReqnAcctAssgmt> getPurchaseReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber) Deprecated.Fetch a singlePurchaseReqnAcctAssgmtentity using key fields.- Parameters:
purchaseRequisitionItem- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
purchaseRequisition- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
purchaseReqnAcctAssgmtNumber- Serial number for PReq account assignment segmentConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
PurchaseReqnAcctAssgmtentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPurchaseReqnAcctAssgmt
@Nonnull CreateRequestBuilder<PurchaseReqnAcctAssgmt> createPurchaseReqnAcctAssgmt(@Nonnull PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt) Deprecated.Create a newPurchaseReqnAcctAssgmtentity and save it to the S/4HANA system.- Parameters:
purchaseReqnAcctAssgmt-PurchaseReqnAcctAssgmtentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PurchaseReqnAcctAssgmtentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePurchaseReqnAcctAssgmt
@Nonnull UpdateRequestBuilder<PurchaseReqnAcctAssgmt> updatePurchaseReqnAcctAssgmt(@Nonnull PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt) Deprecated.Update an existingPurchaseReqnAcctAssgmtentity and save it to the S/4HANA system.- Parameters:
purchaseReqnAcctAssgmt-PurchaseReqnAcctAssgmtentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PurchaseReqnAcctAssgmtentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPurchaseReqnDelivAddress
Deprecated.Fetch multiplePurchaseReqnDelivAddressentities.- Returns:
- A request builder to fetch multiple
PurchaseReqnDelivAddressentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchaseReqnDelivAddress
Deprecated.Fetch the number of entries from thePurchaseReqnDelivAddressentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PurchaseReqnDelivAddressentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchaseReqnDelivAddressByKey
@Nonnull GetByKeyRequestBuilder<PurchaseReqnDelivAddress> getPurchaseReqnDelivAddressByKey(String purchaseRequisition, String purchaseRequisitionItem) Deprecated.Fetch a singlePurchaseReqnDelivAddressentity using key fields.- Parameters:
purchaseRequisitionItem- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
purchaseRequisition- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PurchaseReqnDelivAddressentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updatePurchaseReqnDelivAddress
@Nonnull UpdateRequestBuilder<PurchaseReqnDelivAddress> updatePurchaseReqnDelivAddress(@Nonnull PurchaseReqnDelivAddress purchaseReqnDelivAddress) Deprecated.Update an existingPurchaseReqnDelivAddressentity and save it to the S/4HANA system.- Parameters:
purchaseReqnDelivAddress-PurchaseReqnDelivAddressentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PurchaseReqnDelivAddressentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPurchaseReqnItem
Deprecated.Fetch multiplePurchaseReqnItementities.- Returns:
- A request builder to fetch multiple
PurchaseReqnItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchaseReqnItem
Deprecated.Fetch the number of entries from thePurchaseReqnItementity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PurchaseReqnItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchaseReqnItemByKey
@Nonnull GetByKeyRequestBuilder<PurchaseReqnItem> getPurchaseReqnItemByKey(String purchaseRequisition, String purchaseRequisitionItem) Deprecated.Fetch a singlePurchaseReqnItementity using key fields.- Parameters:
purchaseRequisitionItem- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
purchaseRequisition- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PurchaseReqnItementity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPurchaseReqnItem
@Nonnull CreateRequestBuilder<PurchaseReqnItem> createPurchaseReqnItem(@Nonnull PurchaseReqnItem purchaseReqnItem) Deprecated.Create a newPurchaseReqnItementity and save it to the S/4HANA system.- Parameters:
purchaseReqnItem-PurchaseReqnItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PurchaseReqnItementity. To perform execution, call theexecutemethod on the request builder object.
-
updatePurchaseReqnItem
@Nonnull UpdateRequestBuilder<PurchaseReqnItem> updatePurchaseReqnItem(@Nonnull PurchaseReqnItem purchaseReqnItem) Deprecated.Update an existingPurchaseReqnItementity and save it to the S/4HANA system.- Parameters:
purchaseReqnItem-PurchaseReqnItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PurchaseReqnItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPurchaseReqnItemText
Deprecated.Fetch multiplePurchaseReqnItemTextentities.- Returns:
- A request builder to fetch multiple
PurchaseReqnItemTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPurchaseReqnItemText
Deprecated.Fetch the number of entries from thePurchaseReqnItemTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PurchaseReqnItemTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPurchaseReqnItemTextByKey
@Nonnull GetByKeyRequestBuilder<PurchaseReqnItemText> getPurchaseReqnItemTextByKey(String purchaseRequisition, String purchaseRequisitionItem, String textObjectCategory, String textObjectKey, String textObjectType, String language) Deprecated.Fetch a singlePurchaseReqnItemTextentity using key fields.- Parameters:
purchaseRequisitionItem- Item number of purchase requisitionConstraints: Not nullable, Maximum length: 5
textObjectType- Text IDConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
textObjectKey- NameConstraints: Not nullable, Maximum length: 70
purchaseRequisition- Purchase Requisition NumberConstraints: Not nullable, Maximum length: 10
textObjectCategory- Texts: application objectConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PurchaseReqnItemTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPurchaseReqnItemText
@Nonnull CreateRequestBuilder<PurchaseReqnItemText> createPurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText) Deprecated.Create a newPurchaseReqnItemTextentity and save it to the S/4HANA system.- Parameters:
purchaseReqnItemText-PurchaseReqnItemTextentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PurchaseReqnItemTextentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePurchaseReqnItemText
@Nonnull UpdateRequestBuilder<PurchaseReqnItemText> updatePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText) Deprecated.Update an existingPurchaseReqnItemTextentity and save it to the S/4HANA system.- Parameters:
purchaseReqnItemText-PurchaseReqnItemTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PurchaseReqnItemTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePurchaseReqnItemText
@Nonnull DeleteRequestBuilder<PurchaseReqnItemText> deletePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText) Deprecated.Deletes an existingPurchaseReqnItemTextentity in the S/4HANA system.- Parameters:
purchaseReqnItemText-PurchaseReqnItemTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PurchaseReqnItemTextentity. To perform execution, call theexecutemethod on the request builder object.
-