We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
The status 'Cancel' is set for a CEM shipping document via this BAPI /SAPCEM/BAPI_SHIPDOCCEM_CANCEL. However you can only cancel a shipping document if various checks are successful. Some of these checks are:
If an error occurs (parameter RETURN contains entries with TYPE E or A), and if this means that the shipping document cannot be cancelled, the caller of the BAPI is responsible for removing all SAP blocks. The caller of the BAPI is responsible for the Commit Work.