Class DefaultKanbanControlCycleV2Service
- All Implemented Interfaces:
BatchService<KanbanControlCycleV2ServiceBatch>,KanbanControlCycleV2Service
The kanban OData API enables you to create and retrieve kanban control cycles and their kanban container data. Additionally, it is possible to change control cycles, to set the status both on control cycle and on container level, and to lock/unlock containers. Furthermore, you can add new containers for event-driven kanban control cycles and you can report the withdrawal out of one or more containers. The service is based on the OData protocol and can be consumed by external systems and user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_KANBAN_CONTROL_CYCLE_SRV_0002 |
| API Version: | 2.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Kanban Control Cycle Integration(SAP_COM_0330) |
| Scope Items: | Material Replenishment with Kanban - External Procurement(1E3), Material Replenishment with Kanban - In-House Production(4B3), Material Replenishment with Kanban - Stock Transfer(4B4) |
| Authentication Methods: | x509 |
| Business Object: | Kanban Control Cycle |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.KanbanControlCycleV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingKanbanControlCycleV2Service.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionaddEventDrivenKanbanContainer(String kanbanControlCycle, BigDecimal requestedQuantityInBaseUnit, ZonedDateTime requestedDeliveryDateTime, String packingInstruction, Short numberOfLoadCarriers) Deprecated.Creates a fluent helper for the AddEventDrivenKanbanContainer OData function import.batch()Deprecated.createKanbanControlCycle(KanbanControlCycle kanbanControlCycle) Deprecated.Create a newKanbanControlCycleentity and save it to the S/4HANA system.deleteKanbanControlCycle(KanbanControlCycle kanbanControlCycle) Deprecated.Deletes an existingKanbanControlCycleentity in the S/4HANA system.Deprecated.Fetch multipleKanbanContainerentities.Deprecated.Fetch multipleKanbanContainerDeliveryAddrentities.Deprecated.Fetch multipleKanbanControlCycleentities.Deprecated.Fetch multipleKanbanCtnDetailedQtyentities.Deprecated.Fetch multipleKanbanDeliveryentities.getKanbanContainerByKey(String kanbanContainer) Deprecated.Fetch a singleKanbanContainerentity using key fields.getKanbanContainerDeliveryAddrByKey(String kanbanControlCycle) Deprecated.Fetch a singleKanbanContainerDeliveryAddrentity using key fields.getKanbanControlCycleByKey(String kanbanControlCycle) Deprecated.Fetch a singleKanbanControlCycleentity using key fields.getKanbanCtnDetailedQtyByKey(String kanbanContainer, String batch) Deprecated.Fetch a singleKanbanCtnDetailedQtyentity using key fields.getKanbanDeliveryByKey(String kanbanContainer) Deprecated.Fetch a singleKanbanDeliveryentity using key fields.setKanbanContainerLock(String kanbanContainer, Boolean isLocked) Deprecated.Creates a fluent helper for the SetKanbanContainerLock OData function import.setKanbanContainerStatus(String kanbanContainer, String kanbanContainerStatus, BigDecimal actualQuantityInUnitOfEntry, String unitOfEntry, String batch, ZonedDateTime kanbanCtnStatusChangeDateTime, String deliveryNote) Deprecated.Creates a fluent helper for the SetKanbanContainerStatus OData function import.setKanbanControlCycleLifeCycleStatus(String kanbanControlCycle, String kanbanCtrlCycleLifeCycleStatus) Deprecated.Creates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import.updateKanbanControlCycle(KanbanControlCycle kanbanControlCycle) Deprecated.Update an existingKanbanControlCycleentity and save it to the S/4HANA system.withdrawQuantityFromControlCycle(String kanbanControlCycle, BigDecimal kanbanCtrlCycWthdrwlQtyInBsUnt) Deprecated.Creates a fluent helper for the WithdrawQuantityFromControlCycle OData function import.withdrawQuantityFromKanbanContainer(String kanbanContainer, BigDecimal kanbanCtnWithdrawalQtyInBsUnt) Deprecated.Creates a fluent helper for the WithdrawQuantityFromKanbanContainer OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultKanbanControlCycleV2Service
public DefaultKanbanControlCycleV2Service()Deprecated.Creates a service usingKanbanControlCycleV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceKanbanControlCycleV2Service- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<KanbanControlCycleV2ServiceBatch>
-
getAllKanbanContainer
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch multipleKanbanContainerentities.- Specified by:
getAllKanbanContainerin interfaceKanbanControlCycleV2Service- Returns:
- A fluent helper to fetch multiple
KanbanContainerentities. 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.
-
getKanbanContainerByKey
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch a singleKanbanContainerentity using key fields.- Specified by:
getKanbanContainerByKeyin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban ContainerConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
KanbanContainerentity 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.
-
getAllKanbanContainerDeliveryAddr
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch multipleKanbanContainerDeliveryAddrentities.- Specified by:
getAllKanbanContainerDeliveryAddrin interfaceKanbanControlCycleV2Service- Returns:
- A fluent helper to fetch multiple
KanbanContainerDeliveryAddrentities. 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.
-
getKanbanContainerDeliveryAddrByKey
@Nonnull public KanbanContainerDeliveryAddrByKeyFluentHelper getKanbanContainerDeliveryAddrByKey(String kanbanControlCycle) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch a singleKanbanContainerDeliveryAddrentity using key fields.- Specified by:
getKanbanContainerDeliveryAddrByKeyin interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle- Kanban Control CycleConstraints: Not nullable, Maximum length: 7
- Returns:
- A fluent helper to fetch a single
KanbanContainerDeliveryAddrentity 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.
-
getAllKanbanControlCycle
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch multipleKanbanControlCycleentities.- Specified by:
getAllKanbanControlCyclein interfaceKanbanControlCycleV2Service- Returns:
- A fluent helper to fetch multiple
KanbanControlCycleentities. 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.
-
getKanbanControlCycleByKey
@Nonnull public KanbanControlCycleByKeyFluentHelper getKanbanControlCycleByKey(String kanbanControlCycle) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch a singleKanbanControlCycleentity using key fields.- Specified by:
getKanbanControlCycleByKeyin interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle- Kanban Control CycleConstraints: Not nullable, Maximum length: 7
- Returns:
- A fluent helper to fetch a single
KanbanControlCycleentity 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.
-
createKanbanControlCycle
@Nonnull public KanbanControlCycleCreateFluentHelper createKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreate a newKanbanControlCycleentity and save it to the S/4HANA system.- Specified by:
createKanbanControlCyclein interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle-KanbanControlCycleentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
KanbanControlCycleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateKanbanControlCycle
@Nonnull public KanbanControlCycleUpdateFluentHelper updateKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceUpdate an existingKanbanControlCycleentity and save it to the S/4HANA system.- Specified by:
updateKanbanControlCyclein interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle-KanbanControlCycleentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
KanbanControlCycleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteKanbanControlCycle
@Nonnull public KanbanControlCycleDeleteFluentHelper deleteKanbanControlCycle(@Nonnull KanbanControlCycle kanbanControlCycle) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceDeletes an existingKanbanControlCycleentity in the S/4HANA system.- Specified by:
deleteKanbanControlCyclein interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle-KanbanControlCycleentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
KanbanControlCycleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllKanbanCtnDetailedQty
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch multipleKanbanCtnDetailedQtyentities.- Specified by:
getAllKanbanCtnDetailedQtyin interfaceKanbanControlCycleV2Service- Returns:
- A fluent helper to fetch multiple
KanbanCtnDetailedQtyentities. 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.
-
getKanbanCtnDetailedQtyByKey
@Nonnull public KanbanCtnDetailedQtyByKeyFluentHelper getKanbanCtnDetailedQtyByKey(String kanbanContainer, String batch) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch a singleKanbanCtnDetailedQtyentity using key fields.- Specified by:
getKanbanCtnDetailedQtyByKeyin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban Identification NumberConstraints: Not nullable, Maximum length: 10
batch- Batch NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
KanbanCtnDetailedQtyentity 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.
-
getAllKanbanDelivery
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch multipleKanbanDeliveryentities.- Specified by:
getAllKanbanDeliveryin interfaceKanbanControlCycleV2Service- Returns:
- A fluent helper to fetch multiple
KanbanDeliveryentities. 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.
-
getKanbanDeliveryByKey
Deprecated.Description copied from interface:KanbanControlCycleV2ServiceFetch a singleKanbanDeliveryentity using key fields.- Specified by:
getKanbanDeliveryByKeyin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban Identification NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
KanbanDeliveryentity 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.
-
setKanbanContainerStatus
@Nonnull public SetKanbanContainerStatusFluentHelper setKanbanContainerStatus(@Nonnull String kanbanContainer, @Nullable String kanbanContainerStatus, @Nullable BigDecimal actualQuantityInUnitOfEntry, @Nullable String unitOfEntry, @Nullable String batch, @Nullable ZonedDateTime kanbanCtnStatusChangeDateTime, @Nullable String deliveryNote) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the SetKanbanContainerStatus OData function import.
- Specified by:
setKanbanContainerStatusin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
kanbanContainerStatus- Kanban StatusConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: KanbanContainerStatus
actualQuantityInUnitOfEntry- Actual QuantityConstraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ActualQuantityInUnitOfEntry
unitOfEntry- UnitConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfEntry
batch- BatchConstraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: Batch
kanbanCtnStatusChangeDateTime- Time StampConstraints: Nullable, Precision: 7
Original parameter name from the Odata EDM: KanbanCtnStatusChangeDateTime
deliveryNote- Delivery noteConstraints: Nullable, Maximum length: 16
Original parameter name from the Odata EDM: DeliveryNote
- Returns:
- A fluent helper object that will execute the SetKanbanContainerStatus OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setKanbanContainerLock
@Nonnull public SetKanbanContainerLockFluentHelper setKanbanContainerLock(@Nonnull String kanbanContainer, @Nonnull Boolean isLocked) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the SetKanbanContainerLock OData function import.
- Specified by:
setKanbanContainerLockin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
isLocked- Kanban is LockedConstraints: none
Original parameter name from the Odata EDM: IsLocked
- Returns:
- A fluent helper object that will execute the SetKanbanContainerLock OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setKanbanControlCycleLifeCycleStatus
@Nonnull public SetKanbanControlCycleLifeCycleStatusFluentHelper setKanbanControlCycleLifeCycleStatus(@Nonnull String kanbanControlCycle, @Nonnull String kanbanCtrlCycleLifeCycleStatus) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the SetKanbanControlCycleLifeCycleStatus OData function import.
- Specified by:
setKanbanControlCycleLifeCycleStatusin interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle- Control CycleConstraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
kanbanCtrlCycleLifeCycleStatus- Lifecycle StatusConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: KanbanCtrlCycleLifeCycleStatus
- Returns:
- A fluent helper object that will execute the SetKanbanControlCycleLifeCycleStatus OData function
import with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
addEventDrivenKanbanContainer
@Nonnull public AddEventDrivenKanbanContainerFluentHelper addEventDrivenKanbanContainer(@Nonnull String kanbanControlCycle, @Nullable BigDecimal requestedQuantityInBaseUnit, @Nullable ZonedDateTime requestedDeliveryDateTime, @Nullable String packingInstruction, @Nullable Short numberOfLoadCarriers) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the AddEventDrivenKanbanContainer OData function import.
- Specified by:
addEventDrivenKanbanContainerin interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle- Control CycleConstraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
requestedQuantityInBaseUnit- Requested QuantityConstraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: RequestedQuantityInBaseUnit
requestedDeliveryDateTime- Time StampConstraints: Nullable, Precision: 7
Original parameter name from the Odata EDM: RequestedDeliveryDateTime
packingInstruction- Packing instructionConstraints: Nullable, Maximum length: 20
Original parameter name from the Odata EDM: PackingInstruction
numberOfLoadCarriers- No.Load CarriersConstraints: Nullable
Original parameter name from the Odata EDM: NumberOfLoadCarriers
- Returns:
- A fluent helper object that will execute the AddEventDrivenKanbanContainer OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
withdrawQuantityFromControlCycle
@Nonnull public WithdrawQuantityFromControlCycleFluentHelper withdrawQuantityFromControlCycle(@Nonnull String kanbanControlCycle, @Nonnull BigDecimal kanbanCtrlCycWthdrwlQtyInBsUnt) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the WithdrawQuantityFromControlCycle OData function import.
- Specified by:
withdrawQuantityFromControlCyclein interfaceKanbanControlCycleV2Service- Parameters:
kanbanControlCycle- Control CycleConstraints: Not nullable, Maximum length: 7
Original parameter name from the Odata EDM: KanbanControlCycle
kanbanCtrlCycWthdrwlQtyInBsUnt- Withdrawal quantityConstraints: Not nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: KanbanCtrlCycWthdrwlQtyInBsUnt
- Returns:
- A fluent helper object that will execute the WithdrawQuantityFromControlCycle OData function
import with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
withdrawQuantityFromKanbanContainer
@Nonnull public WithdrawQuantityFromKanbanContainerFluentHelper withdrawQuantityFromKanbanContainer(@Nonnull String kanbanContainer, @Nonnull BigDecimal kanbanCtnWithdrawalQtyInBsUnt) Deprecated.Description copied from interface:KanbanControlCycleV2ServiceCreates a fluent helper for the WithdrawQuantityFromKanbanContainer OData function import.
- Specified by:
withdrawQuantityFromKanbanContainerin interfaceKanbanControlCycleV2Service- Parameters:
kanbanContainer- Kanban IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: KanbanContainer
kanbanCtnWithdrawalQtyInBsUnt- Withdrawal quantityConstraints: Not nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: KanbanCtnWithdrawalQtyInBsUnt
- Returns:
- A fluent helper object that will execute the WithdrawQuantityFromKanbanContainer OData function
import with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-