Class DefaultProductSubstitutionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductSubstitutionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionService")
@Deprecated
public class DefaultProductSubstitutionService
extends Object
implements ServiceWithNavigableEntities, ProductSubstitutionService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductSubstitutionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductSubstitutionService.DEFAULT_SERVICE_PATHto send the requests. -
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.Deprecated.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultProductSubstitutionService
public DefaultProductSubstitutionService()Deprecated.Creates a service usingProductSubstitutionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductSubstitutionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductSubstitutionService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ProductSubstitutionServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductSubstitutionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdSubstn
Deprecated.Description copied from interface:ProductSubstitutionServiceFetch multipleProdSubstnentities.- Specified by:
getAllProdSubstnin interfaceProductSubstitutionService- 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.Description copied from interface:ProductSubstitutionServiceFetch the number of entries from theProdSubstnentity collection matching the filter and search expressions.- Specified by:
countProdSubstnin interfaceProductSubstitutionService- 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.Description copied from interface:ProductSubstitutionServiceFetch a singleProdSubstnentity using key fields.- Specified by:
getProdSubstnByKeyin interfaceProductSubstitutionService- 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.Description copied from interface:ProductSubstitutionServiceCreate a newProdSubstnentity and save it to the S/4HANA system.- Specified by:
createProdSubstnin interfaceProductSubstitutionService- 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.Description copied from interface:ProductSubstitutionServiceUpdate an existingProdSubstnentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnin interfaceProductSubstitutionService- 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.Description copied from interface:ProductSubstitutionServiceDeletes an existingProdSubstnentity in the S/4HANA system.- Specified by:
deleteProdSubstnin interfaceProductSubstitutionService- 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-