SAP Knowledge Base Article - Public

3451258 - Unable to delete existing PR /PO Document types

Symptom

  • How to delete/unlink the document type.
  • How to restrict the unwanted document types while creating the documents like PO or PR.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to CBC activity Define Document Types for PR/PO.
  2. Copy an existing Purchase Requisition (PR) document type.
  3. Try to delete or unlink the document type.
  4. System does not allow deletion.

Resolution

It is not possible to change delivered configuration content and also it is not possible to delete custom configuration entered for PO types - Define Document Types for Purchase Orders (SSCUI 102909) or for PR types - Define Document Types for Purchase Requisitions (SSCUI 103385). 

 In above SSCUI, copy existing standard entries to create new ones, this allows to change the document type name and description.

When copying the document type initially, only the header line can be copied without the dependencies. Subsequently, in the sub-entities, there is an option to 'Create New' and add specific item categories and follow-on document types as needed.

So once a new/custom document type is created, it cannot be deleted.

The following options are available to prevent particular PR/PO document types from being used:

  • Able to mark the unwanted custom entries as 'Do Not Use'.
  • The usage of certain document types can be restricted through authorization profiles.

  • Use the PR/PO BADIs to make sure no user can process any unwanted document type.


The BADI's for PO are listed below:

  • MM_PUR_S4_PO_MODIFY_HEADER
  • MM_PUR_S4_PO_MODIFY_ITEM
  • BD_MMPUR_FINAL_CHECK_PO

App Extensibility: Manage Purchase Orders | SAP Help Portal

See Also

 2685355 – How to create a custom Purchasing Document.

Keywords

S4_1C, S4_HC, Custom document type, delete, SSCUI 103385, Purchase requisition, Purchase order, Delete document type, Unlink existing document type, greyed out. , KBA , MM-PUR-REQ-2CL , Purchase Requisitions (Public Cloud) , MM-PUR-REQ , Purchase Requisitions , How To

Product

SAP S/4HANA Cloud Public Edition all versions