@Named public class DefaultReadAndUpdatePirsService extends Object implements ReadAndUpdatePirsService
This service enables you to create, read and update Planned Independent Requirements (PIRs).
Reference: SAP API Business Hub
OData Service: | API_FORECAST_DEMAND_SRV |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Material Requirements Planning (J44) |
Constructor and Description |
---|
DefaultReadAndUpdatePirsService() |
Modifier and Type | Method and Description |
---|---|
MaintainYearsPeriodFluentHelper |
getAllMaintainYearsPeriod()
Fetch multiple
MaintainYearsPeriod entities. |
MaintainYearsPeriodByKeyFluentHelper |
getMaintainYearsPeriodByKey(String material,
String plant,
String mRPArea,
String requirementsType,
String forecastDemandVersion,
Calendar forecastPeriodStartDate)
Fetch a single
MaintainYearsPeriod entity using key fields. |
MaintainYearsPeriodUpdateFluentHelper |
updateMaintainYearsPeriod(MaintainYearsPeriod maintainYearsPeriod)
Update an existing
MaintainYearsPeriod entity and save it to the S/4HANA system. |
public MaintainYearsPeriodFluentHelper getAllMaintainYearsPeriod()
ReadAndUpdatePirsService
MaintainYearsPeriod
entities.getAllMaintainYearsPeriod
in interface ReadAndUpdatePirsService
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.public MaintainYearsPeriodByKeyFluentHelper getMaintainYearsPeriodByKey(String material, String plant, String mRPArea, String requirementsType, String forecastDemandVersion, Calendar forecastPeriodStartDate)
ReadAndUpdatePirsService
MaintainYearsPeriod
entity using key fields.getMaintainYearsPeriodByKey
in interface ReadAndUpdatePirsService
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
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.public MaintainYearsPeriodUpdateFluentHelper updateMaintainYearsPeriod(MaintainYearsPeriod maintainYearsPeriod)
ReadAndUpdatePirsService
MaintainYearsPeriod
entity and save it to the S/4HANA system.updateMaintainYearsPeriod
in interface ReadAndUpdatePirsService
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 © 2017 SAP SE. All rights reserved.