Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 166
Message text: Value type &1 is not supported by this transaction
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 FI166 ("Value type &1 is not supported by this transaction") typically occurs in the context of financial transactions, particularly when dealing with financial documents, postings, or reports in the SAP system. This error indicates that the value type specified in the transaction is not valid or not supported for the operation being performed.
Cause:
Invalid Value Type: The value type specified in the transaction does not exist or is not defined in the system.
Configuration Issues: The value type may not be configured correctly in the relevant financial settings or may not be allowed for the specific transaction type.
Transaction Type Restrictions: Certain transactions may only support specific value types, and the one being used is not among them.
Data Entry Errors: There may be a mistake in the data entry where an incorrect value type is being referenced.
Solution:
Check Value Type: Verify the value type being used in the transaction. Ensure Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI165 The budget assignment field is different from the standard
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI164 The update date in the commmitment budget differs from the standard
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI167 The document was not updated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI168 Document category is not intended for revenue commitment items
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.