Message type: E = Error
Message class:  AFWCH_PH - Analysis Framework: Portfolio Hierarchies 
Message number: 002
Message text: Portfolio hierarchy & cannot be changed (evaluation data exists)
The specified portfolio hierarchy was supposed to be changed or deleted.
However, evaluation data exists that are dependent on the nodes of the
portfolio hierarchy. If you delete the portfolio hierarchy or change the
tree structure, then you will no longer be able to access the saved
evaluation data. This is also true for archived evaluation data.
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)
Final results of the results database (Risk and Portfolio Analyzer)
For details about the report data runs or the procedure for final
results that refer to the portfolio hierarchy, see the <ZK>status</>
function in the display transaction of the portfolio hierarchy. To call
this transaction, go to the area menu and choose <ZK>Evaluation Control
-> Portfolio Hierarchy -> Display</>.
The activity is terminated. The system does not change the portfolio
hierarchy, or it deletes the portfolio hierarchy.
If the definition of the portfolio hierarchy has already been changed
(for example, by a transport) and, in this step, you want to adjust the
tree structure, the system does not carry out the adjustment. Instead,
it continues to use the old tree structure. The changed definition is
ignored.
<ZU>Deleting the portfolio hierarchy</>
If you want to delete the portfolio hierarchy, you first have to delete
the dependent final results and the dependent RDM data. To do this, use
the management transaction in the relevant application. If you still
need the saved evaluation data, you should deactivate the portfolio
hierarchy and not delete it. If you do this, you can still use the
portfolio hierarchy to display the evaluation data, but the portfolio
hierarchy can then no longer be used for current evaluations.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
<ZU>Generating the portfolio hierarchy</>Error message extract from SAP system. Copyright SAP SE.
The SAP error message AFWCH_PH002 indicates that you are trying to change a portfolio hierarchy in SAP, but the system is preventing the change because evaluation data exists for that hierarchy. This is a common issue when working with portfolio management in SAP, particularly in the context of project or investment management.
Cause: The error occurs because: Existing Evaluation Data: The portfolio hierarchy you are trying to modify has associated evaluation data (e.g., performance metrics, financial data) that is preventing changes to its structure. Data Integrity: SAP enforces data integrity rules to ensure that changes do not lead to inconsistencies in reports or evaluations that rely on the existing hierarchy.
Solution: To resolve this error, you can consider the following steps: Check for Evaluation Data: Identify the evaluation data associated with the portfolio hierarchy. This can typically be done through transaction codes related to portfolio management or by reviewing reports that utilize the hierarchy. Delete or Archive Evaluation Data: If
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
AFWCH_PH001 Choose a name that does not just contain zeros
What causes this issue?  You can use any one-digit to three-digit number as the name for the portfolio hierarchy (leading zeros are automatically adde...
AFWCH_PH000 *-- 001 - 030 Portfolio Hierarchy Maintenance --------------------------*
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_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...
Click on this link to search all SAP messages.