Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 159
Message text: Parameter &1 must be selected for this document category
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 FI159 ("Parameter &1 must be selected for this document category") typically occurs in the Financial Accounting (FI) module when a required parameter is not selected for a specific document category during a transaction. This error is often related to the configuration of document types or the settings for specific financial transactions.
Cause:
Missing Configuration: The document category you are trying to use may not have the required parameters configured in the system.
Incorrect Document Type: The document type you are using may not be compatible with the parameters that are required for the transaction.
User Input Error: The user may have missed selecting a necessary option or parameter in the transaction screen.
Solution:
Check Document Type Configuration:
Go to the configuration settings for document types in the SAP system (Transaction Code: OBA7).
Ensure that the required parameters for the specific document category are correctly set up.
Review Transaction Settings:
Verify the settings for the specific transaction Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI158 Overriding is not possible for this profile-value type combination
What causes this issue?  You want to process a chart of commitment items variant which does not exist in the corresponding environment (such as for th...
FI157 Accounts with financial transaction other than 30 are rejected
What causes this issue?  The error message can have the following causes: Assignments of commitment items from the chart of commitment items and varia...
FI160 Commitment item &1 &2 &3 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI161 There are budget category inconsistencies in the hierarchy
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.