SYMPTOM:
Variables in SAP BW allow user input into cube execution. In Strategy, variables are automatically imported as prompts belonging to the OLAP query cube object.
When running an MDX report that contains an SAP variable prompt and using the search box to look for an existing value, the following error appears:

When clicking on the details section, the following message displays:
QueryEngine encountered error: ExecQuery failed. MDX Execution failed. Error type: JCO layer error. JCOStatement.executeQuery failed. java.lang.Exception: Error during MDX Query Execution Error during Bapi Execution: An exception has occurred at com.Strategy.Database.JCO.JCOStatement3.executeQuery(Unknown Source)