Interface ExtendedPlannedIndependentRequirementService
- All Superinterfaces:
BatchService<ExtendedPlannedIndependentRequirementServiceBatch>
- All Known Implementing Classes:
DefaultExtendedPlannedIndependentRequirementService
The PIRs are read, updated and/or created on header and item level. You can also send batch requests. Use this API, if you want to work with the Change PIR or Maintain PIR app. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PLND_INDEP_RQMT_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| 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), Material Requirements Planning(O44) |
| Authentication Methods: | x509 |
| Business Object: | Planned Independent Requirement |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreatePlannedIndepRqmt(PlannedIndepRqmt plannedIndepRqmt) Deprecated.Create a newPlannedIndepRqmtentity and save it to the S/4HANA system.createPlannedIndepRqmtItem(PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Create a newPlannedIndepRqmtItementity and save it to the S/4HANA system.Deprecated.Fetch multiplePlannedIndepRqmtentities.Deprecated.Fetch multiplePlannedIndepRqmtItementities.getPlannedIndepRqmtByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment) Deprecated.Fetch a singlePlannedIndepRqmtentity using key fields.getPlannedIndepRqmtItemByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType) Deprecated.Fetch a singlePlannedIndepRqmtItementity using key fields.updatePlannedIndepRqmt(PlannedIndepRqmt plannedIndepRqmt) Deprecated.Update an existingPlannedIndepRqmtentity and save it to the S/4HANA system.updatePlannedIndepRqmtItem(PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Update an existingPlannedIndepRqmtItementity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllPlannedIndepRqmt
Deprecated.Fetch multiplePlannedIndepRqmtentities.- Returns:
- A fluent helper to fetch multiple
PlannedIndepRqmtentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPlannedIndepRqmtByKey
@Nonnull PlannedIndepRqmtByKeyFluentHelper getPlannedIndepRqmtByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment) Deprecated.Fetch a singlePlannedIndepRqmtentity using key fields.- Parameters:
plndIndepRqmtVersion- Version Number for Independent RequirementsConstraints: Not nullable, Maximum length: 2
product- Material NumberConstraints: Not nullable, Maximum length: 40
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
requirementSegment- Requirement SegmentConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
plndIndepRqmtType- Requirements typeConstraints: Not nullable, Maximum length: 4
requirementPlan- Requirements PlanConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PlannedIndepRqmtentity 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 theexecutemethod on the fluent helper object.
-
createPlannedIndepRqmt
@Nonnull PlannedIndepRqmtCreateFluentHelper createPlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt) Deprecated.Create a newPlannedIndepRqmtentity and save it to the S/4HANA system.- Parameters:
plannedIndepRqmt-PlannedIndepRqmtentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PlannedIndepRqmtentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePlannedIndepRqmt
@Nonnull PlannedIndepRqmtUpdateFluentHelper updatePlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt) Deprecated.Update an existingPlannedIndepRqmtentity and save it to the S/4HANA system.- Parameters:
plannedIndepRqmt-PlannedIndepRqmtentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PlannedIndepRqmtentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPlannedIndepRqmtItem
Deprecated.Fetch multiplePlannedIndepRqmtItementities.- Returns:
- A fluent helper to fetch multiple
PlannedIndepRqmtItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPlannedIndepRqmtItemByKey
@Nonnull PlannedIndepRqmtItemByKeyFluentHelper getPlannedIndepRqmtItemByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType) Deprecated.Fetch a singlePlannedIndepRqmtItementity using key fields.- Parameters:
plndIndepRqmtVersion- Version Number for Independent RequirementsConstraints: Not nullable, Maximum length: 2
product- Material NumberConstraints: Not nullable, Maximum length: 40
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
requirementSegment- Requirement SegmentConstraints: Not nullable, Maximum length: 40
periodType- Type of a PeriodConstraints: Not nullable, Maximum length: 1
plant- PlantConstraints: Not nullable, Maximum length: 4
plndIndepRqmtType- Requirements typeConstraints: Not nullable, Maximum length: 4
plndIndepRqmtPeriod- Period TextConstraints: Not nullable, Maximum length: 8
requirementPlan- Requirements PlanConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PlannedIndepRqmtItementity 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 theexecutemethod on the fluent helper object.
-
createPlannedIndepRqmtItem
@Nonnull PlannedIndepRqmtItemCreateFluentHelper createPlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Create a newPlannedIndepRqmtItementity and save it to the S/4HANA system.- Parameters:
plannedIndepRqmtItem-PlannedIndepRqmtItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PlannedIndepRqmtItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePlannedIndepRqmtItem
@Nonnull PlannedIndepRqmtItemUpdateFluentHelper updatePlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Update an existingPlannedIndepRqmtItementity and save it to the S/4HANA system.- Parameters:
plannedIndepRqmtItem-PlannedIndepRqmtItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PlannedIndepRqmtItementity. To perform execution, call theexecutemethod on the fluent helper object.
-