# BAPI_OUTB_DELIVERY_CONFIRM_DEC — Confirm Outbound Delivery from Decentralized System

> Confirms an outbound delivery from an external or decentralized warehouse system, including picked quantities, batches, handling units and goods issue. It is the standard entry point for third-party WMS confirmations. Set the goods issue flag in HEADER_CONTROL only when the data is complete, and call BAPI_TRANSACTION_COMMIT afterwards only when RETURN contains no message of type E or A.

- Modules: SD
- 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-outb-delivery-confirm-dec/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| HEADER_DATA | BAPIOBDLVHDRCON | Delivery header confirmation data | Yes |
| HEADER_CONTROL | BAPIOBDLVHDRCTRLCON | Delivery header control flags | Yes |
| DELIVERY | BAPIOBDLVHDRCON-DELIV_NUMB | Delivery number | Yes |
| TECHN_CONTROL | BAPIDLVCONTROL | Technical control data | - |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| ITEM_DATA | BAPIOBDLVITEMCON | Delivery item confirmation data | - |
| ITEM_CONTROL | BAPIOBDLVITEMCTRLCON | Delivery item control flags | - |
| HEADER_DEADLINES | BAPIDLVDEADLN | Header deadlines (dates and times) | - |
| HANDLING_UNIT_HEADER | BAPIDLVHDUNHDR | Handling unit header data | - |
| HANDLING_UNIT_ITEM | BAPIDLVHDUNITM | Handling unit item data | - |
| ITEM_SERIAL_NO | BAPIDLVITMSERNO | Item serial numbers | - |
| EXTENSION1 | BAPIEXTC | Customer enhancement (container) | - |
| EXTENSION2 | BAPIEXT | Customer enhancement (structured) | - |
| RETURN | BAPIRET2 | Return messages | Yes |

## Call template (ABAP)

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

## Related tables

LIKP, LIPS, VEKP, VEPO

