ThingWorx Flow > Connectors Overview > System Connectors > SAP > Technically Complete a Production Order
  
Technically Complete a Production Order
Technical completion means ending a production order from a logistical viewpoint. This function is usually used, if the execution of an order must be stopped prematurely or if the order could not be executed in the required manner and open requirements for the order such as reservations or capacities should be deleted.
The following BAPI has been used for this action:
BAPI_PRODORD_COMPLETE_TECH
Using the Technically Complete a Production Order Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Technically Complete a Production Order action under the SAP connector to the canvas, place the pointer on the action, and then click or double-click the action. The Technically Complete a Production Order action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a SAP Connection in the SAP connector topic.
4. In the Production Order field, enter a production order id.
5. Click Done.
Output Schema
The Technically Complete a Maintenance Order action returns a static output schema. See a sample output schema in the figure that follows: