Class DefaultPlannedIndependentRequirementService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedIndependentRequirementService
- All Implemented Interfaces:
BatchService<PlannedIndependentRequirementServiceBatch>,PlannedIndependentRequirementService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedIndependentRequirementService")
@Deprecated
public class DefaultPlannedIndependentRequirementService
extends Object
implements PlannedIndependentRequirementService
Deprecated.
The service and all its related classes are deprecated as of release 2002 (Feb 2020). Please use the
odata generator to generate the VDM.
This API has been deprecated and won't be available as of SAP S/4HANA Cloud 2102. We recommend that you use the following API: https://api.sap.com/shell/discover/contentpackage/SAPS4HANACloud/api/API_PLND_INDEP_RQMT_SRV .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_FORECAST_DEMAND_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Production Planning Integration(SAP_COM_0104) |
| Scope Items: | Make-to-Stock Production - Discrete Manufacturing(BJ5), Make-to-Stock - Process Manufacturing Based on Process Order(BJ8), Material Requirements Planning(J44), Material Requirements Planning(O44) |
| Business Object: | Planned Independent Requirement |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PlannedIndependentRequirementService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlannedIndependentRequirementService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleMaintainYearsPeriodentities.getMaintainYearsPeriodByKey(String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, LocalDateTime forecastPeriodStartDate) Deprecated.Fetch a singleMaintainYearsPeriodentity using key fields.updateMaintainYearsPeriod(MaintainYearsPeriod maintainYearsPeriod) Deprecated.Update an existingMaintainYearsPeriodentity 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.
-
Constructor Details
-
DefaultPlannedIndependentRequirementService
public DefaultPlannedIndependentRequirementService()Deprecated.Creates a service usingPlannedIndependentRequirementService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultPlannedIndependentRequirementService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:PlannedIndependentRequirementServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePlannedIndependentRequirementService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PlannedIndependentRequirementServiceBatch>
-
getAllMaintainYearsPeriod
Deprecated.Description copied from interface:PlannedIndependentRequirementServiceFetch multipleMaintainYearsPeriodentities.- Specified by:
getAllMaintainYearsPeriodin interfacePlannedIndependentRequirementService- Returns:
- A fluent helper to fetch multiple
MaintainYearsPeriodentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintainYearsPeriodByKey
@Nonnull public MaintainYearsPeriodByKeyFluentHelper getMaintainYearsPeriodByKey(String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, LocalDateTime forecastPeriodStartDate) Deprecated.Description copied from interface:PlannedIndependentRequirementServiceFetch a singleMaintainYearsPeriodentity using key fields.- Specified by:
getMaintainYearsPeriodByKeyin interfacePlannedIndependentRequirementService- Parameters:
material- MaterialConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
requirementsType- Requirements TypeConstraints: Not nullable, Maximum length: 4
forecastDemandVersion- Forecast Demand VersionConstraints: Not nullable, Maximum length: 2
forecastPeriodStartDate- Forecast Period Start DateConstraints: Not nullable, Precision: 7
- Returns:
- A fluent helper to fetch a single
MaintainYearsPeriodentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
updateMaintainYearsPeriod
@Nonnull public MaintainYearsPeriodUpdateFluentHelper updateMaintainYearsPeriod(@Nonnull MaintainYearsPeriod maintainYearsPeriod) Deprecated.Description copied from interface:PlannedIndependentRequirementServiceUpdate an existingMaintainYearsPeriodentity and save it to the S/4HANA system.- Specified by:
updateMaintainYearsPeriodin interfacePlannedIndependentRequirementService- Parameters:
maintainYearsPeriod-MaintainYearsPeriodentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintainYearsPeriodentity. To perform execution, call theexecutemethod on the fluent helper object.
-