Skip to Content
Former Member
Jan 09, 2018 at 09:10 PM

Get deleted operations through code


Hello all!

I was needing to retrieve operations that have been deleted in IW32 with an REL status. It seems that I could use the bapi BAPI_ALM_ORDER_GET_DETAIL by requesting use of the ET_OPERATIONS parameter. However the code hits a FM called CO_MK_DISTRIBUTION_FLAG_GET to determine a Boolean on the variable lv_distribution. This determines whether or not the deleted operations will be retrieved as part of the return results. It is currently always returns false which means ultimately that it will not return any deleted operations if any.

Is there another way to return deleted operations through this bapi or is there an alternative?