SAP Function /SPE/RET_CLOSE_DELIVERY - Closing of returns deliveries

Parameter Reference Type Length Default Optional Text
IT_DELIVERY_ITEMS /SPE/RET_CANC_ITEMS_T h 45 Key and Update Indicator for a Delivery Item

Parameter Reference Type Length Text
ET_CHANGED_ITEMS /SPE/RET_CANC_ITEMS_T h 45 Key and Update Indicator for a Delivery Item
ET_RETURN BAPIRET2_T h 548 Return parameter table

Parameter Reference Type Length Default Optional Text
CT_VBFS_LOG LESHP_VBFS_T h 260 X Table Category for VBFS Structure: Error Log

Exception Text
NO_CLS_EXCCODE no exception code for closing defined in customizing
NO_INPUT_DATA
NO_PERMISSION no authorization for closing deliveries

Functionality
This function module is used to close returns deliveries that areselected using the delivery monitor. It is typically used when theexternal validity period for the returns delivery items has expired.

Description
This export parameter table contains the closed delivery items.

Description
This import parameter table contains the delivery numbers or thedelivery numbers and delivery items of returns deliveries that areselected to be closed by the delivery monitor.