@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultExtendedPlannedIndependentRequirementService") public class DefaultExtendedPlannedIndependentRequirementService extends Object implements 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 apps..
Reference: SAP API Business Hub
OData Service: | OP_API_PLND_INDEP_RQMT_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Planned Independent Requirement |
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
- Material Number
Constraints: Not nullable, Maximum length: 40
plant
- Plant
Constraints: Not nullable, Maximum length: 4
mRPArea
- MRP Area
Constraints: Not nullable, Maximum length: 10
plndIndepRqmtType
- Requirements type
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion
- Version Number for Independent Requirements
Constraints: Not nullable, Maximum length: 2
requirementPlan
- Requirements Plan
Constraints: Not nullable, Maximum length: 10
requirementSegment
- Requirement Segment
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
- Material Number
Constraints: Not nullable, Maximum length: 40
plant
- Plant
Constraints: Not nullable, Maximum length: 4
mRPArea
- MRP Area
Constraints: Not nullable, Maximum length: 10
plndIndepRqmtType
- Requirements type
Constraints: Not nullable, Maximum length: 4
plndIndepRqmtVersion
- Version Number for Independent Requirements
Constraints: Not nullable, Maximum length: 2
requirementPlan
- Requirements Plan
Constraints: Not nullable, Maximum length: 10
requirementSegment
- Requirement Segment
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 © 2021 SAP SE. All rights reserved.