# BAPI_INB_DELIVERY_CONFIRM_DEC — Confirm Inbound Delivery from Decentralized System

> Confirms an inbound delivery from a decentralized warehouse system, for example actual quantities, handling units and batches after putaway. It is called mostly through ALE by decentralized WM or external warehouse systems. Use it only in that scenario; for normal changes inside ERP use BAPI_INB_DELIVERY_CHANGE, and always check the RETURN table.

- Modules: WM
- Type: BAPI
- Function group: V50I
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-inb-delivery-confirm-dec/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| HEADER_DATA | BAPIIBDLVHDRCON | Delivery header data | Yes |
| HEADER_CONTROL | BAPIIBDLVHDRCTRLCON | Header control flags | Yes |
| DELIVERY | BAPIIBDLVHDRCON-DELIV_NUMB | Delivery number | Yes |
| TECHN_CONTROL | BAPIDLVCONTROL | Technical control data | - |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| HEADER_PARTNER | BAPIDLVPARTNERCHG | Header partners | - |
| HEADER_DEADLINES | BAPIDLVDEADLN | Header deadlines | - |
| ITEM_DATA | BAPIIBDLVITEMCON | Item data | - |
| ITEM_CONTROL | BAPIIBDLVITEMCTRLCON | Item control flags | - |
| ITEM_SERIAL_NO | BAPIDLVITMSERNO | Item serial numbers | - |
| HANDLING_UNIT_HEADER | BAPIDLVHDUNHDR | Handling unit header | - |
| HANDLING_UNIT_ITEM | BAPIDLVHDUNITM | Handling unit items | - |
| EXTENSION1 | BAPIEXTC | Customer extension data | - |
| RETURN | BAPIRET2 | Return messages | Yes |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_INB_DELIVERY_CONFIRM_DEC'
  EXPORTING
    header_data = lv_header_data
    header_control = lv_header_control
    delivery = lv_delivery
  TABLES
    header_partner = lt_header_partner
    header_deadlines = lt_header_deadlines
    item_data = lt_item_data
    item_control = lt_item_control
    item_serial_no = lt_item_serial_no
    handling_unit_header = lt_handling_unit_header
    handling_unit_item = lt_handling_unit_item
    extension1 = lt_extension1
    return = lt_return.
```

## Related tables

LIKP, LIPS

