Interface PurchaseRequisitionService

All Superinterfaces:
BatchService<PurchaseRequisitionServiceBatch>
All Known Implementing Classes:
DefaultPurchaseRequisitionService

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

This service helps you to create, read, update and delete purchase requisitions through an API call from a source system outside SAP S/4HANA Cloud. 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: API_PURCHASEREQ_PROCESS_SRV
API Version: 1.0.1
Minimum ERP Version: 2302
Communication Scenario: Purchase Requisition Integration(SAP_COM_0102), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration(SAP_COM_0292), Next-Generation Buying Experience Integration(SAP_COM_0545)
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), Guided Buying for Central Procurement with SAP Ariba Buying(3EN)
Authentication Methods: x509
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.
    • getAllPurchaseReqnItemText

      @Nonnull PurchaseReqnItemTextFluentHelper getAllPurchaseReqnItemText()
      Deprecated.
      Fetch multiple PurchaseReqnItemText entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getPurchaseReqnItemTextByKey

      @Nonnull PurchaseReqnItemTextByKeyFluentHelper getPurchaseReqnItemTextByKey(String purchaseRequisition, String purchaseRequisitionItem, String documentText, String technicalObjectType, String language)
      Deprecated.
      Fetch a single PurchaseReqnItemText entity using key fields.
      Parameters:
      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

      Returns:
      A fluent helper to fetch a single 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.
    • createPurchaseReqnItemText

      @Nonnull PurchaseReqnItemTextCreateFluentHelper 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 fluent helper to create a new PurchaseReqnItemText entity. To perform execution, call the execute method on the fluent helper object.
    • updatePurchaseReqnItemText

      @Nonnull PurchaseReqnItemTextUpdateFluentHelper 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 fluent helper to update an existing PurchaseReqnItemText entity. To perform execution, call the execute method on the fluent helper object.
    • deletePurchaseReqnItemText

      @Nonnull PurchaseReqnItemTextDeleteFluentHelper 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 fluent helper to delete an existing PurchaseReqnItemText entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPurchaseRequisitionHeader

      @Nonnull PurchaseRequisitionHeaderFluentHelper getAllPurchaseRequisitionHeader()
      Deprecated.
      Fetch multiple PurchaseRequisitionHeader entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getPurchaseRequisitionHeaderByKey

      @Nonnull PurchaseRequisitionHeaderByKeyFluentHelper getPurchaseRequisitionHeaderByKey(String purchaseRequisition)
      Deprecated.
      Fetch a single PurchaseRequisitionHeader entity using key fields.
      Parameters:
      purchaseRequisition - Purchase Requisition Number

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A fluent helper to fetch a single 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.
    • createPurchaseRequisitionHeader

      @Nonnull PurchaseRequisitionHeaderCreateFluentHelper createPurchaseRequisitionHeader(@Nonnull PurchaseRequisitionHeader purchaseRequisitionHeader)
      Deprecated.
      Create a new PurchaseRequisitionHeader entity and save it to the S/4HANA system.
      Parameters:
      purchaseRequisitionHeader - PurchaseRequisitionHeader entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new PurchaseRequisitionHeader entity. To perform execution, call the execute method on the fluent helper object.
    • updatePurchaseRequisitionHeader

      @Nonnull PurchaseRequisitionHeaderUpdateFluentHelper updatePurchaseRequisitionHeader(@Nonnull PurchaseRequisitionHeader purchaseRequisitionHeader)
      Deprecated.
      Update an existing PurchaseRequisitionHeader entity and save it to the S/4HANA system.
      Parameters:
      purchaseRequisitionHeader - PurchaseRequisitionHeader entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PurchaseRequisitionHeader entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPurchaseRequisitionItem

      @Nonnull PurchaseRequisitionItemFluentHelper getAllPurchaseRequisitionItem()
      Deprecated.
      Fetch multiple PurchaseRequisitionItem entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getPurchaseRequisitionItemByKey

      @Nonnull PurchaseRequisitionItemByKeyFluentHelper getPurchaseRequisitionItemByKey(String purchaseRequisition, String purchaseRequisitionItem)
      Deprecated.
      Fetch a single PurchaseRequisitionItem 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 fluent helper to fetch a single 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.
    • createPurchaseRequisitionItem

      @Nonnull PurchaseRequisitionItemCreateFluentHelper createPurchaseRequisitionItem(@Nonnull PurchaseRequisitionItem purchaseRequisitionItem)
      Deprecated.
      Create a new PurchaseRequisitionItem entity and save it to the S/4HANA system.
      Parameters:
      purchaseRequisitionItem - PurchaseRequisitionItem entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new PurchaseRequisitionItem entity. To perform execution, call the execute method on the fluent helper object.
    • updatePurchaseRequisitionItem

      @Nonnull PurchaseRequisitionItemUpdateFluentHelper updatePurchaseRequisitionItem(@Nonnull PurchaseRequisitionItem purchaseRequisitionItem)
      Deprecated.
      Update an existing PurchaseRequisitionItem entity and save it to the S/4HANA system.
      Parameters:
      purchaseRequisitionItem - PurchaseRequisitionItem entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PurchaseRequisitionItem entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPurReqAddDelivery

      @Nonnull PurReqAddDeliveryFluentHelper getAllPurReqAddDelivery()
      Deprecated.
      Fetch multiple PurReqAddDelivery entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getPurReqAddDeliveryByKey

      @Nonnull PurReqAddDeliveryByKeyFluentHelper getPurReqAddDeliveryByKey(String purchaseRequisition, String purchaseRequisitionItem)
      Deprecated.
      Fetch a single PurReqAddDelivery 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 fluent helper to fetch a single 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.
    • updatePurReqAddDelivery

      @Nonnull PurReqAddDeliveryUpdateFluentHelper updatePurReqAddDelivery(@Nonnull PurReqAddDelivery purReqAddDelivery)
      Deprecated.
      Update an existing PurReqAddDelivery entity and save it to the S/4HANA system.
      Parameters:
      purReqAddDelivery - PurReqAddDelivery entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PurReqAddDelivery entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPurReqnAcctAssgmt

      @Nonnull PurReqnAcctAssgmtFluentHelper getAllPurReqnAcctAssgmt()
      Deprecated.
      Fetch multiple PurReqnAcctAssgmt entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getPurReqnAcctAssgmtByKey

      @Nonnull PurReqnAcctAssgmtByKeyFluentHelper getPurReqnAcctAssgmtByKey(String purchaseRequisition, String purchaseRequisitionItem, String purchaseReqnAcctAssgmtNumber)
      Deprecated.
      Fetch a single PurReqnAcctAssgmt 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 fluent helper to fetch a single 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.
    • createPurReqnAcctAssgmt

      @Nonnull PurReqnAcctAssgmtCreateFluentHelper createPurReqnAcctAssgmt(@Nonnull PurReqnAcctAssgmt purReqnAcctAssgmt)
      Deprecated.
      Create a new PurReqnAcctAssgmt entity and save it to the S/4HANA system.
      Parameters:
      purReqnAcctAssgmt - PurReqnAcctAssgmt entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new PurReqnAcctAssgmt entity. To perform execution, call the execute method on the fluent helper object.
    • updatePurReqnAcctAssgmt

      @Nonnull PurReqnAcctAssgmtUpdateFluentHelper updatePurReqnAcctAssgmt(@Nonnull PurReqnAcctAssgmt purReqnAcctAssgmt)
      Deprecated.
      Update an existing PurReqnAcctAssgmt entity and save it to the S/4HANA system.
      Parameters:
      purReqnAcctAssgmt - PurReqnAcctAssgmt entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing PurReqnAcctAssgmt entity. To perform execution, call the execute method on the fluent helper object.
    • validate

      @Nonnull ValidateFluentHelper validate(@Nonnull String purchaseRequisition)
      Deprecated.

      Creates a fluent helper for the Validate OData function import.

      Parameters:
      purchaseRequisition - Constraints: none

      Original parameter name from the Odata EDM: PurchaseRequisition

      Returns:
      A fluent helper object that will execute the Validate OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • discardFromPurchasing

      @Nonnull DiscardFromPurchasingFluentHelper discardFromPurchasing(@Nonnull String purchaseRequisitionItem, @Nonnull String purchaseRequisition)
      Deprecated.

      Creates a fluent helper for the DiscardFromPurchasing OData function import.

      Parameters:
      purchaseRequisitionItem - Constraints: none

      Original parameter name from the Odata EDM: PurchaseRequisitionItem

      purchaseRequisition - Constraints: none

      Original parameter name from the Odata EDM: PurchaseRequisition

      Returns:
      A fluent helper object that will execute the DiscardFromPurchasing OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • enableForPurchasing

      @Nonnull EnableForPurchasingFluentHelper enableForPurchasing(@Nonnull String purchaseRequisitionItem, @Nonnull String purchaseRequisition)
      Deprecated.

      Creates a fluent helper for the EnableForPurchasing OData function import.

      Parameters:
      purchaseRequisitionItem - Constraints: none

      Original parameter name from the Odata EDM: PurchaseRequisitionItem

      purchaseRequisition - Constraints: none

      Original parameter name from the Odata EDM: PurchaseRequisition

      Returns:
      A fluent helper object that will execute the EnableForPurchasing OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.