PP BAPI RFC Used the same way in S/4HANA

BAPI_PRODORDCONF_GETDETAIL Get Production Order Confirmation Details

Reads the details of one production order confirmation, including the posted and the failed goods movements. It is used in reconciliation reports and in interfaces that send confirmation data back to MES. Call BAPI_PRODORDCONF_GETLIST first to find the confirmation number and counter.

Function group
2116
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
CONFIRMATIONBAPI_PP_CONF_KEY-CONF_NOConfirmation numberYes
CONFIRMATIONCOUNTERBAPI_PP_CONF_KEY-CONF_CNTConfirmation counterYes

Exporting parameters

ParameterTypeDescription
CONF_DETAILBAPI_PP_CONFIRMConfirmation details
RETURNBAPIRET1Return messages

Tables parameters

ParameterTypeDescriptionRequired
FAILEDGMOVESBAPI_CORU_FGMFailed goods movements—
GOODSMOVEMENTSBAPI2017_GM_ITEM_SHOWPosted goods movements—

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_GETDETAIL'
  EXPORTING
    confirmation = lv_confirmation
    confirmationcounter = lv_confirmationcounter
  IMPORTING
    conf_detail = lv_conf_detail
    return = lv_return
  TABLES
    failedgmoves = lt_failedgmoves
    goodsmovements = lt_goodsmovements.

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