Message type: E = Error
Message class:  AFWCH_FL - AFWCH: Filter Messages 
Message number: 066
Message text: Filter & was not assigned to a portfolio hierarchy
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 AFWCH_FL066 indicates that a filter has not been assigned to a portfolio hierarchy. This error typically arises in the context of SAP Portfolio and Project Management (PPM) or SAP Analytics, where filters are used to manage and analyze data related to portfolios.
Cause: The error occurs when: A filter is created but not linked to any portfolio hierarchy. The filter is expected to be used in a specific context (like reporting or analysis) but lacks the necessary association with the portfolio structure. There may be a configuration issue or oversight in the setup of the portfolio management system.
Solution: To resolve the AFWCH_FL066 error, you can follow these steps: Check Filter Assignment: Navigate to the filter management area in your SAP system. Verify if the filter in question is assigned to the appropriate portfolio hierarchy. Assign the Filter: If the filter is not assigned, you will need to assign it to the relevant portfolio hierarchy. This can typically be
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
AFWCH_FL065 Filter & was used as a template for another filter
What causes this issue?  Other filters exist that are based on this filter. You might have to adjust them. The system issues an error message and will...
AFWCH_FL064 Filter & was reset successfully to the last valid version
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AFWCH_FL067 Unable to display the test selections
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AFWCH_FL068 No base portfolios exist for filter & (segments)
What causes this issue?  There are no base portfolios (segments) that match the values of the filter. As a result, the system can create only one port...
Click on this link to search all SAP messages.