Do you have any question about this error?
Message type: E = Error
Message class: M8 - Invoice Verification/Valuation
Message number: 021
Message text: Document type & not defined for invoice verification
The error message can have the following two causes:
No document type has been configured in Customizing for transaction
&V2& that you are executing.
You have entered a document type that has not been defined for Invoice
Verification.
Check the Customizing setting in 'Document types: invoice verification'
(<DS:TRAN.OMR4>Proceed</>), or change the document type.
Error message extract from SAP system. Copyright SAP SE.
M8021
- Document type & not defined for invoice verification ?The SAP error message M8021, which states "Document type & not defined for invoice verification," typically occurs during the invoice verification process in the Materials Management (MM) module. This error indicates that the document type being used for the invoice is not configured correctly in the system for the invoice verification process.
Cause:
- Missing Configuration: The document type used for the invoice (e.g., standard invoice, credit memo) is not defined in the system for invoice verification.
- Incorrect Document Type: The document type may be incorrectly specified in the invoice or may not be applicable for the transaction being performed.
- Authorization Issues: The user may not have the necessary authorizations to process the specific document type.
Solution:
To resolve the M8021 error, you can follow these steps:
Check Document Type Configuration:
- Go to the SAP transaction code SPRO (Customizing).
- Navigate to Materials Management > Logistics Invoice Verification > Define Document Types for Invoice Verification.
- Ensure that the document type in question is defined and configured correctly for invoice verification.
Define New Document Type (if necessary):
- If the document type is not defined, you may need to create a new document type.
- Ensure that you set the necessary parameters and assign it to the appropriate company code and purchasing organization.
Check Invoice Document:
- Verify the invoice document you are trying to process. Ensure that the document type is correct and corresponds to the type of invoice you are trying to post.
User Authorizations:
- Check if the user has the necessary authorizations to process the invoice with the specified document type. This can be done by reviewing the user's roles and authorizations in the system.
Consult Documentation:
- Review SAP documentation or consult with your SAP support team for any specific configurations or settings that may be required for your organization.
Related Information:
By following these steps, you should be able to identify and resolve the issue causing the M8021 error in SAP. If the problem persists, it may be beneficial to consult with your SAP support team or a functional consultant for further assistance.
Get instant SAP help. Start your 7-day free trial now.
M8020
Item & does not exist
What causes this issue? You have entered an item number that does not exist in the document.How to fix this error? Correct your input.Error message ...
M8019
No delivery costs exist for bill of lading &
What causes this issue? No delivery costs have been planned in the purchase order referred to in the bill of lading.How to fix this error? Check you...
M8022
Allowed posting periods: &
What causes this issue? The posting date is not within one of the allowed posting periods. This can be due to one of two reasons: The correct current...
M8023
Purchase order & not created in company code &
What causes this issue? You have entered a purchase order number that does not exist in the company code in which you are working.How to fix this err...
Click on this link to search all SAP messages.