@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBufferProfileService") public class DefaultBufferProfileService extends Object implements BufferProfileService
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 profile. The buffer profile assigned to plant and the buffer profile details are sent in the response. If any issues arise when buffer profiles are retrieved, the system displays error messages in the response..
Reference: SAP API Business Hub
OData Service: | API_BUFFER_PROFILE_SRV |
API Version: | 1 |
Communication Scenario: | Buffer Profile Integration (SAP_COM_0349) |
Scope Items: | Demand-Driven Buffer Level Management (1Y2) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBufferProfileService()
Creates a service using
BufferProfileService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBufferProfileServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ProfileAssignedToPlantFluentHelper |
getAllProfileAssignedToPlant()
Fetch multiple
ProfileAssignedToPlant entities. |
ProfileDetailsFluentHelper |
getAllProfileDetails()
Fetch multiple
ProfileDetails entities. |
ProfileAssignedToPlantByKeyFluentHelper |
getProfileAssignedToPlantByKey(String plant)
Fetch a single
ProfileAssignedToPlant entity using key fields. |
ProfileDetailsByKeyFluentHelper |
getProfileDetailsByKey(String plant,
String procurementType,
String variabilityCode,
String replenishmentLeadTimeCode,
String isMinOrderQtyConsidered)
Fetch a single
ProfileDetails entity using key fields. |
DefaultBufferProfileService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBufferProfileService()
BufferProfileService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBufferProfileService withServicePath(@Nonnull String servicePath)
BufferProfileService
withServicePath
in interface BufferProfileService
servicePath
- Service path that will override the default.@Nonnull public DefaultBufferProfileServiceBatch batch()
batch
in interface BatchService<BufferProfileServiceBatch>
@Nonnull public ProfileDetailsFluentHelper getAllProfileDetails()
BufferProfileService
ProfileDetails
entities.getAllProfileDetails
in interface BufferProfileService
ProfileDetails
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 ProfileDetailsByKeyFluentHelper getProfileDetailsByKey(String plant, String procurementType, String variabilityCode, String replenishmentLeadTimeCode, String isMinOrderQtyConsidered)
BufferProfileService
ProfileDetails
entity using key fields.getProfileDetailsByKey
in interface BufferProfileService
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
procurementType
- Categories which specify how a DD-relevant product or component is procured. Typically, products are
categorized as Make, Buy or Transfer.
Constraints: Not nullable, Maximum length: 1
variabilityCode
- Classifying a product or component into type X, Y or Z based on the variation in its usage, with
products classified as type X having the lowest variation and products classified as type Z having the
highest variation.
Constraints: Not nullable, Maximum length: 1
replenishmentLeadTimeCode
- Classifying a product or component into type E, F or G based on its lead time, with products
classified as type E having the shortest lead time and products classified as type G having the
longest lead time. An EFG classification is typically used together with the procurement type for a
product or component.
Constraints: Not nullable, Maximum length: 1
isMinOrderQtyConsidered
- The lowest product quantity for which an order can be placed to replenish the stock buffer, decided by
logistical, contractual or cost considerations.
Constraints: Not nullable, Maximum length: 1
ProfileDetails
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 ProfileAssignedToPlantFluentHelper getAllProfileAssignedToPlant()
BufferProfileService
ProfileAssignedToPlant
entities.getAllProfileAssignedToPlant
in interface BufferProfileService
ProfileAssignedToPlant
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 ProfileAssignedToPlantByKeyFluentHelper getProfileAssignedToPlantByKey(String plant)
BufferProfileService
ProfileAssignedToPlant
entity using key fields.getProfileAssignedToPlantByKey
in interface BufferProfileService
plant
- Key uniquely identifying a plant.
Constraints: Not nullable, Maximum length: 4
ProfileAssignedToPlant
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.Copyright © 2020 SAP SE. All rights reserved.