Interface ProductsToProductHierarchiesAssignmentService

All Known Implementing Classes:
DefaultProductsToProductHierarchiesAssignmentService

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

This service enables you to read and assign the products to product hierarchy nodes by exposing the remote API views through OData. These products are assigned to the corresponding product hierarchy based on the validity of the hierarchy version..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: PRODHIERPRODS_0001
API Version: 1.2.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_PRODS_SRV
Business Object: Product
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull ProductsToProductHierarchiesAssignmentService 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.
    • getAllProdUnivHierNormalNode

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

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

      @Nonnull GetByKeyRequestBuilder<ProdUnivHierNormalNode> getProdUnivHierNormalNodeByKey(String prodUnivHierarchy, String hierarchyNode, LocalDate prodHierarchyValidityEndDate)
      Deprecated.
      Fetch a single ProdUnivHierNormalNode 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 ProdUnivHierNormalNode 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.
    • createProdUnivHierNormalNode

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

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

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

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

      Constraints: Not nullable

      product - Product Number

      Constraints: Not nullable, Maximum length: 18

      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 ProdUnivHierProdByHierNode 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.
    • createProdUnivHierProdByHierNode

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

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