Interface PurchaseRequisitionService

All Known Implementing Classes:
DefaultPurchaseRequisitionService

@Deprecated public interface PurchaseRequisitionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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.

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull PurchaseRequisitionService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllPurchaseReqn

      @Nonnull GetAllRequestBuilder<PurchaseReqn> getAllPurchaseReqn()
      Deprecated.
      Fetch multiple PurchaseReqn entities.
      Returns:
      A request builder to fetch multiple PurchaseReqn entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countPurchaseReqn

      @Nonnull CountRequestBuilder<PurchaseReqn> countPurchaseReqn()
      Deprecated.
      Fetch the number of entries from the PurchaseReqn entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PurchaseReqn entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getPurchaseReqnByKey

      @Nonnull GetByKeyRequestBuilder<PurchaseReqn> getPurchaseReqnByKey(String purchaseRequisition)
      Deprecated.
      Fetch a single PurchaseReqn entity using key fields.
      Parameters:
      purchaseRequisition - Purchase Requisition Number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single PurchaseReqn entity 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 the execute method on the request builder object.
    • createPurchaseReqn

      @Nonnull CreateRequestBuilder<PurchaseReqn> createPurchaseReqn(@Nonnull PurchaseReqn purchaseReqn)
      Deprecated.
      Create a new PurchaseReqn entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqn - PurchaseReqn entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new PurchaseReqn entity. To perform execution, call the execute method on the request builder object.
    • updatePurchaseReqn

      @Nonnull UpdateRequestBuilder<PurchaseReqn> updatePurchaseReqn(@Nonnull PurchaseReqn purchaseReqn)
      Deprecated.
      Update an existing PurchaseReqn entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqn - PurchaseReqn entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PurchaseReqn entity. To perform execution, call the execute method on the request builder object.
    • getAllPurchaseReqnAcctAssgmt

      @Nonnull GetAllRequestBuilder<PurchaseReqnAcctAssgmt> getAllPurchaseReqnAcctAssgmt()
      Deprecated.
      Fetch multiple PurchaseReqnAcctAssgmt entities.
      Returns:
      A request builder to fetch multiple PurchaseReqnAcctAssgmt entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countPurchaseReqnAcctAssgmt

      @Nonnull CountRequestBuilder<PurchaseReqnAcctAssgmt> countPurchaseReqnAcctAssgmt()
      Deprecated.
      Fetch the number of entries from the PurchaseReqnAcctAssgmt entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PurchaseReqnAcctAssgmt entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getPurchaseReqnAcctAssgmtByKey

      @Nonnull GetByKeyRequestBuilder<PurchaseReqnAcctAssgmt> getPurchaseReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber)
      Deprecated.
      Fetch a single PurchaseReqnAcctAssgmt entity using key fields.
      Parameters:
      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

      Returns:
      A request builder to fetch a single PurchaseReqnAcctAssgmt entity 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 the execute method on the request builder object.
    • createPurchaseReqnAcctAssgmt

      @Nonnull CreateRequestBuilder<PurchaseReqnAcctAssgmt> createPurchaseReqnAcctAssgmt(@Nonnull PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt)
      Deprecated.
      Create a new PurchaseReqnAcctAssgmt entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnAcctAssgmt - PurchaseReqnAcctAssgmt entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new PurchaseReqnAcctAssgmt entity. To perform execution, call the execute method on the request builder object.
    • updatePurchaseReqnAcctAssgmt

      @Nonnull UpdateRequestBuilder<PurchaseReqnAcctAssgmt> updatePurchaseReqnAcctAssgmt(@Nonnull PurchaseReqnAcctAssgmt purchaseReqnAcctAssgmt)
      Deprecated.
      Update an existing PurchaseReqnAcctAssgmt entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnAcctAssgmt - PurchaseReqnAcctAssgmt entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PurchaseReqnAcctAssgmt entity. To perform execution, call the execute method on the request builder object.
    • getAllPurchaseReqnDelivAddress

      @Nonnull GetAllRequestBuilder<PurchaseReqnDelivAddress> getAllPurchaseReqnDelivAddress()
      Deprecated.
      Fetch multiple PurchaseReqnDelivAddress entities.
      Returns:
      A request builder to fetch multiple PurchaseReqnDelivAddress entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countPurchaseReqnDelivAddress

      @Nonnull CountRequestBuilder<PurchaseReqnDelivAddress> countPurchaseReqnDelivAddress()
      Deprecated.
      Fetch the number of entries from the PurchaseReqnDelivAddress entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PurchaseReqnDelivAddress entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getPurchaseReqnDelivAddressByKey

      @Nonnull GetByKeyRequestBuilder<PurchaseReqnDelivAddress> getPurchaseReqnDelivAddressByKey(String purchaseRequisition, String purchaseRequisitionItem)
      Deprecated.
      Fetch a single PurchaseReqnDelivAddress entity using key fields.
      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition

      Constraints: Not nullable, Maximum length: 5

      purchaseRequisition - Purchase Requisition Number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single PurchaseReqnDelivAddress entity 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 the execute method on the request builder object.
    • updatePurchaseReqnDelivAddress

      @Nonnull UpdateRequestBuilder<PurchaseReqnDelivAddress> updatePurchaseReqnDelivAddress(@Nonnull PurchaseReqnDelivAddress purchaseReqnDelivAddress)
      Deprecated.
      Update an existing PurchaseReqnDelivAddress entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnDelivAddress - PurchaseReqnDelivAddress entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PurchaseReqnDelivAddress entity. To perform execution, call the execute method on the request builder object.
    • getAllPurchaseReqnItem

      @Nonnull GetAllRequestBuilder<PurchaseReqnItem> getAllPurchaseReqnItem()
      Deprecated.
      Fetch multiple PurchaseReqnItem entities.
      Returns:
      A request builder to fetch multiple PurchaseReqnItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countPurchaseReqnItem

      @Nonnull CountRequestBuilder<PurchaseReqnItem> countPurchaseReqnItem()
      Deprecated.
      Fetch the number of entries from the PurchaseReqnItem entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PurchaseReqnItem entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getPurchaseReqnItemByKey

      @Nonnull GetByKeyRequestBuilder<PurchaseReqnItem> getPurchaseReqnItemByKey(String purchaseRequisition, String purchaseRequisitionItem)
      Deprecated.
      Fetch a single PurchaseReqnItem entity using key fields.
      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition

      Constraints: Not nullable, Maximum length: 5

      purchaseRequisition - Purchase Requisition Number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single PurchaseReqnItem entity 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 the execute method on the request builder object.
    • createPurchaseReqnItem

      @Nonnull CreateRequestBuilder<PurchaseReqnItem> createPurchaseReqnItem(@Nonnull PurchaseReqnItem purchaseReqnItem)
      Deprecated.
      Create a new PurchaseReqnItem entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnItem - PurchaseReqnItem entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new PurchaseReqnItem entity. To perform execution, call the execute method on the request builder object.
    • updatePurchaseReqnItem

      @Nonnull UpdateRequestBuilder<PurchaseReqnItem> updatePurchaseReqnItem(@Nonnull PurchaseReqnItem purchaseReqnItem)
      Deprecated.
      Update an existing PurchaseReqnItem entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnItem - PurchaseReqnItem entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PurchaseReqnItem entity. To perform execution, call the execute method on the request builder object.
    • getAllPurchaseReqnItemText

      @Nonnull GetAllRequestBuilder<PurchaseReqnItemText> getAllPurchaseReqnItemText()
      Deprecated.
      Fetch multiple PurchaseReqnItemText entities.
      Returns:
      A request builder to fetch multiple PurchaseReqnItemText entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countPurchaseReqnItemText

      @Nonnull CountRequestBuilder<PurchaseReqnItemText> countPurchaseReqnItemText()
      Deprecated.
      Fetch the number of entries from the PurchaseReqnItemText entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PurchaseReqnItemText entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method 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 single PurchaseReqnItemText entity using key fields.
      Parameters:
      purchaseRequisitionItem - Item number of purchase requisition

      Constraints: Not nullable, Maximum length: 5

      textObjectType - Text ID

      Constraints: Not nullable, Maximum length: 4

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      textObjectKey - Name

      Constraints: Not nullable, Maximum length: 70

      purchaseRequisition - Purchase Requisition Number

      Constraints: Not nullable, Maximum length: 10

      textObjectCategory - Texts: application object

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single PurchaseReqnItemText entity 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 the execute method on the request builder object.
    • createPurchaseReqnItemText

      @Nonnull CreateRequestBuilder<PurchaseReqnItemText> createPurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
      Deprecated.
      Create a new PurchaseReqnItemText entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnItemText - PurchaseReqnItemText entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new PurchaseReqnItemText entity. To perform execution, call the execute method on the request builder object.
    • updatePurchaseReqnItemText

      @Nonnull UpdateRequestBuilder<PurchaseReqnItemText> updatePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
      Deprecated.
      Update an existing PurchaseReqnItemText entity and save it to the S/4HANA system.
      Parameters:
      purchaseReqnItemText - PurchaseReqnItemText entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PurchaseReqnItemText entity. To perform execution, call the execute method on the request builder object.
    • deletePurchaseReqnItemText

      @Nonnull DeleteRequestBuilder<PurchaseReqnItemText> deletePurchaseReqnItemText(@Nonnull PurchaseReqnItemText purchaseReqnItemText)
      Deprecated.
      Deletes an existing PurchaseReqnItemText entity in the S/4HANA system.
      Parameters:
      purchaseReqnItemText - PurchaseReqnItemText entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing PurchaseReqnItemText entity. To perform execution, call the execute method on the request builder object.