Interface PooledCapacityService
- All Known Implementing Classes:
DefaultPooledCapacityService
This service is based on OData V4 protocol and can be consumed in Fiori apps and on other user interfaces. It enables you to create, read and update pooled capacity. The service contains pooled capacity header, pooled capacity description, pooled capacity interval and pooled capacity shift details..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | WORKCENTERPOOLEDCAPACITY_0001 |
| 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 |
| Service Group Name: | API_WRKCTRPOOLEDCAPACITY |
| Business Object: | Pooled Capacity |
-
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 TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theWorkCenterCapacityentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityIntervalentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityShiftentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityTextentity collection matching the filter and search expressions.createWorkCenterCapacity(WorkCenterCapacity workCenterCapacity) Deprecated.Create a newWorkCenterCapacityentity and save it to the S/4HANA system.createWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Create a newWorkCenterCapacityIntervalentity and save it to the S/4HANA system.deleteWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Deletes an existingWorkCenterCapacityIntervalentity in the S/4HANA system.deleteWorkCenterCapacityShift(WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Deletes an existingWorkCenterCapacityShiftentity in the S/4HANA system.Deprecated.Fetch multipleWorkCenterCapacityentities.Deprecated.Fetch multipleWorkCenterCapacityIntervalentities.Deprecated.Fetch multipleWorkCenterCapacityShiftentities.Deprecated.Fetch multipleWorkCenterCapacityTextentities.getWorkCenterCapacityByKey(String capacityInternalID) Deprecated.Fetch a singleWorkCenterCapacityentity using key fields.getWorkCenterCapacityIntervalByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate) Deprecated.Fetch a singleWorkCenterCapacityIntervalentity using key fields.getWorkCenterCapacityShiftByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate, String weekDay, String availableCapacityShift) Deprecated.Fetch a singleWorkCenterCapacityShiftentity using key fields.getWorkCenterCapacityTextByKey(String capacityInternalID, String language) Deprecated.Fetch a singleWorkCenterCapacityTextentity using key fields.updateWorkCenterCapacity(WorkCenterCapacity workCenterCapacity) Deprecated.Update an existingWorkCenterCapacityentity and save it to the S/4HANA system.updateWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Update an existingWorkCenterCapacityIntervalentity and save it to the S/4HANA system.updateWorkCenterCapacityShift(WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Update an existingWorkCenterCapacityShiftentity and save it to the S/4HANA system.updateWorkCenterCapacityText(WorkCenterCapacityText workCenterCapacityText) Deprecated.Update an existingWorkCenterCapacityTextentity 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.
-
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWorkCenterCapacity
Deprecated.Fetch multipleWorkCenterCapacityentities.- Returns:
- A request builder to fetch multiple
WorkCenterCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacity
Deprecated.Fetch the number of entries from theWorkCenterCapacityentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WorkCenterCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityByKey
@Nonnull GetByKeyRequestBuilder<WorkCenterCapacity> getWorkCenterCapacityByKey(String capacityInternalID) Deprecated.Fetch a singleWorkCenterCapacityentity using key fields.- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
WorkCenterCapacityentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWorkCenterCapacity
@Nonnull CreateRequestBuilder<WorkCenterCapacity> createWorkCenterCapacity(@Nonnull WorkCenterCapacity workCenterCapacity) Deprecated.Create a newWorkCenterCapacityentity and save it to the S/4HANA system.- Parameters:
workCenterCapacity-WorkCenterCapacityentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WorkCenterCapacityentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacity
@Nonnull UpdateRequestBuilder<WorkCenterCapacity> updateWorkCenterCapacity(@Nonnull WorkCenterCapacity workCenterCapacity) Deprecated.Update an existingWorkCenterCapacityentity and save it to the S/4HANA system.- Parameters:
workCenterCapacity-WorkCenterCapacityentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityInterval
Deprecated.Fetch multipleWorkCenterCapacityIntervalentities.- Returns:
- A request builder to fetch multiple
WorkCenterCapacityIntervalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityInterval
Deprecated.Fetch the number of entries from theWorkCenterCapacityIntervalentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WorkCenterCapacityIntervalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityIntervalByKey
@Nonnull GetByKeyRequestBuilder<WorkCenterCapacityInterval> getWorkCenterCapacityIntervalByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate) Deprecated.Fetch a singleWorkCenterCapacityIntervalentity using key fields.- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
intervalEndDate-Constraints: Not nullable
capacityActiveVersion-Constraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
WorkCenterCapacityIntervalentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWorkCenterCapacityInterval
@Nonnull CreateRequestBuilder<WorkCenterCapacityInterval> createWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Create a newWorkCenterCapacityIntervalentity and save it to the S/4HANA system.- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityInterval
@Nonnull UpdateRequestBuilder<WorkCenterCapacityInterval> updateWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Update an existingWorkCenterCapacityIntervalentity and save it to the S/4HANA system.- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWorkCenterCapacityInterval
@Nonnull DeleteRequestBuilder<WorkCenterCapacityInterval> deleteWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Deletes an existingWorkCenterCapacityIntervalentity in the S/4HANA system.- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityShift
Deprecated.Fetch multipleWorkCenterCapacityShiftentities.- Returns:
- A request builder to fetch multiple
WorkCenterCapacityShiftentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityShift
Deprecated.Fetch the number of entries from theWorkCenterCapacityShiftentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WorkCenterCapacityShiftentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityShiftByKey
@Nonnull GetByKeyRequestBuilder<WorkCenterCapacityShift> getWorkCenterCapacityShiftByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate, String weekDay, String availableCapacityShift) Deprecated.Fetch a singleWorkCenterCapacityShiftentity using key fields.- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
intervalEndDate- Valid-to dateConstraints: Not nullable
weekDay- Week DayConstraints: Not nullable, Maximum length: 1
capacityActiveVersion-Constraints: Not nullable, Maximum length: 2
availableCapacityShift- Shift Number of an Available CapacityConstraints: Not nullable, Maximum length: 1
- Returns:
- A request builder to fetch a single
WorkCenterCapacityShiftentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityShift
@Nonnull UpdateRequestBuilder<WorkCenterCapacityShift> updateWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Update an existingWorkCenterCapacityShiftentity and save it to the S/4HANA system.- Parameters:
workCenterCapacityShift-WorkCenterCapacityShiftentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityShiftentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWorkCenterCapacityShift
@Nonnull DeleteRequestBuilder<WorkCenterCapacityShift> deleteWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Deletes an existingWorkCenterCapacityShiftentity in the S/4HANA system.- Parameters:
workCenterCapacityShift-WorkCenterCapacityShiftentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WorkCenterCapacityShiftentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityText
Deprecated.Fetch multipleWorkCenterCapacityTextentities.- Returns:
- A request builder to fetch multiple
WorkCenterCapacityTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityText
Deprecated.Fetch the number of entries from theWorkCenterCapacityTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
WorkCenterCapacityTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityTextByKey
@Nonnull GetByKeyRequestBuilder<WorkCenterCapacityText> getWorkCenterCapacityTextByKey(String capacityInternalID, String language) Deprecated.Fetch a singleWorkCenterCapacityTextentity using key fields.- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
WorkCenterCapacityTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityText
@Nonnull UpdateRequestBuilder<WorkCenterCapacityText> updateWorkCenterCapacityText(@Nonnull WorkCenterCapacityText workCenterCapacityText) Deprecated.Update an existingWorkCenterCapacityTextentity and save it to the S/4HANA system.- Parameters:
workCenterCapacityText-WorkCenterCapacityTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityTextentity. To perform execution, call theexecutemethod on the request builder object.
-