SAP Knowledge Base Article - Public

3451258 - Unable to delete existing PR /PO Document types

Symptom

How to delete/unlink the document type.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to BC activity Define document types for PR/PO.
  2. Copy the existing Purchase Requisition Document type.
  3. Unable to delete/unlink the document type.

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

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 , Purchase Requisitions , Problem

Product

SAP S/4HANA Cloud Public Edition all versions