Symptom
- Error: 'RFC_START_SAPGUI_FAILURE sapgui start failed'
- 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
sapgui start failed.”
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
- In Crystal Reports, under the SAP menu, select "Create New Report from a Query"
- Select the SAP BW system to connect to.
- It then fails with the error: 'RFC_START_SAPGUI_FAILURE sapgui start failed'
Cause
- Crystal Reports fails because when using the SAP menu, it uses the SAP GUI, but the SAP GUI Security Settings is set to Disabled.
Resolution
- In the SAP GUI, set the Security Settings to: Allow, to allow external application to start the SAP GUI:
- Start the SAP Logon
- In the upper left corner of the SAP Logon window, click on the 3 lines, and select: "Options..."
- In the "SAP GUI Options", in the left pane, expand "Security", and select "Security Configuration"
- In "Security", under "Status", click on "Open Security Configuration"
- In "Security Configuration", set the Default Action to: Allow
- Click "OK"
- Back on the previous screen, notice the Default Action is now set to: Allow
- Click "OK"
- Back to the SAP Logon window, click "OK"
Keywords
SAPGUI, SAPLogon, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
SAP Crystal Reports 2016 ; SAP Crystal Reports 2020