@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultExtendedPlannedIndependentRequirementService") public class DefaultExtendedPlannedIndependentRequirementService extends Object implements ExtendedPlannedIndependentRequirementService
This inbound/outbound service enables you to read, create, and update planned independent requirements (PIRs). 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/contentp ackage/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 Production - Process Manufacturing (BJ8), Material Requirements Planning (J44) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultExtendedPlannedIndependentRequirementService()
Creates a service using
ExtendedPlannedIndependentRequirementService.DEFAULT_SERVICE_PATH to send the
requests. |
Modifier and Type | Method and Description |
---|---|
DefaultExtendedPlannedIndependentRequirementServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
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. |
DefaultExtendedPlannedIndependentRequirementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultExtendedPlannedIndependentRequirementService()
ExtendedPlannedIndependentRequirementService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultExtendedPlannedIndependentRequirementService withServicePath(@Nonnull String servicePath)
ExtendedPlannedIndependentRequirementService
withServicePath
in interface ExtendedPlannedIndependentRequirementService
servicePath
- Service path that will override the default.@Nonnull public DefaultExtendedPlannedIndependentRequirementServiceBatch batch()
batch
in interface BatchService<ExtendedPlannedIndependentRequirementServiceBatch>
@Nonnull public PlannedIndepRqmtFluentHelper getAllPlannedIndepRqmt()
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmt
entities.getAllPlannedIndepRqmt
in interface ExtendedPlannedIndependentRequirementService
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 public PlannedIndepRqmtByKeyFluentHelper getPlannedIndepRqmtByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmt
entity using key fields.getPlannedIndepRqmtByKey
in interface ExtendedPlannedIndependentRequirementService
product
- 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
plndIndepRqmtType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
requirementPlan
- Key which can be given to create and to identify one or more planned independent requirements.
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
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 public PlannedIndepRqmtCreateFluentHelper createPlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmt
entity and save it to the S/4HANA system.createPlannedIndepRqmt
in interface ExtendedPlannedIndependentRequirementService
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 public PlannedIndepRqmtUpdateFluentHelper updatePlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmt
entity and save it to the S/4HANA system.updatePlannedIndepRqmt
in interface ExtendedPlannedIndependentRequirementService
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 public PlannedIndepRqmtItemFluentHelper getAllPlannedIndepRqmtItem()
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmtItem
entities.getAllPlannedIndepRqmtItem
in interface ExtendedPlannedIndependentRequirementService
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 public PlannedIndepRqmtItemByKeyFluentHelper getPlannedIndepRqmtItemByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmtItem
entity using key fields.getPlannedIndepRqmtItemByKey
in interface ExtendedPlannedIndependentRequirementService
product
- 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
plndIndepRqmtType
- The requirements type determines the planning strategy to be used for a particular requirement.
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion
- Alphanumeric description of a demand program, also known as the (demand) version number.
Constraints: Not nullable, Maximum length: 2
requirementPlan
- Key which can be given to create and to identify one or more planned independent requirements.
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
plndIndepRqmtPeriod
- Period Text
Constraints: Not nullable, Maximum length: 8
periodType
- Type of a Period
Constraints: Not nullable, Maximum length: 1
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 public PlannedIndepRqmtItemCreateFluentHelper createPlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmtItem
entity and save it to the S/4HANA system.createPlannedIndepRqmtItem
in interface ExtendedPlannedIndependentRequirementService
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 public PlannedIndepRqmtItemUpdateFluentHelper updatePlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem)
ExtendedPlannedIndependentRequirementService
PlannedIndepRqmtItem
entity and save it to the S/4HANA system.updatePlannedIndepRqmtItem
in interface ExtendedPlannedIndependentRequirementService
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.