Interface ProductSubstitutionService
- All Known Implementing Classes:
DefaultProductSubstitutionService
Deprecated.
The service and all its related classes are deprecated. Please use the
successor API instead.
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: | PRODUCTSUBSTITUTION_0001 |
| API Version: | 1.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 theProdSubstnentity collection matching the filter and search expressions.createProdSubstn(ProdSubstn prodSubstn) Deprecated.Create a newProdSubstnentity and save it to the S/4HANA system.deleteProdSubstn(ProdSubstn prodSubstn) Deprecated.Deletes an existingProdSubstnentity in the S/4HANA system.Deprecated.Fetch multipleProdSubstnentities.getProdSubstnByKey(UUID mDSubstnUUID) Deprecated.Fetch a singleProdSubstnentity using key fields.updateProdSubstn(ProdSubstn prodSubstn) Deprecated.Update an existingProdSubstnentity 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.
-
getAllProdSubstn
Deprecated.Fetch multipleProdSubstnentities.- Returns:
- A request builder to fetch multiple
ProdSubstnentities. 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.
-
countProdSubstn
Deprecated.Fetch the number of entries from theProdSubstnentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ProdSubstnentities. 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.
-
getProdSubstnByKey
Deprecated.Fetch a singleProdSubstnentity using key fields.- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdSubstnentity 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.
-
createProdSubstn
Deprecated.Create a newProdSubstnentity and save it to the S/4HANA system.- Parameters:
prodSubstn-ProdSubstnentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdSubstn
Deprecated.Update an existingProdSubstnentity and save it to the S/4HANA system.- Parameters:
prodSubstn-ProdSubstnentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstn
Deprecated.Deletes an existingProdSubstnentity in the S/4HANA system.- Parameters:
prodSubstn-ProdSubstnentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnentity. To perform execution, call theexecutemethod on the request builder object.
-