Interface ProductSubstitutionService

All Known Implementing Classes:
DefaultProductSubstitutionService

@Deprecated public interface ProductSubstitutionService
Deprecated.
The service and all its related classes are deprecated. Please use the successor API instead.

This service enables you to create plant, application and time range specific product substitution. Additionally, these substitutions can be sequenced, and grouped using predefined groups.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: PRODUCTSUBSTITUTION_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Master Data - Product Substitution Integration(SAP_COM_0707)
Scope Items: Advanced Available-to-Promise Processing(1JW)
Authentication Methods: x509
Service Group Name: API_PRODUCTSUBSTITUTION
Business Object: Product Substitution
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull ProductSubstitutionService 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.
    • getAllProdSubstn

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

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

      @Nonnull GetByKeyRequestBuilder<ProdSubstn> getProdSubstnByKey(UUID mDSubstnUUID)
      Deprecated.
      Fetch a single ProdSubstn entity using key fields.
      Parameters:
      mDSubstnUUID - Substitution UUID

      Constraints: Not nullable

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

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

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

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