@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultMaterialPlanningDataService") public class DefaultMaterialPlanningDataService extends Object implements MaterialPlanningDataService
This service enables you to read planning data for materials in Material Requirements Planning (MRP). This includes material master data as well as supply and demand information for a certain period of time.
Reference: SAP API Business Hub
OData Service: | API_MRP_MATERIALS_SRV_01 |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Material Requirements Planning (J44) |
Constructor and Description |
---|
DefaultMaterialPlanningDataService() |
Modifier and Type | Method and Description |
---|---|
MRPMaterialFluentHelper |
getAllMRPMaterial()
Fetch multiple
MRPMaterial entities. |
SupplyDemandItemFluentHelper |
getAllSupplyDemandItem()
Fetch multiple
SupplyDemandItem entities. |
MRPMaterialByKeyFluentHelper |
getMRPMaterialByKey(String material,
String mRPPlant,
String mRPArea)
Fetch a single
MRPMaterial entity using key fields. |
SupplyDemandItemByKeyFluentHelper |
getSupplyDemandItemByKey(String material,
String mRPArea,
String mRPPlant,
String mRPPlanningSegment,
String mRPPlanningSegmentType)
Fetch a single
SupplyDemandItem entity using key fields. |
public SupplyDemandItemFluentHelper getAllSupplyDemandItem()
MaterialPlanningDataService
SupplyDemandItem
entities.getAllSupplyDemandItem
in interface MaterialPlanningDataService
SupplyDemandItem
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 SupplyDemandItemByKeyFluentHelper getSupplyDemandItemByKey(String material, String mRPArea, String mRPPlant, String mRPPlanningSegment, String mRPPlanningSegmentType)
MaterialPlanningDataService
SupplyDemandItem
entity using key fields.getSupplyDemandItemByKey
in interface MaterialPlanningDataService
SupplyDemandItem
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 MRPMaterialFluentHelper getAllMRPMaterial()
MaterialPlanningDataService
MRPMaterial
entities.getAllMRPMaterial
in interface MaterialPlanningDataService
MRPMaterial
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 MRPMaterialByKeyFluentHelper getMRPMaterialByKey(String material, String mRPPlant, String mRPArea)
MaterialPlanningDataService
MRPMaterial
entity using key fields.getMRPMaterialByKey
in interface MaterialPlanningDataService
material
- Alphanumeric key uniquely identifying the material.Constraints: Not nullable, Maximum length: 40
mRPPlant
- 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
MRPMaterial
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.Copyright © 2018 SAP SE. All rights reserved.