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

ParameterTypeDescriptionRequired
POST_WRONG_ENTRIESBAPI_CORU_PARAM-INS_ERRPost incorrect entries to error pool—
TESTRUNBAPI_CORU_PARAM-TESTRUNTest run (no update)—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET1Return messages

Tables parameters

ParameterTypeDescriptionRequired
DETAIL_RETURNBAPI_CORU_RETURNDetailed return messages per object—
GOODSMOVEMENTSBAPI2017_GM_ITEM_CREATEGoods movements—
LINK_CONF_GOODSMOVBAPI_LINK_CONF_GOODSMOVLink between confirmation and goods movement—
TIMETICKETSBAPI_PP_TIMETICKETTime ticket confirmationsYes

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.

Request a custom report