Interface CompanySubstanceService

All Known Implementing Classes:
DefaultCompanySubstanceService

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

This service writes data that is provided by an external application to the company substance in the product compliance solution in SAP S/4HANA Cloud. It uses the provided data to create or update the company substance. In addition, the service can also read company substance data and provide this data to an external application. You can apply any filters to provide or retrieve all existing data. .

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: CE_COMPANYSUBSTANCE_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Product Compliance - Integration(SAP_COM_0797)
Scope Items: Chemical Compliance Approval for Purchased Material and Supplier(31G), Assess Marketability of a Product(31H), Assess Dangerous Goods for a Product(3FC), Manage Safety Data Sheets for Products(3VR), Substance Volume Tracking(4OL), Request Regulatory Documentation from Service Provider(6AV)
Authentication Methods: x509
Service Group Name: API_COMPANYSUBSTANCE
Business Object: Company Substance
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull CompanySubstanceService 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.
    • getAllCompanySubstance

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

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

      @Nonnull GetByKeyRequestBuilder<CompanySubstance> getCompanySubstanceByKey(UUID companySubstanceUUID)
      Deprecated.
      Fetch a single CompanySubstance entity using key fields.
      Parameters:
      companySubstanceUUID - Substance

      Constraints: Not nullable

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

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

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

      @Nonnull GetByKeyRequestBuilder<CompanySubstanceText> getCompanySubstanceTextByKey(UUID companySubstanceUUID, String language)
      Deprecated.
      Fetch a single CompanySubstanceText entity using key fields.
      Parameters:
      companySubstanceUUID - Substance

      Constraints: Not nullable

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

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

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

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

      @Nonnull GetByKeyRequestBuilder<CompanySubstanceVarAssgmt> getCompanySubstanceVarAssgmtByKey(UUID substanceVarAssgmtUUID)
      Deprecated.
      Fetch a single CompanySubstanceVarAssgmt entity using key fields.
      Parameters:
      substanceVarAssgmtUUID - Substance Variant Assignment

      Constraints: Not nullable

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