cancel
Showing results for 
Search instead for 
Did you mean: 

shipment deletion

Former Member
0 Kudos

hi all,

how can we prevent shipment with status 3 (loading start) or 4, 5 from deleting? where to make the settings?

Thanks and rewards for the help.

Accepted Solutions (0)

Answers (1)

Answers (1)

hongyan_shao
Active Contributor
0 Kudos

Hi,

Unfortunately there is no standard coding checking the status before deletion of the shipment.

You might consider to make some customer codings in enhancement V56AFCCH,

in function module EXIT_SAPMV56A_001

you may check the status and issue error messages.

Document is available for this function module regarding the IMPORT and EXPORT parameters.

Some info maybe help

I_XVTTK_WA-TKNUM: shipment number

I_XVTTK_WA-STTRG: overall status of the shipment

I_FCODE: 'MM_TRLP' function code when the deletion button is pressed.

Thanks & Regards,

Hongyan