Interface ProductSubstitutionGroupService
- All Known Implementing Classes:
DefaultProductSubstitutionGroupService
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 groups, which can be used in Product Substitution and Product Exclusion. Additionally, status and group descriptions can be maintained.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODUCTSUBSTITUTIONGROUP_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Product Substitution Group Integration(SAP_COM_0778) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODSUBSTNGRP |
| Business Object: | Product Substitution Group |
-
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 theProdSubstnGrpentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdSubstnGrpTxtentity collection matching the filter and search expressions.createProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Create a newProdSubstnGrpentity and save it to the S/4HANA system.deleteProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Deletes an existingProdSubstnGrpentity in the S/4HANA system.deleteProdSubstnGrpText(ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Deletes an existingProdSubstnGrpTxtentity in the S/4HANA system.Deprecated.Fetch multipleProdSubstnGrpentities.Deprecated.Fetch multipleProdSubstnGrpTxtentities.getProdSubstnGrpByKey(String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpentity using key fields.getProdSubstnGrpTextByKey(String language, String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpTxtentity using key fields.updateProdSubstnGrp(ProdSubstnGrp prodSubstnGrp) Deprecated.Update an existingProdSubstnGrpentity and save it to the S/4HANA system.updateProdSubstnGrpText(ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Update an existingProdSubstnGrpTxtentity and save it to the S/4HANA system.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.
-
getAllProdSubstnGrp
Deprecated.Fetch multipleProdSubstnGrpentities.- Returns:
- A request builder to fetch multiple
ProdSubstnGrpentities. 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.
-
countProdSubstnGrp
Deprecated.Fetch the number of entries from theProdSubstnGrpentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProdSubstnGrpentities. 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.
-
getProdSubstnGrpByKey
@Nonnull GetByKeyRequestBuilder<ProdSubstnGrp> getProdSubstnGrpByKey(String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpentity using key fields.- Parameters:
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnGroup- Group NameConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
ProdSubstnGrpentity 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.
-
createProdSubstnGrp
@Nonnull CreateRequestBuilder<ProdSubstnGrp> createProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Create a newProdSubstnGrpentity and save it to the S/4HANA system.- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdSubstnGrp
@Nonnull UpdateRequestBuilder<ProdSubstnGrp> updateProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Update an existingProdSubstnGrpentity and save it to the S/4HANA system.- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnGrp
@Nonnull DeleteRequestBuilder<ProdSubstnGrp> deleteProdSubstnGrp(@Nonnull ProdSubstnGrp prodSubstnGrp) Deprecated.Deletes an existingProdSubstnGrpentity in the S/4HANA system.- Parameters:
prodSubstnGrp-ProdSubstnGrpentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdSubstnGrpText
Deprecated.Fetch multipleProdSubstnGrpTxtentities.- Returns:
- A request builder to fetch multiple
ProdSubstnGrpTxtentities. 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.
-
countProdSubstnGrpText
Deprecated.Fetch the number of entries from theProdSubstnGrpTxtentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProdSubstnGrpTxtentities. 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.
-
getProdSubstnGrpTextByKey
@Nonnull GetByKeyRequestBuilder<ProdSubstnGrpTxt> getProdSubstnGrpTextByKey(String language, String mDSubstnObjectType, String mDSubstnGroup) Deprecated.Fetch a singleProdSubstnGrpTxtentity using key fields.- Parameters:
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnGroup- Group NameConstraints: Not nullable, Maximum length: 20
language- LanguageConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
ProdSubstnGrpTxtentity 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.
-
updateProdSubstnGrpText
@Nonnull UpdateRequestBuilder<ProdSubstnGrpTxt> updateProdSubstnGrpText(@Nonnull ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Update an existingProdSubstnGrpTxtentity and save it to the S/4HANA system.- Parameters:
prodSubstnGrpTxt-ProdSubstnGrpTxtentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnGrpTxtentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnGrpText
@Nonnull DeleteRequestBuilder<ProdSubstnGrpTxt> deleteProdSubstnGrpText(@Nonnull ProdSubstnGrpTxt prodSubstnGrpTxt) Deprecated.Deletes an existingProdSubstnGrpTxtentity in the S/4HANA system.- Parameters:
prodSubstnGrpTxt-ProdSubstnGrpTxtentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnGrpTxtentity. To perform execution, call theexecutemethod on the request builder object.
-