Interface ProductHierarchyNodeService

All Known Implementing Classes:
DefaultProductHierarchyNodeService

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

This synchronous inbound OData service enables external systems and other consumers to read currently active version for a given Hierarchy ID, or the version with a specified validity date. This service also enables external systems and other consumers to create version, nodes, and texts of a product hierarchy. This information is used in the processes related to sales and distribution..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: PRODHIERNODES_0001
API Version: 1.1.0
Minimum ERP Version: 2302
Communication Scenario: Product Integration(SAP_COM_0009)
Scope Items: Master Data Integration(1RO), Opportunity-to-Order with SAP Cloud for Customer(1VP)
Authentication Methods: x509
Service Group Name: API_PROD_HIER_NODES_SRV
Business Object: Product
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull ProductHierarchyNodeService 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.
    • getAllProdUniversalHierarchy

      @Nonnull GetAllRequestBuilder<ProdUniversalHierarchy> getAllProdUniversalHierarchy()
      Deprecated.
      Fetch multiple ProdUniversalHierarchy entities.
      Returns:
      A request builder to fetch multiple ProdUniversalHierarchy 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.
    • countProdUniversalHierarchy

      @Nonnull CountRequestBuilder<ProdUniversalHierarchy> countProdUniversalHierarchy()
      Deprecated.
      Fetch the number of entries from the ProdUniversalHierarchy entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProdUniversalHierarchy 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.
    • getProdUniversalHierarchyByKey

      @Nonnull GetByKeyRequestBuilder<ProdUniversalHierarchy> getProdUniversalHierarchyByKey(String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate)
      Deprecated.
      Fetch a single ProdUniversalHierarchy entity using key fields.
      Parameters:
      prodHierarchyValidityEndDate - Validity End Date

      Constraints: Not nullable

      prodUnivHierarchy - Product Hierarchy

      Constraints: Not nullable, Maximum length: 20

      Returns:
      A request builder to fetch a single ProdUniversalHierarchy 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.
    • createProdUniversalHierarchy

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

      @Nonnull GetAllRequestBuilder<ProdUniversalHierarchyText> getAllProdUniversalHierarchyText()
      Deprecated.
      Fetch multiple ProdUniversalHierarchyText entities.
      Returns:
      A request builder to fetch multiple ProdUniversalHierarchyText 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.
    • countProdUniversalHierarchyText

      @Nonnull CountRequestBuilder<ProdUniversalHierarchyText> countProdUniversalHierarchyText()
      Deprecated.
      Fetch the number of entries from the ProdUniversalHierarchyText entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProdUniversalHierarchyText 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.
    • getProdUniversalHierarchyTextByKey

      @Nonnull GetByKeyRequestBuilder<ProdUniversalHierarchyText> getProdUniversalHierarchyTextByKey(String language, String prodUnivHierarchy, LocalDate prodHierarchyValidityEndDate)
      Deprecated.
      Fetch a single ProdUniversalHierarchyText entity using key fields.
      Parameters:
      prodHierarchyValidityEndDate - Valid To Date

      Constraints: Not nullable

      prodUnivHierarchy - Product Hierarchy

      Constraints: Not nullable, Maximum length: 20

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A request builder to fetch a single ProdUniversalHierarchyText 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.
    • getAllProdUnivHierNodeByHierID

      @Nonnull GetAllRequestBuilder<ProdUnivHierNodeByHierID> getAllProdUnivHierNodeByHierID()
      Deprecated.
      Fetch multiple ProdUnivHierNodeByHierID entities.
      Returns:
      A request builder to fetch multiple ProdUnivHierNodeByHierID 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.
    • countProdUnivHierNodeByHierID

      @Nonnull CountRequestBuilder<ProdUnivHierNodeByHierID> countProdUnivHierNodeByHierID()
      Deprecated.
      Fetch the number of entries from the ProdUnivHierNodeByHierID entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ProdUnivHierNodeByHierID 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.
    • getProdUnivHierNodeByHierIDByKey

      @Nonnull GetByKeyRequestBuilder<ProdUnivHierNodeByHierID> getProdUnivHierNodeByHierIDByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate)
      Deprecated.
      Fetch a single ProdUnivHierNodeByHierID entity using key fields.
      Parameters:
      prodHierarchyValidityEndDate - Validity End Date

      Constraints: Not nullable

      prodUnivHierarchy - Product Hierarchy

      Constraints: Not nullable, Maximum length: 20

      hierarchyNode - Hierarchy node

      Constraints: Not nullable, Maximum length: 50

      Returns:
      A request builder to fetch a single ProdUnivHierNodeByHierID 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.