Interface BufferSizingService
- All Superinterfaces:
BatchService<BufferSizingServiceBatch>
- All Known Implementing Classes:
DefaultBufferSizingService
The service contains header and item entities. For read operations, filter information must be sent according to the OData protocol. All filter information is utilized when retrieving buffer sizing data, such as, buffer proposals, average daily usage (ADU), decoupled lead time (DLT), demand and zone adjustments. The buffer proposal, ADU, DLT, longest path in BOM, and actual stock level details are sent in the response. If any issues arise when buffer sizing details are retrieved, the system displays error messages in the response..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BUFFERSIZING_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Buffer Sizing Integration(SAP_COM_0359) |
| Scope Items: | Demand-Driven Buffer Level Management(1Y2) |
| Authentication Methods: | x509 |
| Business Object: | Product |
-
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 TypeMethodDescriptionadopt(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion) Deprecated.Creates a fluent helper for the Adopt OData function import.createProposalHeader(ProposalHeader proposalHeader) Deprecated.Create a newProposalHeaderentity and save it to the S/4HANA system.discard(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion) Deprecated.Creates a fluent helper for the Discard OData function import.getActualStockByKey(String material, String plant, String mRPArea, LocalDateTime bufferLevelStartDate) Deprecated.Fetch a singleActualStockentity using key fields.Deprecated.Fetch multipleActualStockentities.Deprecated.Fetch multipleDemandAdjustmentFactorsentities.Deprecated.Fetch multipleDemandAdjustmentsentities.Deprecated.Fetch multipleLongestPathInBOMentities.Deprecated.Fetch multipleProposalHeaderentities.Deprecated.Fetch multipleZoneAdjustmentsentities.getDemandAdjustmentFactorsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate) Deprecated.Fetch a singleDemandAdjustmentFactorsentity using key fields.getDemandAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate) Deprecated.Fetch a singleDemandAdjustmentsentity using key fields.getLongestPathInBOMByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, UUID billOfMaterialUUID, String parentComponent, String parentPlant, String billOfMaterialComponent, String componentPlant) Deprecated.Fetch a singleLongestPathInBOMentity using key fields.getProposalHeaderByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion) Deprecated.Fetch a singleProposalHeaderentity using key fields.getZoneAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime bufPrpslZoneAdjmtFctrStartDate) Deprecated.Fetch a singleZoneAdjustmentsentity using key fields.resume(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion) Deprecated.Creates a fluent helper for the Resume OData function import.suspend(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, String stockLevelProposalStatus, LocalDateTime proposalRunSuspendedFromDate, LocalDateTime proposalRunSuspendedToDate) Deprecated.Creates a fluent helper for the Suspend OData function import.updateDemandAdjustmentFactors(DemandAdjustmentFactors demandAdjustmentFactors) Deprecated.Update an existingDemandAdjustmentFactorsentity and save it to the S/4HANA system.updateDemandAdjustments(DemandAdjustments demandAdjustments) Deprecated.Update an existingDemandAdjustmentsentity and save it to the S/4HANA system.updateZoneAdjustments(ZoneAdjustments zoneAdjustments) Deprecated.Update an existingZoneAdjustmentsentity 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.
-
getAllDemandAdjustments
Deprecated.Fetch multipleDemandAdjustmentsentities.- Returns:
- A fluent helper to fetch multiple
DemandAdjustmentsentities. 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.
-
getDemandAdjustmentsByKey
@Nonnull DemandAdjustmentsByKeyFluentHelper getDemandAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate) Deprecated.Fetch a singleDemandAdjustmentsentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
proposalDmndAdjmtFctrStartDate- Proposal Details Valid FromConstraints: Not nullable, Precision: 0
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
proposalStartDate- Proposal Validity From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
DemandAdjustmentsentity 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.
-
updateDemandAdjustments
@Nonnull DemandAdjustmentsUpdateFluentHelper updateDemandAdjustments(@Nonnull DemandAdjustments demandAdjustments) Deprecated.Update an existingDemandAdjustmentsentity and save it to the S/4HANA system.- Parameters:
demandAdjustments-DemandAdjustmentsentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
DemandAdjustmentsentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllDemandAdjustmentFactors
Deprecated.Fetch multipleDemandAdjustmentFactorsentities.- Returns:
- A fluent helper to fetch multiple
DemandAdjustmentFactorsentities. 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.
-
getDemandAdjustmentFactorsByKey
@Nonnull DemandAdjustmentFactorsByKeyFluentHelper getDemandAdjustmentFactorsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime proposalDmndAdjmtFctrStartDate) Deprecated.Fetch a singleDemandAdjustmentFactorsentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
proposalDmndAdjmtFctrStartDate- Proposal Details Valid FromConstraints: Not nullable, Precision: 0
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
proposalStartDate- Proposal Validity From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
DemandAdjustmentFactorsentity 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.
-
updateDemandAdjustmentFactors
@Nonnull DemandAdjustmentFactorsUpdateFluentHelper updateDemandAdjustmentFactors(@Nonnull DemandAdjustmentFactors demandAdjustmentFactors) Deprecated.Update an existingDemandAdjustmentFactorsentity and save it to the S/4HANA system.- Parameters:
demandAdjustmentFactors-DemandAdjustmentFactorsentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
DemandAdjustmentFactorsentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllZoneAdjustments
Deprecated.Fetch multipleZoneAdjustmentsentities.- Returns:
- A fluent helper to fetch multiple
ZoneAdjustmentsentities. 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.
-
getZoneAdjustmentsByKey
@Nonnull ZoneAdjustmentsByKeyFluentHelper getZoneAdjustmentsByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, LocalDateTime bufPrpslZoneAdjmtFctrStartDate) Deprecated.Fetch a singleZoneAdjustmentsentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
bufPrpslZoneAdjmtFctrStartDate- Proposal Zones Valid FromConstraints: Not nullable, Precision: 0
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
proposalStartDate- Proposal Validity From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ZoneAdjustmentsentity 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.
-
updateZoneAdjustments
@Nonnull ZoneAdjustmentsUpdateFluentHelper updateZoneAdjustments(@Nonnull ZoneAdjustments zoneAdjustments) Deprecated.Update an existingZoneAdjustmentsentity and save it to the S/4HANA system.- Parameters:
zoneAdjustments-ZoneAdjustmentsentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ZoneAdjustmentsentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProposalHeader
Deprecated.Fetch multipleProposalHeaderentities.- Returns:
- A fluent helper to fetch multiple
ProposalHeaderentities. 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.
-
getProposalHeaderByKey
@Nonnull ProposalHeaderByKeyFluentHelper getProposalHeaderByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion) Deprecated.Fetch a singleProposalHeaderentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
proposalStartDate- Proposal Validity From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ProposalHeaderentity 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.
-
createProposalHeader
@Nonnull ProposalHeaderCreateFluentHelper createProposalHeader(@Nonnull ProposalHeader proposalHeader) Deprecated.Create a newProposalHeaderentity and save it to the S/4HANA system.- Parameters:
proposalHeader-ProposalHeaderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ProposalHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllActualStock
Deprecated.Fetch multipleActualStockentities.- Returns:
- A fluent helper to fetch multiple
ActualStockentities. 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.
-
getActualStockByKey
@Nonnull ActualStockByKeyFluentHelper getActualStockByKey(String material, String plant, String mRPArea, LocalDateTime bufferLevelStartDate) Deprecated.Fetch a singleActualStockentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
material- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
bufferLevelStartDate- Valid-From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
ActualStockentity 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.
-
getAllLongestPathInBOM
Deprecated.Fetch multipleLongestPathInBOMentities.- Returns:
- A fluent helper to fetch multiple
LongestPathInBOMentities. 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.
-
getLongestPathInBOMByKey
@Nonnull LongestPathInBOMByKeyFluentHelper getLongestPathInBOMByKey(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, UUID billOfMaterialUUID, String parentComponent, String parentPlant, String billOfMaterialComponent, String componentPlant) Deprecated.Fetch a singleLongestPathInBOMentity using key fields.- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
material- Material NumberConstraints: Not nullable, Maximum length: 18
billOfMaterialComponent- BOM componentConstraints: Not nullable, Maximum length: 18
billOfMaterialUUID- Internal Key for BOMIDConstraints: Not nullable
plant- PlantConstraints: Not nullable, Maximum length: 4
parentComponent- Parent BOM ComponentConstraints: Not nullable, Maximum length: 18
componentPlant- Component PlantConstraints: Not nullable, Maximum length: 4
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
parentPlant- Parent PlantConstraints: Not nullable, Maximum length: 4
proposalStartDate- Proposal Validity From DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
LongestPathInBOMentity 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.
-
adopt
@Nonnull AdoptFluentHelper adopt(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion) Deprecated.Creates a fluent helper for the Adopt OData function import.
- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: ProposalVersion
proposalStartDate- Proposal Valid FromConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalStartDate
- Returns:
- A fluent helper object that will execute the Adopt OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
discard
@Nonnull DiscardFluentHelper discard(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion) Deprecated.Creates a fluent helper for the Discard OData function import.
- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: ProposalVersion
proposalStartDate- Proposal Valid FromConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalStartDate
- Returns:
- A fluent helper object that will execute the Discard OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
resume
@Nonnull ResumeFluentHelper resume(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion) Deprecated.Creates a fluent helper for the Resume OData function import.
- Parameters:
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: ProposalVersion
proposalStartDate- Proposal Valid FromConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalStartDate
- Returns:
- A fluent helper object that will execute the Resume OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
suspend
@Nonnull SuspendFluentHelper suspend(@Nonnull String material, @Nonnull String plant, @Nonnull String mRPArea, @Nonnull LocalDateTime proposalStartDate, @Nonnull String proposalVersion, @Nullable String stockLevelProposalStatus, @Nullable LocalDateTime proposalRunSuspendedFromDate, @Nullable LocalDateTime proposalRunSuspendedToDate) Deprecated.Creates a fluent helper for the Suspend OData function import.
- Parameters:
proposalRunSuspendedToDate- Prpsl Run Susp EndConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalRunSuspendedToDate
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
proposalVersion- Proposal VersionConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: ProposalVersion
proposalRunSuspendedFromDate- Prpsl Run Susp StartConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalRunSuspendedFromDate
stockLevelProposalStatus- Proposal StatusConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: StockLevelProposalStatus
proposalStartDate- Proposal Valid FromConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ProposalStartDate
- Returns:
- A fluent helper object that will execute the Suspend OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-