public interface ProductionOrderService extends BatchService<ProductionOrderServiceBatch>
This synchronous inbound service enables you to create, read, and change production orders. You can also release orders and operations. In addition, this service enables you to schedule production order operations, technically complete and close production orders as well as set the deletion flag and deletion indicator.
Reference: SAP API Business Hub
OData Service: | API_PRODUCTION_ORDERS |
API Version: | 1 |
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) |
Authentication Methods: | Basic, x509 |
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 |
---|---|
CloseProdnOrdFluentHelper |
closeProdnOrd(String manufacturingOrder)
Creates a fluent helper for the CloseProdnOrd OData function import.
|
CompleteTechnicallyProdnOrdFluentHelper |
completeTechnicallyProdnOrd(String manufacturingOrder)
Creates a fluent helper for the CompleteTechnicallyProdnOrd OData function import.
|
ConvertPlannedOrderFluentHelper |
convertPlannedOrder(String plannedOrder,
String manufacturingOrderType,
String manufacturingOrder)
Creates a fluent helper for the ConvertPlannedOrder OData function import.
|
ProductionOrderCreateFluentHelper |
createProductionOrder(ProductionOrder productionOrder)
Create a new
ProductionOrder entity and save it to the S/4HANA system. |
ProductionOrderFluentHelper |
getAllProductionOrder()
Fetch multiple
ProductionOrder entities. |
ProductionOrderComponentFluentHelper |
getAllProductionOrderComponent()
Fetch multiple
ProductionOrderComponent entities. |
ProductionOrderItemFluentHelper |
getAllProductionOrderItem()
Fetch multiple
ProductionOrderItem entities. |
ProductionOrderOperationFluentHelper |
getAllProductionOrderOperation()
Fetch multiple
ProductionOrderOperation entities. |
ProductionOrderStatusFluentHelper |
getAllProductionOrderStatus()
Fetch multiple
ProductionOrderStatus entities. |
ProductionRsceToolsFluentHelper |
getAllProductionRsceTools()
Fetch multiple
ProductionRsceTools entities. |
ProductionOrderByKeyFluentHelper |
getProductionOrderByKey(String productionOrder)
Fetch a single
ProductionOrder entity using key fields. |
ProductionOrderComponentByKeyFluentHelper |
getProductionOrderComponentByKey(String reservation,
String reservationItem)
Fetch a single
ProductionOrderComponent entity using key fields. |
ProductionOrderItemByKeyFluentHelper |
getProductionOrderItemByKey(String manufacturingOrder,
String manufacturingOrderItem)
Fetch a single
ProductionOrderItem entity using key fields. |
ProductionOrderOperationByKeyFluentHelper |
getProductionOrderOperationByKey(String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem)
Fetch a single
ProductionOrderOperation entity using key fields. |
ProductionOrderStatusByKeyFluentHelper |
getProductionOrderStatusByKey(String manufacturingOrder,
String statusCode)
Fetch a single
ProductionOrderStatus entity using key fields. |
ProductionRsceToolsByKeyFluentHelper |
getProductionRsceToolsByKey(String orderInternalBillOfOperations,
String mfgOrderOpProdnRsceToolIntID)
Fetch a single
ProductionRsceTools entity using key fields. |
ReleaseProductionOrderFluentHelper |
releaseProductionOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseProductionOrder OData function import.
|
ReleaseProductionOrderOprFluentHelper |
releaseProductionOrderOpr(String manufacturingOrder,
String manufacturingOrderOperation)
Creates a fluent helper for the ReleaseProductionOrderOpr OData function import.
|
ScheduleProductionOrderOperationFluentHelper |
scheduleProductionOrderOperation(String productionOrder,
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.
|
SetDeltnFlagProdnOrdFluentHelper |
setDeltnFlagProdnOrd(String manufacturingOrder)
Creates a fluent helper for the SetDeltnFlagProdnOrd OData function import.
|
SetDeltnIndProdnOrdFluentHelper |
setDeltnIndProdnOrd(String manufacturingOrder)
Creates a fluent helper for the SetDeltnIndProdnOrd OData function import.
|
ProductionOrderUpdateFluentHelper |
updateProductionOrder(ProductionOrder productionOrder)
Update an existing
ProductionOrder entity and save it to the S/4HANA system. |
ProductionOrderService |
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 ProductionOrderService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProductionOrderFluentHelper getAllProductionOrder()
ProductionOrder
entities.ProductionOrder
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 ProductionOrderByKeyFluentHelper getProductionOrderByKey(String productionOrder)
ProductionOrder
entity using key fields.productionOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
ProductionOrder
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 ProductionOrderCreateFluentHelper createProductionOrder(@Nonnull ProductionOrder productionOrder)
ProductionOrder
entity and save it to the S/4HANA system.productionOrder
- ProductionOrder
entity object that will be created in the S/4HANA system.ProductionOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProductionOrderUpdateFluentHelper updateProductionOrder(@Nonnull ProductionOrder productionOrder)
ProductionOrder
entity and save it to the S/4HANA system.productionOrder
- ProductionOrder
entity object that will be updated in the S/4HANA system.ProductionOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProductionOrderComponentFluentHelper getAllProductionOrderComponent()
ProductionOrderComponent
entities.ProductionOrderComponent
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 ProductionOrderComponentByKeyFluentHelper getProductionOrderComponentByKey(String reservation, String reservationItem)
ProductionOrderComponent
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
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 ProductionOrderItemFluentHelper getAllProductionOrderItem()
ProductionOrderItem
entities.ProductionOrderItem
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 ProductionOrderItemByKeyFluentHelper getProductionOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem)
ProductionOrderItem
entity using key fields.manufacturingOrderItem
- Manufacturing Order Item ID
Constraints: Not nullable, Maximum length: 4
manufacturingOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
ProductionOrderItem
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 ProductionOrderOperationFluentHelper getAllProductionOrderOperation()
ProductionOrderOperation
entities.ProductionOrderOperation
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 ProductionOrderOperationByKeyFluentHelper getProductionOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
ProductionOrderOperation
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
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 ProductionOrderStatusFluentHelper getAllProductionOrderStatus()
ProductionOrderStatus
entities.ProductionOrderStatus
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 ProductionOrderStatusByKeyFluentHelper getProductionOrderStatusByKey(String manufacturingOrder, String statusCode)
ProductionOrderStatus
entity using key fields.manufacturingOrder
- Key that uniquely identifies an order within a client.
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
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 ProductionRsceToolsFluentHelper getAllProductionRsceTools()
ProductionRsceTools
entities.ProductionRsceTools
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 ProductionRsceToolsByKeyFluentHelper getProductionRsceToolsByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
ProductionRsceTools
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
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 ReleaseProductionOrderFluentHelper releaseProductionOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseProductionOrder OData function import.
manufacturingOrder
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull ReleaseProductionOrderOprFluentHelper releaseProductionOrderOpr(String manufacturingOrder, String manufacturingOrderOperation)
Creates a fluent helper for the ReleaseProductionOrderOpr OData function import.
manufacturingOrderOperation
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrderOperation
manufacturingOrder
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull CompleteTechnicallyProdnOrdFluentHelper completeTechnicallyProdnOrd(String manufacturingOrder)
Creates a fluent helper for the CompleteTechnicallyProdnOrd 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 CloseProdnOrdFluentHelper closeProdnOrd(String manufacturingOrder)
Creates a fluent helper for the CloseProdnOrd 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 SetDeltnFlagProdnOrdFluentHelper setDeltnFlagProdnOrd(String manufacturingOrder)
Creates a fluent helper for the SetDeltnFlagProdnOrd 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 SetDeltnIndProdnOrdFluentHelper setDeltnIndProdnOrd(String manufacturingOrder)
Creates a fluent helper for the SetDeltnIndProdnOrd 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 ConvertPlannedOrderFluentHelper convertPlannedOrder(String plannedOrder, String manufacturingOrderType, String manufacturingOrder)
Creates a fluent helper for the ConvertPlannedOrder OData function import.
plannedOrder
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType
- Constraints: Nullable, Maximum length: 4
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 productionOrder, 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
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
productionOrder
- Order
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ProductionOrder
opSchedldEndTime
- Execution End Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.