Class DefaultProductionVersionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductionVersionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ProductionVersionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultProductionVersionService")
@Deprecated
public class DefaultProductionVersionService
extends Object
implements ServiceWithNavigableEntities, ProductionVersionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service is based on OData V4 protocol and can be consumed in Fiori apps and on other user interfaces. It enables you to create, read and update Production Versions. The service contains the Production Version header..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_PRODUCTIONVERSION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Production Planning Master Data Integration(SAP_COM_0519) |
| Scope Items: | Third-Party Shop Floor Execution - Process Industry(3W3), Third-Party Shop Floor Execution - Discrete Industry(3W4) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PRODUCTION_VERSION |
| Business Object: | Production Version |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ProductionVersionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductionVersionService.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 theProdnVersentity collection matching the filter and search expressions.createProductionVersion(ProdnVers prodnVers) Deprecated.Create a newProdnVersentity and save it to the S/4HANA system.Deprecated.Fetch multipleProdnVersentities.getProductionVersionByKey(String material, String plant, String productionVersion) Deprecated.Fetch a singleProdnVersentity using key fields.Deprecated.updateProductionVersion(ProdnVers prodnVers) Deprecated.Update an existingProdnVersentity 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
-
DefaultProductionVersionService
public DefaultProductionVersionService()Deprecated.Creates a service usingProductionVersionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductionVersionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductionVersionService- 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:ProductionVersionServiceCreates a batch request builder object.- Specified by:
batchin interfaceProductionVersionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProductionVersion
Deprecated.Description copied from interface:ProductionVersionServiceFetch multipleProdnVersentities.- Specified by:
getAllProductionVersionin interfaceProductionVersionService- Returns:
- A request builder to fetch multiple
ProdnVersentities. 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.
-
countProductionVersion
Deprecated.Description copied from interface:ProductionVersionServiceFetch the number of entries from theProdnVersentity collection matching the filter and search expressions.- Specified by:
countProductionVersionin interfaceProductionVersionService- Returns:
- A request builder to fetch the count of
ProdnVersentities. 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.
-
getProductionVersionByKey
@Nonnull public GetByKeyRequestBuilder<ProdnVers> getProductionVersionByKey(String material, String plant, String productionVersion) Deprecated.Description copied from interface:ProductionVersionServiceFetch a singleProdnVersentity using key fields.- Specified by:
getProductionVersionByKeyin interfaceProductionVersionService- Parameters:
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
productionVersion- Production VersionConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
ProdnVersentity 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.
-
createProductionVersion
@Nonnull public CreateRequestBuilder<ProdnVers> createProductionVersion(@Nonnull ProdnVers prodnVers) Deprecated.Description copied from interface:ProductionVersionServiceCreate a newProdnVersentity and save it to the S/4HANA system.- Specified by:
createProductionVersionin interfaceProductionVersionService- Parameters:
prodnVers-ProdnVersentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdnVersentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProductionVersion
@Nonnull public UpdateRequestBuilder<ProdnVers> updateProductionVersion(@Nonnull ProdnVers prodnVers) Deprecated.Description copied from interface:ProductionVersionServiceUpdate an existingProdnVersentity and save it to the S/4HANA system.- Specified by:
updateProductionVersionin interfaceProductionVersionService- Parameters:
prodnVers-ProdnVersentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdnVersentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-