Message type: E = Error
Message class:  AFWCH_PH - Analysis Framework: Portfolio Hierarchies 
Message number: 005
Message text: Portfolio hierarchy & can be enhanced only, as evaluation data exists
The specified portfolio hierarchy was supposed to be changed. However,
evaluation data exists that are dependent on the nodes of the portfolio
hierarchy. You cannot change the portfolio hierarchy in such a way that
would cause existing nodes to be removed.   This is also true for
archived evaluation data. As a result, no other filter can be assigned
to this portfolio.
Currently, there is data that is dependent on the nodes of the portfolio
hierarchy stored in the following applications:
Report data memory (value at risk)
Results database (Risk and Portfolio Analyzer)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
You cannot assign or adjust a filter if there is dependent evaluation
data. You can delete the filter, but once it has been deleted, you can
no longer assign any filter to the portfolio hierarchy. If you do not
want this to be the case, then you have to create a new portfolio
hierarchy. If the old portfolio hierarchy is to be used just to display
saved evaluation data, then it should be deactivated (choose
<ZK>Evaluation Control -> Portfolio Hierarchy -> Deactivate</>).
Error message extract from SAP system. Copyright SAP SE.
The SAP error message AFWCH_PH005 indicates that you are trying to make changes to a portfolio hierarchy that cannot be modified because evaluation data already exists for that hierarchy. This typically occurs in the context of SAP Portfolio and Project Management (PPM) or similar modules where hierarchies are used to structure portfolios of projects or investments.
Cause: The error arises when: You attempt to delete or modify a portfolio hierarchy node that has associated evaluation data (e.g., financial data, performance metrics). The system prevents changes to ensure data integrity and consistency, as altering the hierarchy could affect the evaluation results.
Solution: To resolve this error, you can consider the following approaches: Enhance the Hierarchy: Instead of trying to delete or modify the existing hierarchy, you can enhance it by adding new nodes or attributes. This allows you to maintain the existing evaluation data while expanding the hierarchy. Check Evaluation Data: Review the evaluation data associated with the hierarchy.
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
AFWCH_PH004 Portfolio hierarchy & is deactivated, and can no longer be used
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AFWCH_PH003 PH &1 / &2: Business partner conversion has not been completed
What causes this issue?  As part of the release upgrade to Banking 4.63/CFM 2.0, business partner conversion has been started for the portfolio hierar...
AFWCH_PH006 Portfolio hierarchy & was deactivated, and cannot be updated or generated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AFWCH_PH007 Sort group is not permitted; evaluation data exists
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.