public interface ExtendedPlannedIndependentRequirementService extends BatchService<ExtendedPlannedIndependentRequirementServiceBatch>
Use this API if you want to work with the Change PIRs app and not the Manage PIRs app. If you work with the Manage PIRs app, however, you are recommended to use the following API: https://api.sap.com/shell/discover/contentpackage/SAPS4HANACloud/api/API_FORECAST_DEMAND_SRV.
Reference: SAP API Business Hub
OData Service: | API_PLND_INDEP_RQMT_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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
PlannedIndepRqmtCreateFluentHelper |
createPlannedIndepRqmt(PlannedIndepRqmt plannedIndepRqmt)
Create a new
PlannedIndepRqmt entity and save it to the S/4HANA system. |
PlannedIndepRqmtItemCreateFluentHelper |
createPlannedIndepRqmtItem(PlannedIndepRqmtItem plannedIndepRqmtItem)
Create a new
PlannedIndepRqmtItem entity and save it to the S/4HANA system. |
PlannedIndepRqmtFluentHelper |
getAllPlannedIndepRqmt()
Fetch multiple
PlannedIndepRqmt entities. |
PlannedIndepRqmtItemFluentHelper |
getAllPlannedIndepRqmtItem()
Fetch multiple
PlannedIndepRqmtItem entities. |
PlannedIndepRqmtByKeyFluentHelper |
getPlannedIndepRqmtByKey(String product,
String plant,
String mRPArea,
String plndIndepRqmtType,
String plndIndepRqmtVersion,
String requirementPlan,
String requirementSegment)
Fetch a single
PlannedIndepRqmt entity using key fields. |
PlannedIndepRqmtItemByKeyFluentHelper |
getPlannedIndepRqmtItemByKey(String product,
String plant,
String mRPArea,
String plndIndepRqmtType,
String plndIndepRqmtVersion,
String requirementPlan,
String requirementSegment,
String plndIndepRqmtPeriod,
String periodType)
Fetch a single
PlannedIndepRqmtItem entity using key fields. |
PlannedIndepRqmtUpdateFluentHelper |
updatePlannedIndepRqmt(PlannedIndepRqmt plannedIndepRqmt)
Update an existing
PlannedIndepRqmt entity and save it to the S/4HANA system. |
PlannedIndepRqmtItemUpdateFluentHelper |
updatePlannedIndepRqmtItem(PlannedIndepRqmtItem plannedIndepRqmtItem)
Update an existing
PlannedIndepRqmtItem entity and save it to the S/4HANA system. |
ExtendedPlannedIndependentRequirementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ExtendedPlannedIndependentRequirementService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull PlannedIndepRqmtFluentHelper getAllPlannedIndepRqmt()
PlannedIndepRqmt
entities.PlannedIndepRqmt
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 PlannedIndepRqmtByKeyFluentHelper getPlannedIndepRqmtByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment)
PlannedIndepRqmt
entity using key fields.plndIndepRqmtVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
product
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.
Constraints: Not nullable, Maximum length: 10
requirementSegment
- Indicates additional information about the type of requirement. You can freely define which
requirement segments are satisfied by which stock segments using segmentation strategies in the
transaction Segmentation Strategy Maintenance .
Constraints: Not nullable, Maximum length: 40
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
requirementPlan
- Key which can be given to create and to identify one or more planned independent requirements.
Constraints: Not nullable, Maximum length: 10
PlannedIndepRqmt
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 PlannedIndepRqmtCreateFluentHelper createPlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt)
PlannedIndepRqmt
entity and save it to the S/4HANA system.plannedIndepRqmt
- PlannedIndepRqmt
entity object that will be created in the S/4HANA system.PlannedIndepRqmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedIndepRqmtUpdateFluentHelper updatePlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt)
PlannedIndepRqmt
entity and save it to the S/4HANA system.plannedIndepRqmt
- PlannedIndepRqmt
entity object that will be updated in the S/4HANA system.PlannedIndepRqmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedIndepRqmtItemFluentHelper getAllPlannedIndepRqmtItem()
PlannedIndepRqmtItem
entities.PlannedIndepRqmtItem
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 PlannedIndepRqmtItemByKeyFluentHelper getPlannedIndepRqmtItemByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType)
PlannedIndepRqmtItem
entity using key fields.plndIndepRqmtVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
product
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
mRPArea
- Number of the MRP area for which material requirements planning should be carried out separately.
Constraints: Not nullable, Maximum length: 10
requirementSegment
- Indicates additional information about the type of requirement. You can freely define which
requirement segments are satisfied by which stock segments using segmentation strategies in the
transaction Segmentation Strategy Maintenance .
Constraints: Not nullable, Maximum length: 40
periodType
- Type of a Period
Constraints: Not nullable, Maximum length: 1
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtPeriod
- Period Text
Constraints: Not nullable, Maximum length: 8
requirementPlan
- Key which can be given to create and to identify one or more planned independent requirements.
Constraints: Not nullable, Maximum length: 10
PlannedIndepRqmtItem
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 PlannedIndepRqmtItemCreateFluentHelper createPlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem)
PlannedIndepRqmtItem
entity and save it to the S/4HANA system.plannedIndepRqmtItem
- PlannedIndepRqmtItem
entity object that will be created in the S/4HANA system.PlannedIndepRqmtItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull PlannedIndepRqmtItemUpdateFluentHelper updatePlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem)
PlannedIndepRqmtItem
entity and save it to the S/4HANA system.plannedIndepRqmtItem
- PlannedIndepRqmtItem
entity object that will be updated in the S/4HANA system.PlannedIndepRqmtItem
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.