Class DefaultProductSubstitutionControlService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductSubstitutionControlService
This service enables you to create control and control descriptions. Additionally, product substitution groups can be assigned to a Product Substitution Control.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODUCTSUBSTITUTIONCTRL_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Product Substitution Control Integration(SAP_COM_0779) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODSUBSTNCTRL |
| Business Object: | Product Substitution Control |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductSubstitutionControlService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductSubstitutionControlService.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 theProdSubstnCtrlentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdsubstnctrl_2entity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theProdsubstngrptxtctrlentity collection matching the filter and search expressions.createProdSubstnCtrl(ProdSubstnCtrl prodSubstnCtrl) Deprecated.Create a newProdSubstnCtrlentity and save it to the S/4HANA system.deleteProdSubstnCtrl(ProdSubstnCtrl prodSubstnCtrl) Deprecated.Deletes an existingProdSubstnCtrlentity in the S/4HANA system.deleteProdSubstnCtrlGrp(Prodsubstnctrl_2 prodsubstnctrl_2) Deprecated.Deletes an existingProdsubstnctrl_2entity in the S/4HANA system.deleteProdSubstnCtrlText(Prodsubstngrptxtctrl prodsubstngrptxtctrl) Deprecated.Deletes an existingProdsubstngrptxtctrlentity in the S/4HANA system.Deprecated.Fetch multipleProdSubstnCtrlentities.Deprecated.Fetch multipleProdsubstnctrl_2entities.Deprecated.Fetch multipleProdsubstngrptxtctrlentities.getProdSubstnCtrlByKey(String mDSubstnObjectType, String mDSubstnControl) Deprecated.Fetch a singleProdSubstnCtrlentity using key fields.getProdSubstnCtrlGrpByKey(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup) Deprecated.Fetch a singleProdsubstnctrl_2entity using key fields.getProdSubstnCtrlTextByKey(String language, String mDSubstnObjectType, String mDSubstnControl) Deprecated.Fetch a singleProdsubstngrptxtctrlentity using key fields.Deprecated.updateProdSubstnCtrl(ProdSubstnCtrl prodSubstnCtrl) Deprecated.Update an existingProdSubstnCtrlentity and save it to the S/4HANA system.updateProdSubstnCtrlText(Prodsubstngrptxtctrl prodsubstngrptxtctrl) Deprecated.Update an existingProdsubstngrptxtctrlentity 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
-
DefaultProductSubstitutionControlService
public DefaultProductSubstitutionControlService()Deprecated.Creates a service usingProductSubstitutionControlService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultProductSubstitutionControlService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ProductSubstitutionControlServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductSubstitutionControlService- 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:ProductSubstitutionControlServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductSubstitutionControlService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdSubstnCtrl
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch multipleProdSubstnCtrlentities.- Specified by:
getAllProdSubstnCtrlin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch multiple
ProdSubstnCtrlentities. 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.
-
countProdSubstnCtrl
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch the number of entries from theProdSubstnCtrlentity collection matching the filter and search expressions.- Specified by:
countProdSubstnCtrlin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch the count of
ProdSubstnCtrlentities. 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.
-
getProdSubstnCtrlByKey
@Nonnull public GetByKeyRequestBuilder<ProdSubstnCtrl> getProdSubstnCtrlByKey(String mDSubstnObjectType, String mDSubstnControl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch a singleProdSubstnCtrlentity using key fields.- Specified by:
getProdSubstnCtrlByKeyin interfaceProductSubstitutionControlService- Parameters:
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnControl- Substitution ControlConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
ProdSubstnCtrlentity 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.
-
createProdSubstnCtrl
@Nonnull public CreateRequestBuilder<ProdSubstnCtrl> createProdSubstnCtrl(@Nonnull ProdSubstnCtrl prodSubstnCtrl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceCreate a newProdSubstnCtrlentity and save it to the S/4HANA system.- Specified by:
createProdSubstnCtrlin interfaceProductSubstitutionControlService- Parameters:
prodSubstnCtrl-ProdSubstnCtrlentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdSubstnCtrl
@Nonnull public UpdateRequestBuilder<ProdSubstnCtrl> updateProdSubstnCtrl(@Nonnull ProdSubstnCtrl prodSubstnCtrl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceUpdate an existingProdSubstnCtrlentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnCtrlin interfaceProductSubstitutionControlService- Parameters:
prodSubstnCtrl-ProdSubstnCtrlentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnCtrl
@Nonnull public DeleteRequestBuilder<ProdSubstnCtrl> deleteProdSubstnCtrl(@Nonnull ProdSubstnCtrl prodSubstnCtrl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceDeletes an existingProdSubstnCtrlentity in the S/4HANA system.- Specified by:
deleteProdSubstnCtrlin interfaceProductSubstitutionControlService- Parameters:
prodSubstnCtrl-ProdSubstnCtrlentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ProdSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdSubstnCtrlGrp
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch multipleProdsubstnctrl_2entities.- Specified by:
getAllProdSubstnCtrlGrpin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch multiple
Prodsubstnctrl_2entities. 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.
-
countProdSubstnCtrlGrp
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch the number of entries from theProdsubstnctrl_2entity collection matching the filter and search expressions.- Specified by:
countProdSubstnCtrlGrpin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch the count of
Prodsubstnctrl_2entities. 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.
-
getProdSubstnCtrlGrpByKey
@Nonnull public GetByKeyRequestBuilder<Prodsubstnctrl_2> getProdSubstnCtrlGrpByKey(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup) Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch a singleProdsubstnctrl_2entity using key fields.- Specified by:
getProdSubstnCtrlGrpByKeyin interfaceProductSubstitutionControlService- Parameters:
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnControl- Substitution ControlConstraints: Not nullable, Maximum length: 20
mDSubstnGroup- Group NameConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
Prodsubstnctrl_2entity 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.
-
deleteProdSubstnCtrlGrp
@Nonnull public DeleteRequestBuilder<Prodsubstnctrl_2> deleteProdSubstnCtrlGrp(@Nonnull Prodsubstnctrl_2 prodsubstnctrl_2) Deprecated.Description copied from interface:ProductSubstitutionControlServiceDeletes an existingProdsubstnctrl_2entity in the S/4HANA system.- Specified by:
deleteProdSubstnCtrlGrpin interfaceProductSubstitutionControlService- Parameters:
prodsubstnctrl_2-Prodsubstnctrl_2entity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
Prodsubstnctrl_2entity. To perform execution, call theexecutemethod on the request builder object.
-
getAllProdSubstnCtrlText
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch multipleProdsubstngrptxtctrlentities.- Specified by:
getAllProdSubstnCtrlTextin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch multiple
Prodsubstngrptxtctrlentities. 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.
-
countProdSubstnCtrlText
Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch the number of entries from theProdsubstngrptxtctrlentity collection matching the filter and search expressions.- Specified by:
countProdSubstnCtrlTextin interfaceProductSubstitutionControlService- Returns:
- A request builder to fetch the count of
Prodsubstngrptxtctrlentities. 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.
-
getProdSubstnCtrlTextByKey
@Nonnull public GetByKeyRequestBuilder<Prodsubstngrptxtctrl> getProdSubstnCtrlTextByKey(String language, String mDSubstnObjectType, String mDSubstnControl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceFetch a singleProdsubstngrptxtctrlentity using key fields.- Specified by:
getProdSubstnCtrlTextByKeyin interfaceProductSubstitutionControlService- Parameters:
language- LanguageConstraints: Not nullable, Maximum length: 2
mDSubstnObjectType- SAP Object TypeConstraints: Not nullable, Maximum length: 30
mDSubstnControl- Substitution ControlConstraints: Not nullable, Maximum length: 20
- Returns:
- A request builder to fetch a single
Prodsubstngrptxtctrlentity 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.
-
updateProdSubstnCtrlText
@Nonnull public UpdateRequestBuilder<Prodsubstngrptxtctrl> updateProdSubstnCtrlText(@Nonnull Prodsubstngrptxtctrl prodsubstngrptxtctrl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceUpdate an existingProdsubstngrptxtctrlentity and save it to the S/4HANA system.- Specified by:
updateProdSubstnCtrlTextin interfaceProductSubstitutionControlService- Parameters:
prodsubstngrptxtctrl-Prodsubstngrptxtctrlentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
Prodsubstngrptxtctrlentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteProdSubstnCtrlText
@Nonnull public DeleteRequestBuilder<Prodsubstngrptxtctrl> deleteProdSubstnCtrlText(@Nonnull Prodsubstngrptxtctrl prodsubstngrptxtctrl) Deprecated.Description copied from interface:ProductSubstitutionControlServiceDeletes an existingProdsubstngrptxtctrlentity in the S/4HANA system.- Specified by:
deleteProdSubstnCtrlTextin interfaceProductSubstitutionControlService- Parameters:
prodsubstngrptxtctrl-Prodsubstngrptxtctrlentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
Prodsubstngrptxtctrlentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-