Interface ProductSubstitutionV2Service
- All Known Implementing Classes:
DefaultProductSubstitutionV2Service
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.
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 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 theProductSubstitutionentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdSubstnPredecessorentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdSubstnSuccessorentity collection matching the filter and search expressions.createProductSubstitution(ProductSubstitution productSubstitution) Deprecated.Create a newProductSubstitutionentity and save it to the S/4HANA system.deleteProductSubstitution(ProductSubstitution productSubstitution) Deprecated.Deletes an existingProductSubstitutionentity in the S/4HANA system.Deprecated.Fetch multipleProductSubstitutionentities.Deprecated.Fetch multipleProdSubstnPredecessorentities.Deprecated.Fetch multipleProdSubstnSuccessorentities.getProductSubstitutionByKey(UUID mDSubstnUUID) Deprecated.Fetch a singleProductSubstitutionentity using key fields.getProductSubstitutionPredecessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Fetch a singleProdSubstnPredecessorentity using key fields.getProductSubstitutionSuccessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Fetch a singleProdSubstnSuccessorentity using key fields.updateProductSubstitution(ProductSubstitution productSubstitution) Deprecated.Update an existingProductSubstitutionentity 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.
-
getAllProductSubstitution
Deprecated.Fetch multipleProductSubstitutionentities.- Returns:
- A request builder to fetch multiple
ProductSubstitutionentities. 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.
-
countProductSubstitution
Deprecated.Fetch the number of entries from theProductSubstitutionentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProductSubstitutionentities. 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.
-
getProductSubstitutionByKey
Deprecated.Fetch a singleProductSubstitutionentity using key fields.- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProductSubstitutionentity 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.
-
createProductSubstitution
@Nonnull CreateRequestBuilder<ProductSubstitution> createProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Create a newProductSubstitutionentity and save it to the S/4HANA system.- Parameters:
productSubstitution-ProductSubstitutionentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProductSubstitutionentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProductSubstitution
@Nonnull UpdateRequestBuilder<ProductSubstitution> updateProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Update an existingProductSubstitutionentity and save it to the S/4HANA system.- Parameters:
productSubstitution-ProductSubstitutionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProductSubstitutionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProductSubstitution
@Nonnull DeleteRequestBuilder<ProductSubstitution> deleteProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Deletes an existingProductSubstitutionentity in the S/4HANA system.- Parameters:
productSubstitution-ProductSubstitutionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProductSubstitutionentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProductSubstitutionPredecessor
Deprecated.Fetch multipleProdSubstnPredecessorentities.- Returns:
- A request builder to fetch multiple
ProdSubstnPredecessorentities. 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.
-
countProductSubstitutionPredecessor
Deprecated.Fetch the number of entries from theProdSubstnPredecessorentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProdSubstnPredecessorentities. 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.
-
getProductSubstitutionPredecessorByKey
@Nonnull GetByKeyRequestBuilder<ProdSubstnPredecessor> getProductSubstitutionPredecessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Fetch a singleProdSubstnPredecessorentity using key fields.- Parameters:
mDSubstnMasterUUID- Parent Substitution UUIDConstraints: Not nullable
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdSubstnPredecessorentity 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.
-
getAllProductSubstitutionSuccessor
Deprecated.Fetch multipleProdSubstnSuccessorentities.- Returns:
- A request builder to fetch multiple
ProdSubstnSuccessorentities. 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.
-
countProductSubstitutionSuccessor
Deprecated.Fetch the number of entries from theProdSubstnSuccessorentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProdSubstnSuccessorentities. 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.
-
getProductSubstitutionSuccessorByKey
@Nonnull GetByKeyRequestBuilder<ProdSubstnSuccessor> getProductSubstitutionSuccessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Fetch a singleProdSubstnSuccessorentity using key fields.- Parameters:
mDSubstnMasterUUID- Parent Substitution UUIDConstraints: Not nullable
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdSubstnSuccessorentity 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.
-