Interface CompanySubstanceService
- All Known Implementing Classes:
DefaultCompanySubstanceService
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. .
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theCompanySubstanceentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCompanySubstanceTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCompanySubstanceVarAssgmtentity collection matching the filter and search expressions.Deprecated.Fetch multipleCompanySubstanceentities.Deprecated.Fetch multipleCompanySubstanceTextentities.Deprecated.Fetch multipleCompanySubstanceVarAssgmtentities.getCompanySubstanceByKey(UUID companySubstanceUUID) Deprecated.Fetch a singleCompanySubstanceentity using key fields.getCompanySubstanceTextByKey(UUID companySubstanceUUID, String language) Deprecated.Fetch a singleCompanySubstanceTextentity using key fields.getCompanySubstanceVarAssgmtByKey(UUID substanceVarAssgmtUUID) Deprecated.Fetch a singleCompanySubstanceVarAssgmtentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
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
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCompanySubstance
Deprecated.Fetch multipleCompanySubstanceentities.- Returns:
- A request builder to fetch multiple
CompanySubstanceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCompanySubstance
Deprecated.Fetch the number of entries from theCompanySubstanceentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CompanySubstanceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCompanySubstanceByKey
@Nonnull GetByKeyRequestBuilder<CompanySubstance> getCompanySubstanceByKey(UUID companySubstanceUUID) Deprecated.Fetch a singleCompanySubstanceentity using key fields.- Parameters:
companySubstanceUUID- SubstanceConstraints: Not nullable
- Returns:
- A request builder to fetch a single
CompanySubstanceentity 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 theexecutemethod on the request builder object.
-
getAllCompanySubstanceText
Deprecated.Fetch multipleCompanySubstanceTextentities.- Returns:
- A request builder to fetch multiple
CompanySubstanceTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCompanySubstanceText
Deprecated.Fetch the number of entries from theCompanySubstanceTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CompanySubstanceTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCompanySubstanceTextByKey
@Nonnull GetByKeyRequestBuilder<CompanySubstanceText> getCompanySubstanceTextByKey(UUID companySubstanceUUID, String language) Deprecated.Fetch a singleCompanySubstanceTextentity using key fields.- Parameters:
companySubstanceUUID- SubstanceConstraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
CompanySubstanceTextentity 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 theexecutemethod on the request builder object.
-
getAllCompanySubstanceVarAssgmt
Deprecated.Fetch multipleCompanySubstanceVarAssgmtentities.- Returns:
- A request builder to fetch multiple
CompanySubstanceVarAssgmtentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCompanySubstanceVarAssgmt
Deprecated.Fetch the number of entries from theCompanySubstanceVarAssgmtentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
CompanySubstanceVarAssgmtentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCompanySubstanceVarAssgmtByKey
@Nonnull GetByKeyRequestBuilder<CompanySubstanceVarAssgmt> getCompanySubstanceVarAssgmtByKey(UUID substanceVarAssgmtUUID) Deprecated.Fetch a singleCompanySubstanceVarAssgmtentity using key fields.- Parameters:
substanceVarAssgmtUUID- Substance Variant AssignmentConstraints: Not nullable
- Returns:
- A request builder to fetch a single
CompanySubstanceVarAssgmtentity 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 theexecutemethod on the request builder object.
-