# 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.

- 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-getdetail/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| CONFIRMATION | BAPI_PP_CONF_KEY-CONF_NO | Confirmation number | Yes |
| CONFIRMATIONCOUNTER | BAPI_PP_CONF_KEY-CONF_CNT | Confirmation counter | Yes |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| CONF_DETAIL | BAPI_PP_CONFIRM | Confirmation details |
| RETURN | BAPIRET1 | Return messages |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| FAILEDGMOVES | BAPI_CORU_FGM | Failed goods movements | - |
| GOODSMOVEMENTS | BAPI2017_GM_ITEM_SHOW | Posted goods movements | - |

## Call template (ABAP)

```abap
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

AFRU

