@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWorkCenterDataService") public class DefaultWorkCenterDataService extends Object implements WorkCenterDataService
This service enables you to view all the details of work centers, and also update shift details for them. It is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_WORK_CENTERS |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Make-to-Stock Production - Discrete Manufacturing (BJ5), Make-to-Stock Production - Process Manufacturing (BJ8), Material Requirements Planning (J44) |
Authentication Methods: | Basic, x509, OAuth2 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultWorkCenterDataService()
Creates a service using
WorkCenterDataService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultWorkCenterDataService()
WorkCenterDataService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultWorkCenterDataService withServicePath(@Nonnull String servicePath)
WorkCenterDataService
withServicePath
in interface WorkCenterDataService
servicePath
- Service path that will override the default.@Nonnull public DefaultWorkCenterDataServiceBatch batch()
batch
in interface BatchService<WorkCenterDataServiceBatch>
@Nonnull public WorkCenterAllCapacityFluentHelper getAllWorkCenterAllCapacity()
WorkCenterDataService
WorkCenterAllCapacity
entities.getAllWorkCenterAllCapacity
in interface WorkCenterDataService
WorkCenterAllCapacity
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 WorkCenterAllCapacityByKeyFluentHelper getWorkCenterAllCapacityByKey(String workCenterInternalID, String workCenterTypeCode, String capacityInternalID, String capacityCategoryAllocation)
WorkCenterDataService
WorkCenterAllCapacity
entity using key fields.getWorkCenterAllCapacityByKey
in interface WorkCenterDataService
workCenterInternalID
- This internally used number and the object type identify the operating resource (for example, the work
center or production resource/tool).
Constraints: Not nullable, Maximum length: 8
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:
Constraints: Not nullable, Maximum length: 2
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
capacityCategoryAllocation
- Capacity Category Allocation
Constraints: Not nullable, Maximum length: 4
WorkCenterAllCapacity
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 WorkCenterCapacityFluentHelper getAllWorkCenterCapacity()
WorkCenterDataService
WorkCenterCapacity
entities.getAllWorkCenterCapacity
in interface WorkCenterDataService
WorkCenterCapacity
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 WorkCenterCapacityByKeyFluentHelper getWorkCenterCapacityByKey(String capacityInternalID)
WorkCenterDataService
WorkCenterCapacity
entity using key fields.getWorkCenterCapacityByKey
in interface WorkCenterDataService
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
WorkCenterCapacity
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 WorkCenterCapacityIntervalFluentHelper getAllWorkCenterCapacityInterval()
WorkCenterDataService
WorkCenterCapacityInterval
entities.getAllWorkCenterCapacityInterval
in interface WorkCenterDataService
WorkCenterCapacityInterval
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 WorkCenterCapacityIntervalByKeyFluentHelper getWorkCenterCapacityIntervalByKey(String workCenterInternalID, String workCenterTypeCode, String capacityCategoryAllocation, String capacityInternalID, String capacityActiveVersion, LocalDateTime intervalEndDate)
WorkCenterDataService
WorkCenterCapacityInterval
entity using key fields.getWorkCenterCapacityIntervalByKey
in interface WorkCenterDataService
workCenterInternalID
- This internally used number and the object type identify the operating resource (for example, the work
center or production resource/tool).
Constraints: Not nullable, Maximum length: 8
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:
Constraints: Not nullable, Maximum length: 2
capacityCategoryAllocation
- Capacity Category Allocation
Constraints: Not nullable, Maximum length: 4
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
WorkCenterCapacityInterval
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 WorkCenterCapacityIntervalCreateFluentHelper createWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval)
WorkCenterDataService
WorkCenterCapacityInterval
entity and save it to the S/4HANA system.createWorkCenterCapacityInterval
in interface WorkCenterDataService
workCenterCapacityInterval
- WorkCenterCapacityInterval
entity object that will be created in the S/4HANA system.WorkCenterCapacityInterval
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WorkCenterCapacityIntervalUpdateFluentHelper updateWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval)
WorkCenterDataService
WorkCenterCapacityInterval
entity and save it to the S/4HANA system.updateWorkCenterCapacityInterval
in interface WorkCenterDataService
workCenterCapacityInterval
- WorkCenterCapacityInterval
entity object that will be updated in the S/4HANA system.WorkCenterCapacityInterval
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WorkCenterCapacityShiftFluentHelper getAllWorkCenterCapacityShift()
WorkCenterDataService
WorkCenterCapacityShift
entities.getAllWorkCenterCapacityShift
in interface WorkCenterDataService
WorkCenterCapacityShift
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 WorkCenterCapacityShiftByKeyFluentHelper getWorkCenterCapacityShiftByKey(String workCenterInternalID, String workCenterTypeCode, String capacityCategoryAllocation, String capacityInternalID, String capacityActiveVersion, LocalDateTime intervalEndDate, String weekDay, String availableCapacityShift)
WorkCenterDataService
WorkCenterCapacityShift
entity using key fields.getWorkCenterCapacityShiftByKey
in interface WorkCenterDataService
workCenterInternalID
- This internally used number and the object type identify the operating resource (for example, the work
center or production resource/tool).
Constraints: Not nullable, Maximum length: 8
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:
Constraints: Not nullable, Maximum length: 2
capacityCategoryAllocation
- The number along with the capacity category which identifies the capacity in the work center.
Constraints: Not nullable, Maximum length: 4
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
WorkCenterCapacityShift
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 WorkCenterCapacityShiftCreateFluentHelper createWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift)
WorkCenterDataService
WorkCenterCapacityShift
entity and save it to the S/4HANA system.createWorkCenterCapacityShift
in interface WorkCenterDataService
workCenterCapacityShift
- WorkCenterCapacityShift
entity object that will be created in the S/4HANA system.WorkCenterCapacityShift
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WorkCenterCapacityShiftUpdateFluentHelper updateWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift)
WorkCenterDataService
WorkCenterCapacityShift
entity and save it to the S/4HANA system.updateWorkCenterCapacityShift
in interface WorkCenterDataService
workCenterCapacityShift
- WorkCenterCapacityShift
entity object that will be updated in the S/4HANA system.WorkCenterCapacityShift
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public WorkCenterCapDayOpFluentHelper getAllWorkCenterCapDayOp()
WorkCenterDataService
WorkCenterCapDayOp
entities.getAllWorkCenterCapDayOp
in interface WorkCenterDataService
WorkCenterCapDayOp
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 WorkCenterCapDayOpByKeyFluentHelper getWorkCenterCapDayOpByKey(String plant, String mRPController, String workCenter, String capacityInternalID, String capacityRequirement, String material, String orderID, String operation)
WorkCenterDataService
WorkCenterCapDayOp
entity using key fields.getWorkCenterCapDayOpByKey
in interface WorkCenterDataService
workCenter
- Work Center
Constraints: Not nullable, Maximum length: 8
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
capacityRequirement
- ID of the Capacity Requirements Record
Constraints: Not nullable, Maximum length: 12
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
operation
- Production Planning
Constraints: Not nullable, Maximum length: 4
WorkCenterCapDayOp
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 WorkCenterCapOrderPerBucketParametersByKeyFluentHelper getWorkCenterCapOrderPerBucketParametersByKey(LocalDateTime p_CapEvalStartDate, LocalDateTime p_CapEvalEndDate, String p_CapEvalBucketType)
WorkCenterDataService
WorkCenterCapOrderPerBucketParameters
entity using key fields.getWorkCenterCapOrderPerBucketParametersByKey
in interface WorkCenterDataService
p_CapEvalStartDate
- Date (YYYYMMDD)
Constraints: Not nullable, Precision: 0
p_CapEvalEndDate
- Date (YYYYMMDD)
Constraints: Not nullable, Precision: 0
p_CapEvalBucketType
- Single-Character Flag
Constraints: Not nullable, Maximum length: 1
WorkCenterCapOrderPerBucketParameters
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 WorkCenterCapPerBucketParametersByKeyFluentHelper getWorkCenterCapPerBucketParametersByKey(LocalDateTime p_CapEvalStartDate, LocalDateTime p_CapEvalEndDate, String p_CapEvalBucketType)
WorkCenterDataService
WorkCenterCapPerBucketParameters
entity using key fields.getWorkCenterCapPerBucketParametersByKey
in interface WorkCenterDataService
p_CapEvalStartDate
- Date (YYYYMMDD)
Constraints: Not nullable, Precision: 0
p_CapEvalEndDate
- Date (YYYYMMDD)
Constraints: Not nullable, Precision: 0
p_CapEvalBucketType
- Single-Character Flag
Constraints: Not nullable, Maximum length: 1
WorkCenterCapPerBucketParameters
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 WorkCenterCapPplineOpFluentHelper getAllWorkCenterCapPplineOp()
WorkCenterDataService
WorkCenterCapPplineOp
entities.getAllWorkCenterCapPplineOp
in interface WorkCenterDataService
WorkCenterCapPplineOp
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 WorkCenterCapPplineOpByKeyFluentHelper getWorkCenterCapPplineOpByKey(String plant, String mRPController, String workCenter, String capacityInternalID, String capacityRequirement, String material, String orderID, String operation)
WorkCenterDataService
WorkCenterCapPplineOp
entity using key fields.getWorkCenterCapPplineOpByKey
in interface WorkCenterDataService
workCenter
- Work Center
Constraints: Not nullable, Maximum length: 8
capacityInternalID
- Capacity ID
Constraints: Not nullable, Maximum length: 8
capacityRequirement
- ID of the Capacity Requirements Record
Constraints: Not nullable, Maximum length: 12
material
- Alphanumeric key uniquely identifying the material.
Constraints: Not nullable, Maximum length: 40
operation
- Production Planning
Constraints: Not nullable, Maximum length: 4
WorkCenterCapPplineOp
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 WorkCenterDayOperationFluentHelper getAllWorkCenterDayOperation()
WorkCenterDataService
WorkCenterDayOperation
entities.getAllWorkCenterDayOperation
in interface WorkCenterDataService
WorkCenterDayOperation
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 WorkCenterDayOperationByKeyFluentHelper getWorkCenterDayOperationByKey(String workCenterInternalID, String manufacturingOrder, String manufacturingOrderOperation, String manufacturingOrderCategory)
WorkCenterDataService
WorkCenterDayOperation
entity using key fields.getWorkCenterDayOperationByKey
in interface WorkCenterDataService
workCenterInternalID
- Work Center Internal ID
Constraints: Not nullable, Maximum length: 8
manufacturingOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
manufacturingOrderOperation
- Manufacturing Order Operation
Constraints: Not nullable, Maximum length: 4
manufacturingOrderCategory
- Manufacturing Order Category
Constraints: Not nullable, Maximum length: 2
WorkCenterDayOperation
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 WorkCenterPipeLineOperationFluentHelper getAllWorkCenterPipeLineOperation()
WorkCenterDataService
WorkCenterPipeLineOperation
entities.getAllWorkCenterPipeLineOperation
in interface WorkCenterDataService
WorkCenterPipeLineOperation
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 WorkCenterPipeLineOperationByKeyFluentHelper getWorkCenterPipeLineOperationByKey(String workCenterInternalID, String manufacturingOrder, String manufacturingOrderOperation, String manufacturingOrderCategory)
WorkCenterDataService
WorkCenterPipeLineOperation
entity using key fields.getWorkCenterPipeLineOperationByKey
in interface WorkCenterDataService
workCenterInternalID
- Work Center Internal ID
Constraints: Not nullable, Maximum length: 8
manufacturingOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
manufacturingOrderOperation
- Manufacturing Order Operation
Constraints: Not nullable, Maximum length: 4
manufacturingOrderCategory
- Manufacturing Order Category
Constraints: Not nullable, Maximum length: 2
WorkCenterPipeLineOperation
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 WorkCentersFluentHelper getAllWorkCenters()
WorkCenterDataService
WorkCenters
entities.getAllWorkCenters
in interface WorkCenterDataService
WorkCenters
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 WorkCentersByKeyFluentHelper getWorkCentersByKey(String workCenterInternalID, String workCenterTypeCode)
WorkCenterDataService
WorkCenters
entity using key fields.getWorkCentersByKey
in interface WorkCenterDataService
workCenterInternalID
- This internally used number and the object type identify the operating resource (for example, the work
center or production resource/tool).
Constraints: Not nullable, Maximum length: 8
workCenterTypeCode
- Internally used key which identifies the type of operating resource. For example, the following
indicators represent:
Constraints: Not nullable, Maximum length: 2
WorkCenters
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 © 2019 SAP SE. All rights reserved.