# BAPI_PRODORDCONF_CREATE_TE — Enter Production Order Confirmation (Time Event)

> Posts time event confirmations such as setup start, processing start, interruption and finish for production order operations. It is used by plant data collection and terminal interfaces that send individual events instead of totals. Send the events in chronological order per operation and commit after checking DETAIL_RETURN.

- Modules: PP
- Type: BAPI
- Function group: 2116
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-prodordconf-create-te/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| POST_WRONG_ENTRIES | BAPI_CORU_PARAM-INS_ERR | Post incorrect entries to error pool | - |
| TESTRUN | BAPI_CORU_PARAM-TESTRUN | Test run (no update) | - |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET1 | Return messages |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| DETAIL_RETURN | BAPI_CORU_RETURN | Detailed return messages per object | - |
| GOODSMOVEMENTS | BAPI2017_GM_ITEM_CREATE | Goods movements | - |
| LINK_CONF_GOODSMOV | BAPI_LINK_CONF_GOODSMOV | Link between confirmation and goods movement | - |
| TIMEEVENTS | BAPI_PP_TIMEEVENT | Time event confirmations | Yes |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TE'
  IMPORTING
    return = lv_return
  TABLES
    detail_return = lt_detail_return
    goodsmovements = lt_goodsmovements
    link_conf_goodsmov = lt_link_conf_goodsmov
    timeevents = lt_timeevents.
```

## Related tables

AFRU, AFVV, MSEG

