public interface PurchaseRequisitionService extends BatchService<PurchaseRequisitionServiceBatch>
This service helps you to create, read, update and delete purchase requisitions through an API call from a source system outside SAP S/4HANA. 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. Note: Certain elements can only be used if you activate the business function ISR_RETAILSYSTEM. For more information, see Business Documentation. .
Reference: SAP API Business Hub
OData Service: | OP_API_PURCHASEREQ_PROCESS_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Purchase Requisition |
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
- Texts: Application Object
Constraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Item number of purchase requisition
Constraints: Not nullable, Maximum length: 5
documentText
- Text ID
Constraints: Not nullable, Maximum length: 4
language
- Language Key
Constraints: Not nullable, Maximum length: 2
purchaseRequisition
- Purchase Requisition Number
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 PurchaseReqnItemTextCreateFluentHelper createPurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
PurchaseReqnItemText
entity and save it to the S/4HANA system.purchaseReqnItemText
- PurchaseReqnItemText
entity object that will be created in the S/4HANA system.PurchaseReqnItemText
entity. 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
- Item number of purchase requisition
Constraints: Not nullable, Maximum length: 5
purchaseRequisition
- Purchase Requisition Number
Constraints: Not nullable, Maximum length: 10
purchaseReqnAcctAssgmtNumber
- Serial number for PReq account assignment segment
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 PurReqnAcctAssgmtCreateFluentHelper createPurReqnAcctAssgmt(@Nonnull PurReqnAcctAssgmt purReqnAcctAssgmt)
PurReqnAcctAssgmt
entity and save it to the S/4HANA system.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 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.@Nonnull DiscardFromPurchasingFluentHelper discardFromPurchasing(String purchaseRequisitionItem, String purchaseRequisition)
Creates a fluent helper for the DiscardFromPurchasing OData function import.
purchaseRequisitionItem
- Constraints: none
Original parameter name from the Odata EDM: PurchaseRequisitionItem
purchaseRequisition
- Constraints: none
Original parameter name from the Odata EDM: PurchaseRequisition
execute
method on the fluent helper object.@Nonnull EnableForPurchasingFluentHelper enableForPurchasing(String purchaseRequisitionItem, String purchaseRequisition)
Creates a fluent helper for the EnableForPurchasing OData function import.
purchaseRequisitionItem
- Constraints: none
Original parameter name from the Odata EDM: PurchaseRequisitionItem
purchaseRequisition
- Constraints: none
Original parameter name from the Odata EDM: PurchaseRequisition
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.