PP
BAPI
RFC
Used the same way in S/4HANA
BAPI_PRODORDCONF_CREATE_TT Enter Production Order Confirmation (Time Ticket)
Posts operation confirmations for production orders as time tickets, with yield, scrap, activities and optional goods movements, like CO11N. It is the usual choice for MES, terminal and Excel upload interfaces that report shop-floor progress. RETURN is a single BAPIRET1 structure, so also check DETAIL_RETURN line by line and call BAPI_TRANSACTION_COMMIT after a successful call.
- Function group
- 2116
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
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 | — |
| TIMETICKETS | BAPI_PP_TIMETICKET | Time ticket confirmations | Yes |
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_PRODORDCONF_CREATE_TT'
IMPORTING
return = lv_return
TABLES
detail_return = lt_detail_return
goodsmovements = lt_goodsmovements
link_conf_goodsmov = lt_link_conf_goodsmov
timetickets = lt_timetickets.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.