Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_OUTB_DELIVERY_CHANGE

Hi,


I am executing BAPI_OUTB_DELIVERY_CHANGE, but it throws error.  and in return table there is no message comes. only 1 line with error no and no description.


Can you please tell what is missing in below coding so that BAPI_OUTB_DELIVERY_CHANGE will execute properly.

 


   CLEAR gs_header_data.

   gs_header_data-deliv_numb = <fs_ekbe>-ebeln.

   CLEAR gs_header_control.

   gs_header_control-deliv_numb = <fs_ekbe>-ebeln.

   gs_header_control-dlv_del    = gc_x.

   CLEAR gs_delivery.

   gs_delivery = <fs_ekbe>-ebeln.

   REFRESH gt_return.

   CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'

     EXPORTING

       header_data    = gs_header_data

       header_control = gs_header_control

       delivery       = gs_delivery

     TABLES

       item_data      = gt_item_data

       item_control   = gt_item_control

       return         = gt_return.

Former Member
Not what you were looking for? View more on this topic or Ask a question