1369523 - SAP Crystal Reports and SAP BW -- "Database Connector Error: BAPI Error #:0"

SAP Knowledge Base Articles - public

1369523 - SAP Crystal Reports and SAP BW -- "Database Connector Error: BAPI Error #:0"


Refreshing an existing report or creating a new Crystal report based on the "SAP BW Query" or "SAP BW MDX Query" data source results in the following error:

  • Database Connector Error: "BAPI Error #:0  Error occurred when starting the parser: timeout during allocate / CPIC-CALL"



  • 'BAPI Error #:0 Query 0: Laufzeitfehler Zeitlimit überschritten bei paralleler Abarbeitung mit RFC' (German)

Reproducing the Issue

  • Start SAP Crystal Reports Designer
  • Log into SAP BW system and select the report
  • Refresh


This is a very general error message that indicates a problem with the MDX on the SAP server.


In Crystal Reports:

  1. Open the report or create a new report based on your SAP MDX Query
  2. Go to "Database", then "Show SQL Query"
  3. Copy the displayed MDX query (This MDX query comes from BW query)


  1. Logon to SAP server
  2. Run MDXTEST transaction
  3. Execute MDX query copied from Crystal Reports

Any errors displayed in MDXTEST should be investigated by your BASIS team and/or SAP BW support. Until the errors in MDXTEST are resolved, Crystal Reports will not be able to successfully access and run this BW query.


BAPI error, RFC, "Failed to retrieve data from the database", German , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem


Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports XI R2