SAP Knowledge Base Article - Preview

2736422 - Mass removal of Contracts or how to prevent a large amount of contracts from being used anymore


You have a finite amount of contracts in your system that you do not wish to use anymore. In order to delete them in mass, you may have tried the following:

  • Set the LOEKZ indicator via transaction "MASS" in the contract header (MASSEKKOCONTRACT-LOEKZ). (this field is grayed out)
  • Manually deleting the contracts one by one, although this is very timely for the amount of contracts you have.
  • Deleting the single line items within the contracts, although again this is very timely (and this still allows the contract number to be used)



  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP enhancement package for SAP ERP
  • SAP S/4hana


SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions


ME31K ME32K ME33K MASSEKKO , KBA , MM-PUR-OA-CON , Contract , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.