SAP Knowledge Base Article - Public

3573594 - Error: 'RFC_START_SAPGUI_FAILURE Communication with SAPGUI timed out', when attempting to create a report based on SAP BW Query in Crystal Reports

Symptom

  • Error: 'RFC_START_SAPGUI_FAILURE Communication with SAPGUI timed out'
  • When opening, or saving a report to the SAP BW System from Crystal Reports, it fails.
  • When attempting to create a report based on an SAP BW Query using the SAP menu in Crystal Reports, it fails with the error: 
       
     "SAP Logon Control
       RFC_START_SAPGUI_FAILURE
       Communication with SAPGUI timed out"

Environment

  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020
       
  • SAP BW 7.5
  • SAP BW 4/HANA 2.0
  • SAP BW 4/HANA 2021
  • SAP BW 4/HANA 2023

Reproducing the Issue

  1. In Crystal Reports, under the SAP menu, select "Create New Report from a Query"
  2. Select the SAP BW system to connect to.
  3. It then fails with the error: "RFC_START_SAPGUI_FAILURE Communication with SAPGUI timed out"

Cause

  • SAP GUI registry option: StartSapLogon, set to zero (0), or it is missing due to installation issue of the SAP GUI.

Resolution

  • Set the SAP GUI registry key: StartSapLogon, to the value: 1

    WARNING
    The following resolution involves editing the Microsoft Registry. Using the Microsoft Registry Editor incorrectly can cause serious problems. Use the Microsoft Registry Editor at your own risk. For more information see the SAP Knowledge Base Article 1323322
       
    1. Start the Microsoft Registry Editor ( regedit )
        
    2. Navigate to the SAP GUI registry path:

       HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP\SAPGUI
        
    3. If the key: StartSapLogon, does not exist, create a DWORD registry, with the name: StartSapLogon
        
    4. Set the registry key StartSapLogon, to the value: 1

Keywords

SAPGUI, SAP Logon, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2016 ; SAP Crystal Reports 2020