SAP Note 420058 - ME21N Error ME366 after changing the document type

Component : Partner - Userinterface - Purchase Orders

Solution : https://service.sap.com/sap/support/notes/420058 (SAP Service marketplace login required)

Summary :
When creating a purchase order in SAP using Transaction ME21N, and subsequent verification using ME22N, the system displays error message ME366 if mandatory partner roles are missing, despite changing the document type which has no partner schema assigned in Customizing. This is because the originally maintained partners for the entered document type persist post-change. The advance corrections attached to this note must be implemented to adjust partner roles appropriately for changed document types, noting that due to system limitations, partner roles aren’t automatically adjusted in ME22N. Refer also to SAP Note 308215 for more details.

Key words :
additional key words me21n, partner maintenance partner roles, mandatory partner roles, assigned partner schema, document type entered, partner schema, transaction me21n, partner determination, document type, purchase order

Related Notes :

459350FAQ: Partner determination in purchasing
413207ME21N: Error message from partner determination is lost
401734ME21N Stock transport order, partners disappear
394091Partners are not transferred from vendor master
376319ME21N partner from reference document not found
332938ME21N: ME329 in stock transport order
329405ME21N: Partner dialog box with PReq w/ contract disp twice
323207ME21N deriv.of partner header data for contrct ref.
317968ME21N/ME22N: Partner screen, import data, exchange rate
184561ME21N No indication regard. missing mandatory roles