Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 587
Message text: Define document type and allocation items
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message FI587, "Define document type and allocation items," typically occurs in the Financial Accounting (FI) module when there is an issue with the configuration of document types or allocation items in the system. This error can arise during various processes, such as posting transactions or executing certain financial reports.
Cause: Missing Configuration: The document type required for the transaction is not defined in the system. Incorrect Settings: The allocation items associated with the document type may not be properly configured. Authorization Issues: The user may not have the necessary authorizations to access or use the specified document type. Custom Development: If there are custom programs or enhancements, they may not be correctly handling the document types or allocation items.
Solution: To resolve the FI587 error, you can follow these steps: Check Document Type Configuration: Go to the SAP Customizing Implementation Guide (SPRO). Navigate to Financial Accounting (New) > Financial Accounting Global Settings (New) > Document > Document
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI586 Summarization item & cannot be entered as the recipient
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI583 Use plan variant 000 for this report
What causes this issue?  In contrast to reports including the "commitment item" indicator, drilldown reports including the "FM account ...
FI588 Allocation item must not be stored in account
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI589 Commitment item with financial transaction "90" not allowed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.