Hi,
I don't know if you can do this in one call. I think you first need to create the delivery and then after creation call another BAPI to do PGI.
Maybe one of the following bapi's can do this:
- BAPI_OUTB_DELIVERY_CONFIRM_DEC (structure ITEM_DATA_SPL)
- BAPI_OUTB_DELIVERY_CHANGE