Class DefaultPlantSubstitutionControlService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PlantSubstitutionControlService
This service enables you to create control and control descriptions. Additionally, plant substitution groups can be assigned to a Plant Substitution Control.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PLANTSUBSTITUTIONCONTROL_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Master Data - Location Substitution Integration(SAP_COM_0780) |
| Scope Items: | Advanced Available-to-Promise Processing(1JW) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PLANTSUBSTNCTRL |
| Business Object: | Plant Substitution Control |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PlantSubstitutionControlService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlantSubstitutionControlService.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 thePlantSubstnCtrlentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePlantSubstnCtrlGrpentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePlantSubstnCtrlTxtentity collection matching the filter and search expressions.createPlantSubstnCtrl(PlantSubstnCtrl plantSubstnCtrl) Deprecated.Create a newPlantSubstnCtrlentity and save it to the S/4HANA system.deletePlantSubstnCtrl(PlantSubstnCtrl plantSubstnCtrl) Deprecated.Deletes an existingPlantSubstnCtrlentity in the S/4HANA system.deletePlantSubstnCtrlGrp(PlantSubstnCtrlGrp plantSubstnCtrlGrp) Deprecated.Deletes an existingPlantSubstnCtrlGrpentity in the S/4HANA system.deletePlantSubstnCtrlText(PlantSubstnCtrlTxt plantSubstnCtrlTxt) Deprecated.Deletes an existingPlantSubstnCtrlTxtentity in the S/4HANA system.Deprecated.Fetch multiplePlantSubstnCtrlentities.Deprecated.Fetch multiplePlantSubstnCtrlGrpentities.Deprecated.Fetch multiplePlantSubstnCtrlTxtentities.getPlantSubstnCtrlByKey(String mDSubstnObjectType, String mDSubstnControl) Deprecated.Fetch a singlePlantSubstnCtrlentity using key fields.getPlantSubstnCtrlGrpByKey(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup) Deprecated.Fetch a singlePlantSubstnCtrlGrpentity using key fields.getPlantSubstnCtrlTextByKey(String language, String mDSubstnObjectType, String mDSubstnControl) Deprecated.Fetch a singlePlantSubstnCtrlTxtentity using key fields.Deprecated.updatePlantSubstnCtrl(PlantSubstnCtrl plantSubstnCtrl) Deprecated.Update an existingPlantSubstnCtrlentity and save it to the S/4HANA system.updatePlantSubstnCtrlText(PlantSubstnCtrlTxt plantSubstnCtrlTxt) Deprecated.Update an existingPlantSubstnCtrlTxtentity 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
-
DefaultPlantSubstitutionControlService
public DefaultPlantSubstitutionControlService()Deprecated.Creates a service usingPlantSubstitutionControlService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PlantSubstitutionControlServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePlantSubstitutionControlService- 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:PlantSubstitutionControlServiceCreates a batch request builder object.- Specified by:
batchin interfacePlantSubstitutionControlService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPlantSubstnCtrl
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch multiplePlantSubstnCtrlentities.- Specified by:
getAllPlantSubstnCtrlin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch multiple
PlantSubstnCtrlentities. 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.
-
countPlantSubstnCtrl
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch the number of entries from thePlantSubstnCtrlentity collection matching the filter and search expressions.- Specified by:
countPlantSubstnCtrlin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch the count of
PlantSubstnCtrlentities. 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.
-
getPlantSubstnCtrlByKey
@Nonnull public GetByKeyRequestBuilder<PlantSubstnCtrl> getPlantSubstnCtrlByKey(String mDSubstnObjectType, String mDSubstnControl) Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch a singlePlantSubstnCtrlentity using key fields.- Specified by:
getPlantSubstnCtrlByKeyin interfacePlantSubstitutionControlService- 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
PlantSubstnCtrlentity 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.
-
createPlantSubstnCtrl
@Nonnull public CreateRequestBuilder<PlantSubstnCtrl> createPlantSubstnCtrl(@Nonnull PlantSubstnCtrl plantSubstnCtrl) Deprecated.Description copied from interface:PlantSubstitutionControlServiceCreate a newPlantSubstnCtrlentity and save it to the S/4HANA system.- Specified by:
createPlantSubstnCtrlin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrl-PlantSubstnCtrlentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PlantSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePlantSubstnCtrl
@Nonnull public UpdateRequestBuilder<PlantSubstnCtrl> updatePlantSubstnCtrl(@Nonnull PlantSubstnCtrl plantSubstnCtrl) Deprecated.Description copied from interface:PlantSubstitutionControlServiceUpdate an existingPlantSubstnCtrlentity and save it to the S/4HANA system.- Specified by:
updatePlantSubstnCtrlin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrl-PlantSubstnCtrlentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PlantSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlantSubstnCtrl
@Nonnull public DeleteRequestBuilder<PlantSubstnCtrl> deletePlantSubstnCtrl(@Nonnull PlantSubstnCtrl plantSubstnCtrl) Deprecated.Description copied from interface:PlantSubstitutionControlServiceDeletes an existingPlantSubstnCtrlentity in the S/4HANA system.- Specified by:
deletePlantSubstnCtrlin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrl-PlantSubstnCtrlentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlantSubstnCtrlentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPlantSubstnCtrlGrp
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch multiplePlantSubstnCtrlGrpentities.- Specified by:
getAllPlantSubstnCtrlGrpin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch multiple
PlantSubstnCtrlGrpentities. 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.
-
countPlantSubstnCtrlGrp
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch the number of entries from thePlantSubstnCtrlGrpentity collection matching the filter and search expressions.- Specified by:
countPlantSubstnCtrlGrpin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch the count of
PlantSubstnCtrlGrpentities. 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.
-
getPlantSubstnCtrlGrpByKey
@Nonnull public GetByKeyRequestBuilder<PlantSubstnCtrlGrp> getPlantSubstnCtrlGrpByKey(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup) Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch a singlePlantSubstnCtrlGrpentity using key fields.- Specified by:
getPlantSubstnCtrlGrpByKeyin interfacePlantSubstitutionControlService- 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
PlantSubstnCtrlGrpentity 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.
-
deletePlantSubstnCtrlGrp
@Nonnull public DeleteRequestBuilder<PlantSubstnCtrlGrp> deletePlantSubstnCtrlGrp(@Nonnull PlantSubstnCtrlGrp plantSubstnCtrlGrp) Deprecated.Description copied from interface:PlantSubstitutionControlServiceDeletes an existingPlantSubstnCtrlGrpentity in the S/4HANA system.- Specified by:
deletePlantSubstnCtrlGrpin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrlGrp-PlantSubstnCtrlGrpentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlantSubstnCtrlGrpentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPlantSubstnCtrlText
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch multiplePlantSubstnCtrlTxtentities.- Specified by:
getAllPlantSubstnCtrlTextin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch multiple
PlantSubstnCtrlTxtentities. 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.
-
countPlantSubstnCtrlText
Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch the number of entries from thePlantSubstnCtrlTxtentity collection matching the filter and search expressions.- Specified by:
countPlantSubstnCtrlTextin interfacePlantSubstitutionControlService- Returns:
- A request builder to fetch the count of
PlantSubstnCtrlTxtentities. 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.
-
getPlantSubstnCtrlTextByKey
@Nonnull public GetByKeyRequestBuilder<PlantSubstnCtrlTxt> getPlantSubstnCtrlTextByKey(String language, String mDSubstnObjectType, String mDSubstnControl) Deprecated.Description copied from interface:PlantSubstitutionControlServiceFetch a singlePlantSubstnCtrlTxtentity using key fields.- Specified by:
getPlantSubstnCtrlTextByKeyin interfacePlantSubstitutionControlService- 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
PlantSubstnCtrlTxtentity 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.
-
updatePlantSubstnCtrlText
@Nonnull public UpdateRequestBuilder<PlantSubstnCtrlTxt> updatePlantSubstnCtrlText(@Nonnull PlantSubstnCtrlTxt plantSubstnCtrlTxt) Deprecated.Description copied from interface:PlantSubstitutionControlServiceUpdate an existingPlantSubstnCtrlTxtentity and save it to the S/4HANA system.- Specified by:
updatePlantSubstnCtrlTextin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrlTxt-PlantSubstnCtrlTxtentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PlantSubstnCtrlTxtentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlantSubstnCtrlText
@Nonnull public DeleteRequestBuilder<PlantSubstnCtrlTxt> deletePlantSubstnCtrlText(@Nonnull PlantSubstnCtrlTxt plantSubstnCtrlTxt) Deprecated.Description copied from interface:PlantSubstitutionControlServiceDeletes an existingPlantSubstnCtrlTxtentity in the S/4HANA system.- Specified by:
deletePlantSubstnCtrlTextin interfacePlantSubstitutionControlService- Parameters:
plantSubstnCtrlTxt-PlantSubstnCtrlTxtentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlantSubstnCtrlTxtentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-