Class DefaultExtendedPlannedIndependentRequirementService
- All Implemented Interfaces:
BatchService<ExtendedPlannedIndependentRequirementServiceBatch>,ExtendedPlannedIndependentRequirementService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ExtendedPlannedIndependentRequirementService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingExtendedPlannedIndependentRequirementService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createPlannedIndepRqmt(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.
-
Constructor Details
-
DefaultExtendedPlannedIndependentRequirementService
public DefaultExtendedPlannedIndependentRequirementService()Deprecated.Creates a service usingExtendedPlannedIndependentRequirementService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultExtendedPlannedIndependentRequirementService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceExtendedPlannedIndependentRequirementService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<ExtendedPlannedIndependentRequirementServiceBatch>
-
getAllPlannedIndepRqmt
Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceFetch multiplePlannedIndepRqmtentities.- Specified by:
getAllPlannedIndepRqmtin interfaceExtendedPlannedIndependentRequirementService- 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 public PlannedIndepRqmtByKeyFluentHelper getPlannedIndepRqmtByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceFetch a singlePlannedIndepRqmtentity using key fields.- Specified by:
getPlannedIndepRqmtByKeyin interfaceExtendedPlannedIndependentRequirementService- Parameters:
product- Material NumberConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
plndIndepRqmtType- Requirements typeConstraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion- Version Number for Independent RequirementsConstraints: Not nullable, Maximum length: 2
requirementPlan- Requirements PlanConstraints: Not nullable, Maximum length: 10
requirementSegment- Requirement SegmentConstraints: Not nullable, Maximum length: 40
- 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 public PlannedIndepRqmtCreateFluentHelper createPlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceCreate a newPlannedIndepRqmtentity and save it to the S/4HANA system.- Specified by:
createPlannedIndepRqmtin interfaceExtendedPlannedIndependentRequirementService- 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 public PlannedIndepRqmtUpdateFluentHelper updatePlannedIndepRqmt(@Nonnull PlannedIndepRqmt plannedIndepRqmt) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceUpdate an existingPlannedIndepRqmtentity and save it to the S/4HANA system.- Specified by:
updatePlannedIndepRqmtin interfaceExtendedPlannedIndependentRequirementService- 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.Description copied from interface:ExtendedPlannedIndependentRequirementServiceFetch multiplePlannedIndepRqmtItementities.- Specified by:
getAllPlannedIndepRqmtItemin interfaceExtendedPlannedIndependentRequirementService- 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 public PlannedIndepRqmtItemByKeyFluentHelper getPlannedIndepRqmtItemByKey(String product, String plant, String mRPArea, String plndIndepRqmtType, String plndIndepRqmtVersion, String requirementPlan, String requirementSegment, String plndIndepRqmtPeriod, String periodType) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceFetch a singlePlannedIndepRqmtItementity using key fields.- Specified by:
getPlannedIndepRqmtItemByKeyin interfaceExtendedPlannedIndependentRequirementService- Parameters:
product- Material NumberConstraints: Not nullable, Maximum length: 40
plant- PlantConstraints: Not nullable, Maximum length: 4
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
plndIndepRqmtType- Requirements typeConstraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion- Version Number for Independent RequirementsConstraints: Not nullable, Maximum length: 2
requirementPlan- Requirements PlanConstraints: Not nullable, Maximum length: 10
requirementSegment- Requirement SegmentConstraints: Not nullable, Maximum length: 40
plndIndepRqmtPeriod- Period TextConstraints: Not nullable, Maximum length: 8
periodType- Type of a PeriodConstraints: Not nullable, Maximum length: 1
- 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 public PlannedIndepRqmtItemCreateFluentHelper createPlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceCreate a newPlannedIndepRqmtItementity and save it to the S/4HANA system.- Specified by:
createPlannedIndepRqmtItemin interfaceExtendedPlannedIndependentRequirementService- 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 public PlannedIndepRqmtItemUpdateFluentHelper updatePlannedIndepRqmtItem(@Nonnull PlannedIndepRqmtItem plannedIndepRqmtItem) Deprecated.Description copied from interface:ExtendedPlannedIndependentRequirementServiceUpdate an existingPlannedIndepRqmtItementity and save it to the S/4HANA system.- Specified by:
updatePlannedIndepRqmtItemin interfaceExtendedPlannedIndependentRequirementService- 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.
-