Interface ProductSubstitutionV2Service

All Known Implementing Classes:
DefaultProductSubstitutionV2Service

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

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: CE_PRODUCTSUBSTITUTION_0002
API Version: 2.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 ProductSubstitutionV2Service 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.
    • getAllProductSubstitution

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

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

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

      Constraints: Not nullable

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

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

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

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

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

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

      @Nonnull GetByKeyRequestBuilder<ProdSubstnPredecessor> getProductSubstitutionPredecessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID)
      Deprecated.
      Fetch a single ProdSubstnPredecessor entity using key fields.
      Parameters:
      mDSubstnMasterUUID - Parent Substitution UUID

      Constraints: Not nullable

      mDSubstnUUID - Substitution UUID

      Constraints: Not nullable

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

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

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

      @Nonnull GetByKeyRequestBuilder<ProdSubstnSuccessor> getProductSubstitutionSuccessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID)
      Deprecated.
      Fetch a single ProdSubstnSuccessor entity using key fields.
      Parameters:
      mDSubstnMasterUUID - Parent Substitution UUID

      Constraints: Not nullable

      mDSubstnUUID - Substitution UUID

      Constraints: Not nullable

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