public interface ProductionOrderV2Service extends BatchService<ProductionOrderV2ServiceBatch>
In addition to create, read, and update, you can also release production orders and operations. This service enables you to convert planned orders to production orders, schedule production order operations, and set further statuses for the order such as technically completed, closed, or discarded by MES. In addition, you can set the deletion flag, deletion indicator, and delivery completed indicator.
Reference: SAP API Business Hub
OData Service: | API_PRODUCTION_ORDER_2_SRV |
API Version: | 1 |
Communication Scenario: | Manufacturing Execution - Order and Confirmation Integration (SAP_COM_0522) |
Scope Items: | Third-Party Shop Floor Execution - Process Industry (3W3), Third-Party Shop Floor Execution - Discrete Industry (3W4) |
Authentication Methods: | Basic, x509 |
Business Object: | ProductionOrder |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
CloseOrderFluentHelper |
closeOrder(String manufacturingOrder)
Creates a fluent helper for the CloseOrder OData function import.
|
ConvertPlndOrderFluentHelper |
convertPlndOrder(String manufacturingOrder,
String plannedOrder,
String manufacturingOrderType)
Creates a fluent helper for the ConvertPlndOrder OData function import.
|
ProductionOrder_2CreateFluentHelper |
createProductionOrder_2(ProductionOrder_2 productionOrder_2)
Create a new
ProductionOrder_2 entity and save it to the S/4HANA system. |
DeletionFlagOrderFluentHelper |
deletionFlagOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionFlagOrder OData function import.
|
DeletionIndOrderFluentHelper |
deletionIndOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionIndOrder OData function import.
|
DeliveryCompletedOrderFluentHelper |
deliveryCompletedOrder(String manufacturingOrder)
Creates a fluent helper for the DeliveryCompletedOrder OData function import.
|
DiscardOrderFluentHelper |
discardOrder(String manufacturingOrder)
Creates a fluent helper for the DiscardOrder OData function import.
|
ProductionOrder_2FluentHelper |
getAllProductionOrder_2()
Fetch multiple
ProductionOrder_2 entities. |
ProductionOrderComponent_2FluentHelper |
getAllProductionOrderComponent_2()
Fetch multiple
ProductionOrderComponent_2 entities. |
ProductionOrderItem_2FluentHelper |
getAllProductionOrderItem_2()
Fetch multiple
ProductionOrderItem_2 entities. |
ProductionOrderOperation_2FluentHelper |
getAllProductionOrderOperation_2()
Fetch multiple
ProductionOrderOperation_2 entities. |
ProductionOrderStatus_2FluentHelper |
getAllProductionOrderStatus_2()
Fetch multiple
ProductionOrderStatus_2 entities. |
ProductionRsceTools_2FluentHelper |
getAllProductionRsceTools_2()
Fetch multiple
ProductionRsceTools_2 entities. |
ProductionOrder_2ByKeyFluentHelper |
getProductionOrder_2ByKey(String manufacturingOrder)
Fetch a single
ProductionOrder_2 entity using key fields. |
ProductionOrderComponent_2ByKeyFluentHelper |
getProductionOrderComponent_2ByKey(String reservation,
String reservationItem)
Fetch a single
ProductionOrderComponent_2 entity using key fields. |
ProductionOrderItem_2ByKeyFluentHelper |
getProductionOrderItem_2ByKey(String manufacturingOrder,
String manufacturingOrderItem)
Fetch a single
ProductionOrderItem_2 entity using key fields. |
ProductionOrderOperation_2ByKeyFluentHelper |
getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem)
Fetch a single
ProductionOrderOperation_2 entity using key fields. |
ProductionOrderStatus_2ByKeyFluentHelper |
getProductionOrderStatus_2ByKey(String manufacturingOrder,
String statusCode)
Fetch a single
ProductionOrderStatus_2 entity using key fields. |
ProductionRsceTools_2ByKeyFluentHelper |
getProductionRsceTools_2ByKey(String orderInternalBillOfOperations,
String mfgOrderOpProdnRsceToolIntID)
Fetch a single
ProductionRsceTools_2 entity using key fields. |
ReleaseOperationFluentHelper |
releaseOperation(String manufacturingOrder,
String manufacturingOrderOperation,
String manufacturingOrderSequence)
Creates a fluent helper for the ReleaseOperation OData function import.
|
ReleaseOrderFluentHelper |
releaseOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseOrder OData function import.
|
ScheduleProductionOrderOperationFluentHelper |
scheduleProductionOrderOperation(String manufacturingOrder,
String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem,
LocalDateTime opSchedldStartDate,
LocalTime opSchedldStartTime,
LocalDateTime opSchedldEndDate,
LocalTime opSchedldEndTime,
String opSchedulingMode,
String opSchedulingStatus,
String opSchedulingStrategy)
Creates a fluent helper for the ScheduleProductionOrderOperation OData function import.
|
TechlyCmpltOrderFluentHelper |
techlyCmpltOrder(String manufacturingOrder)
Creates a fluent helper for the TechlyCmpltOrder OData function import.
|
ProductionOrder_2UpdateFluentHelper |
updateProductionOrder_2(ProductionOrder_2 productionOrder_2)
Update an existing
ProductionOrder_2 entity and save it to the S/4HANA system. |
ProductionOrderV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ProductionOrderV2Service withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProductionOrderComponent_2FluentHelper getAllProductionOrderComponent_2()
ProductionOrderComponent_2
entities.ProductionOrderComponent_2
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 ProductionOrderComponent_2ByKeyFluentHelper getProductionOrderComponent_2ByKey(String reservation, String reservationItem)
ProductionOrderComponent_2
entity using key fields.reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
ProductionOrderComponent_2
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 ProductionOrderItem_2FluentHelper getAllProductionOrderItem_2()
ProductionOrderItem_2
entities.ProductionOrderItem_2
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 ProductionOrderItem_2ByKeyFluentHelper getProductionOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem)
ProductionOrderItem_2
entity using key fields.manufacturingOrderItem
- Manufacturing Order Item ID
Constraints: Not nullable, Maximum length: 4
manufacturingOrder
- Production Order
Constraints: Not nullable, Maximum length: 12
ProductionOrderItem_2
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 ProductionOrderOperation_2FluentHelper getAllProductionOrderOperation_2()
ProductionOrderOperation_2
entities.ProductionOrderOperation_2
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 ProductionOrderOperation_2ByKeyFluentHelper getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
ProductionOrderOperation_2
entity using key fields.orderIntBillOfOperationsItem
- Internal Identifier of an Operation or Activity
Constraints: Not nullable, Maximum length: 8
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
ProductionOrderOperation_2
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 ProductionOrderStatus_2FluentHelper getAllProductionOrderStatus_2()
ProductionOrderStatus_2
entities.ProductionOrderStatus_2
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 ProductionOrderStatus_2ByKeyFluentHelper getProductionOrderStatus_2ByKey(String manufacturingOrder, String statusCode)
ProductionOrderStatus_2
entity using key fields.manufacturingOrder
- Production Order
Constraints: Not nullable, Maximum length: 12
statusCode
- Key which informs you of the current status of an object.
Constraints: Not nullable, Maximum length: 5
ProductionOrderStatus_2
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 ProductionOrder_2FluentHelper getAllProductionOrder_2()
ProductionOrder_2
entities.ProductionOrder_2
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 ProductionOrder_2ByKeyFluentHelper getProductionOrder_2ByKey(String manufacturingOrder)
ProductionOrder_2
entity using key fields.manufacturingOrder
- Production Order
Constraints: Not nullable, Maximum length: 12
ProductionOrder_2
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 ProductionOrder_2CreateFluentHelper createProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2)
ProductionOrder_2
entity and save it to the S/4HANA system.productionOrder_2
- ProductionOrder_2
entity object that will be created in the S/4HANA system.ProductionOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProductionOrder_2UpdateFluentHelper updateProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2)
ProductionOrder_2
entity and save it to the S/4HANA system.productionOrder_2
- ProductionOrder_2
entity object that will be updated in the S/4HANA system.ProductionOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProductionRsceTools_2FluentHelper getAllProductionRsceTools_2()
ProductionRsceTools_2
entities.ProductionRsceTools_2
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 ProductionRsceTools_2ByKeyFluentHelper getProductionRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
ProductionRsceTools_2
entity using key fields.mfgOrderOpProdnRsceToolIntID
- Serial counter which is used for the unique identification of production resources/tools.
Constraints: Not nullable, Maximum length: 8
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
ProductionRsceTools_2
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 ReleaseOrderFluentHelper releaseOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull ReleaseOperationFluentHelper releaseOperation(String manufacturingOrder, String manufacturingOrderOperation, String manufacturingOrderSequence)
Creates a fluent helper for the ReleaseOperation OData function import.
manufacturingOrderOperation
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ManufacturingOrderOperation
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
manufacturingOrderSequence
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrderSequence
execute
method on the fluent helper object.@Nonnull TechlyCmpltOrderFluentHelper techlyCmpltOrder(String manufacturingOrder)
Creates a fluent helper for the TechlyCmpltOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull CloseOrderFluentHelper closeOrder(String manufacturingOrder)
Creates a fluent helper for the CloseOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull DeletionFlagOrderFluentHelper deletionFlagOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionFlagOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull DeletionIndOrderFluentHelper deletionIndOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionIndOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull DiscardOrderFluentHelper discardOrder(String manufacturingOrder)
Creates a fluent helper for the DiscardOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull ConvertPlndOrderFluentHelper convertPlndOrder(String manufacturingOrder, String plannedOrder, String manufacturingOrderType)
Creates a fluent helper for the ConvertPlndOrder OData function import.
plannedOrder
- Constraints: none
Original parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType
- Constraints: Nullable
Original parameter name from the Odata EDM: ManufacturingOrderType
manufacturingOrder
- Constraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull ScheduleProductionOrderOperationFluentHelper scheduleProductionOrderOperation(String manufacturingOrder, String orderInternalBillOfOperations, String orderIntBillOfOperationsItem, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy)
Creates a fluent helper for the ScheduleProductionOrderOperation OData function import.
orderIntBillOfOperationsItem
- Operation Internal ID
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: OrderIntBillOfOperationsItem
opSchedldStartDate
- Execution Start Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
opSchedulingStrategy
- Component of the Version Number
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: OrderInternalBillOfOperations
opSchedulingStatus
- Status
Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingMode
- Scheduling type
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
manufacturingOrder
- Order
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
opSchedldStartTime
- Execution Start Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate
- Execution End Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime
- Execution End Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
execute
method on the fluent helper object.@Nonnull DeliveryCompletedOrderFluentHelper deliveryCompletedOrder(String manufacturingOrder)
Creates a fluent helper for the DeliveryCompletedOrder OData function import.
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.