SAP Knowledge Base Article - Public

2659359 - Runtime error 'during evaluation of condition'

Symptom

When creating a Purchase Order via the App 'Manage Purchase Orders' or via the webgui tile 'Create Purchase Order - Advanced' you are unable to save the document due to Runtime error 'during evaluation of condition'.

Environment

  • SAP S/4HANA Cloud All versions 

Reproducing the Issue

  1. Open App 'Manage Purchase Orders' or webgui tile 'Create Purchase Order - Advanced'
  2. In Create Purchase Order Mode enter all required mandatory header data, Supplier, Purchase Org, Purchasing Group, currency etc. 
  3. At Item level click on the '+' Icon and enter all required mandatory item data, material plant quantity, price etc. 
  4. Save the document.
  5. You get errors 'An exception was raised' or Runtime error 'during evaluation of condition'.

        error.png

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Cause

When you save a Purchase Order from the APP or the webgui tile the system checks the flexible workflow in the background. It simulates a currency conversion with workflow and document currencies. If there is a missing exchange rate the system raises error message SG105 in the background and errors 'An exception was raised' or Runtime error 'during evaluation of condition' are presented to the user.

Resolution

Make sure all of your exchange rate combinations are maintained in your system. Add any missing exchange rates via the App Maintain Exchange Rates.

See Also

Maintain exchange rates

Keywords

FIORI, MMFIOSTD, OB08, Currency translation, TCURR, An exception was raised, SG105 , KBA , MM-FIO-PUR-PO , Fiori UI for Purchase Orders , MM-PUR-PO , Purchase Orders , Problem

Product

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