PP
BAPI
RFC
Used the same way in S/4HANA
BAPI_PRODORD_COMPLETE_TECH Technically Complete Production Orders
Sets the technically completed status (TECO) for the production orders in the ORDERS table, which removes open reservations and capacity requirements. It is used in period-end clean-up programs and after the last confirmation from shop-floor systems. Read DETAIL_RETURN per order and commit afterwards; orders with open goods movements may raise warnings.
- Function group
- 2005_BAPI
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| SCOPE_COMPL_TECH | BAPI_ORDER_FUNC_CNTRL-SCOPE_COMPL_TECH | Scope of technical completion | — |
| WORK_PROCESS_GROUP | BAPI_ORDER_CNTRL_PARAM-WORK_PROC_GROUP | Server group for parallel processing | — |
| WORK_PROCESS_MAX | BAPI_ORDER_CNTRL_PARAM-WORK_PROC_MAX | Maximum number of work processes | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ORDERS | BAPI_ORDER_KEY | Production order numbers | Yes |
| DETAIL_RETURN | BAPI_ORDER_RETURN | Detailed return messages per object | — |
| APPLICATION_LOG | BAPI_ORDER_APPLICATION_LOG | Application log handle | — |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_PRODORD_COMPLETE_TECH'
IMPORTING
return = lv_return
TABLES
orders = lt_orders
detail_return = lt_detail_return
application_log = lt_application_log.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.