Class DefaultProductSubstitutionV2Service
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionV2Service
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductSubstitutionV2Service
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductSubstitutionV2Service")
@Deprecated
public class DefaultProductSubstitutionV2Service
extends Object
implements ServiceWithNavigableEntities, ProductSubstitutionV2Service
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductSubstitutionV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductSubstitutionV2Service.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 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.Deprecated.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.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
-
DefaultProductSubstitutionV2Service
public DefaultProductSubstitutionV2Service()Deprecated.Creates a service usingProductSubstitutionV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductSubstitutionV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductSubstitutionV2Service- 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:ProductSubstitutionV2ServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductSubstitutionV2Service- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductSubstitution
Deprecated.Description copied from interface:ProductSubstitutionV2ServiceFetch multipleProductSubstitutionentities.- Specified by:
getAllProductSubstitutionin interfaceProductSubstitutionV2Service- 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.Description copied from interface:ProductSubstitutionV2ServiceFetch the number of entries from theProductSubstitutionentity collection matching the filter and search expressions.- Specified by:
countProductSubstitutionin interfaceProductSubstitutionV2Service- 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
@Nonnull public GetByKeyRequestBuilder<ProductSubstitution> getProductSubstitutionByKey(UUID mDSubstnUUID) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceFetch a singleProductSubstitutionentity using key fields.- Specified by:
getProductSubstitutionByKeyin interfaceProductSubstitutionV2Service- 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 public CreateRequestBuilder<ProductSubstitution> createProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceCreate a newProductSubstitutionentity and save it to the S/4HANA system.- Specified by:
createProductSubstitutionin interfaceProductSubstitutionV2Service- 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 public UpdateRequestBuilder<ProductSubstitution> updateProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceUpdate an existingProductSubstitutionentity and save it to the S/4HANA system.- Specified by:
updateProductSubstitutionin interfaceProductSubstitutionV2Service- 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 public DeleteRequestBuilder<ProductSubstitution> deleteProductSubstitution(@Nonnull ProductSubstitution productSubstitution) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceDeletes an existingProductSubstitutionentity in the S/4HANA system.- Specified by:
deleteProductSubstitutionin interfaceProductSubstitutionV2Service- 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.Description copied from interface:ProductSubstitutionV2ServiceFetch multipleProdSubstnPredecessorentities.- Specified by:
getAllProductSubstitutionPredecessorin interfaceProductSubstitutionV2Service- 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.Description copied from interface:ProductSubstitutionV2ServiceFetch the number of entries from theProdSubstnPredecessorentity collection matching the filter and search expressions.- Specified by:
countProductSubstitutionPredecessorin interfaceProductSubstitutionV2Service- 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 public GetByKeyRequestBuilder<ProdSubstnPredecessor> getProductSubstitutionPredecessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceFetch a singleProdSubstnPredecessorentity using key fields.- Specified by:
getProductSubstitutionPredecessorByKeyin interfaceProductSubstitutionV2Service- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
mDSubstnMasterUUID- Parent 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.Description copied from interface:ProductSubstitutionV2ServiceFetch multipleProdSubstnSuccessorentities.- Specified by:
getAllProductSubstitutionSuccessorin interfaceProductSubstitutionV2Service- 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.Description copied from interface:ProductSubstitutionV2ServiceFetch the number of entries from theProdSubstnSuccessorentity collection matching the filter and search expressions.- Specified by:
countProductSubstitutionSuccessorin interfaceProductSubstitutionV2Service- 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 public GetByKeyRequestBuilder<ProdSubstnSuccessor> getProductSubstitutionSuccessorByKey(UUID mDSubstnUUID, UUID mDSubstnMasterUUID) Deprecated.Description copied from interface:ProductSubstitutionV2ServiceFetch a singleProdSubstnSuccessorentity using key fields.- Specified by:
getProductSubstitutionSuccessorByKeyin interfaceProductSubstitutionV2Service- Parameters:
mDSubstnUUID- Substitution UUIDConstraints: Not nullable
mDSubstnMasterUUID- Parent 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-