SAP Knowledge Base Article - Public

2845093 - Error in activating Intelligent Scenario CL_PS_KNN_UTIL


  • In app 'Intelligent Scenario Management' using the PREDICT_PROJECT_COST predictive scenario, the system throws error "Cannot predict cost".
  • In app 'Monitor Projects' the system throws error "Cannot predict cost. Predictive model CL_PS_KNN_UTIL is not active"


  • SAP S/4HANA Cloud


Scenario PREDICT_PROJECT_COST has not been activated.


The scenario must be activated before doing prediction as follows:

  1. Go to 'Intelligent Scenario Management' App (App ID F4470)
  2. Search for the scenario PREDICT_PROJECT_COST
  3. Select the model CL_PS_KNN_UTIL.
  4. Click-on the 'Train' button.
  5. Provided there is sufficient data, you can click Train in the Train Model screen.
  6. Click-on CL_PS_KNN_UTIL to open the Model Versions screen.
  7. Provided a model could be trained you will have a Model version in Status Ready.
  8. Select the radio button beside it and click Activate, and wait until status changes to Active.
  9. Log back in as PROJ_FIN_CONTROLLER and re-run your tests.

NOTE: If there are training errors for model CL_PS_KNN_UTIL, please note that in order to train a model version for Predictive Scenario PREDICT_PROJECT_COST, there should be at least 6 records (Projects with Actual Costs) for the training to take place.

See Also

Predictive Scenario for Project Cost Forecasting

Scope Item 2Y7


1NT, predict, 2Y7, Predictive Models, IPROCSTFRCTR, I_PPM_PROJECTCOSTFORECASTTRNG , KBA , CA-GTF-FXU-PS , Fiori FXU Project System PS-FIO , PS-VDM-COS , VDM views for Costs , PS-FIO , Fiori UI for Project System , Problem


SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions