@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedIndependentRequirementService") @Deprecated public class DefaultPlannedIndependentRequirementService extends Object implements PlannedIndependentRequirementService
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 API Business Hub
OData Service: | API_FORECAST_DEMAND_SRV |
API Version: | 1 |
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) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | PlannedIndependentRequirement |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPlannedIndependentRequirementService()
Deprecated.
Creates a service using
PlannedIndependentRequirementService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultPlannedIndependentRequirementServiceBatch |
batch()
Deprecated.
Instantiate a new FluentHelper instance for a single OData batch request.
|
MaintainYearsPeriodFluentHelper |
getAllMaintainYearsPeriod()
Deprecated.
Fetch multiple
MaintainYearsPeriod entities. |
MaintainYearsPeriodByKeyFluentHelper |
getMaintainYearsPeriodByKey(String material,
String plant,
String mRPArea,
String requirementsType,
String forecastDemandVersion,
LocalDateTime forecastPeriodStartDate)
Deprecated.
Fetch a single
MaintainYearsPeriod entity using key fields. |
MaintainYearsPeriodUpdateFluentHelper |
updateMaintainYearsPeriod(MaintainYearsPeriod maintainYearsPeriod)
Deprecated.
Update an existing
MaintainYearsPeriod entity and save it to the S/4HANA system. |
DefaultPlannedIndependentRequirementService |
withServicePath(String servicePath)
Deprecated.
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultPlannedIndependentRequirementService()
PlannedIndependentRequirementService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPlannedIndependentRequirementService withServicePath(@Nonnull String servicePath)
PlannedIndependentRequirementService
withServicePath
in interface PlannedIndependentRequirementService
servicePath
- Service path that will override the default.@Nonnull public DefaultPlannedIndependentRequirementServiceBatch batch()
batch
in interface BatchService<PlannedIndependentRequirementServiceBatch>
@Nonnull public MaintainYearsPeriodFluentHelper getAllMaintainYearsPeriod()
PlannedIndependentRequirementService
MaintainYearsPeriod
entities.getAllMaintainYearsPeriod
in interface PlannedIndependentRequirementService
MaintainYearsPeriod
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MaintainYearsPeriodByKeyFluentHelper getMaintainYearsPeriodByKey(String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, LocalDateTime forecastPeriodStartDate)
PlannedIndependentRequirementService
MaintainYearsPeriod
entity using key fields.getMaintainYearsPeriodByKey
in interface PlannedIndependentRequirementService
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.
Constraints: Not nullable, Maximum length: 10
requirementsType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
forecastDemandVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
forecastPeriodStartDate
- Period Start Date
Constraints: Not nullable, Precision: 7
MaintainYearsPeriod
entity 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 the
execute
method on the fluent helper object.@Nonnull public MaintainYearsPeriodUpdateFluentHelper updateMaintainYearsPeriod(@Nonnull MaintainYearsPeriod maintainYearsPeriod)
PlannedIndependentRequirementService
MaintainYearsPeriod
entity and save it to the S/4HANA system.updateMaintainYearsPeriod
in interface PlannedIndependentRequirementService
maintainYearsPeriod
- MaintainYearsPeriod
entity object that will be updated in the S/4HANA system.MaintainYearsPeriod
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.