- Password grayed out.
- Unable to enter a password.
- Logon failed, when trying to connect to an SAP BW System.
- Error: "Logon failed. Details: Missing SNC_LIB=... in incorrect_param in RfcOpenEx"
- When attempting to connect to an SAP System from Crystal Reports, it is possible to enter the user name, but not the password is grayed out, and therefore it fails to connect.
- SAP Crystal Reports 2008
- SAP Crystal Reports 2011
- SAP Crystal Reports 2013
- SAP Crystal Reports 2016
Reproducing the Issue
- In Crystal Reports, under the menu "File", select "New - Blank Report..."
- In the "Database Expert" window, create a new connection to an SAP BW System by double clicking on "SAP BW MDX Query"
- In the "SAP System Logon" screen, select the SAP System to connect to, and click "Next"
- Notice the Password entry is grayed out.
- Enter the Client Number and Username, and click "Finish"
It will then display the error: "Logon failed. Details: Missing SNC_LIB=... in incorrect_param in RfcOpenEx"
- The SAP System selected to connect to from Crystal Reports, uses Secure Network Communication (SNC), and this is why the password is grayed out.
- To be able to login to the SAP System from Crystal Reports, configure the SAP System entry in the SAP Logon, to not use Secure Network Communication (SNC)
- Launch SAP Logon.
- In the "SAP Logon" window, select the SAP System entry, and click on the "Edit" button in the toolbar.
- In the "System Entry Properties" window, under the tab "Network", uncheck the option "Active Secure Network Communication", and click "OK"
- Still in the SAP Logon window, click on the upper left corner of the window, and in the menu select "Options..."
- In the "SAP GUI Options - SAP Logon" window, under the "SAP Logon Options", select "Configuration Files"
- On the right side, double click on "Connection"
( This is the saplogon.ini file that contains the configuration to the SAP Systems defined to connect to. )
- It will open the saplogon.ini file in a text application. Save the file to the folder. C:\Windows.
Note: Saving the file in a different location from a text application will not change the path of the configuration file, but will make a copy in the C:Windows folder. Crystal Reports will be using the saplogon.ini file located in the C:\Windows folder.
- Close the Text Editor, and back in the "SAP GUI Options - SAP Logon" window, click "OK"
Once the above steps are completed, you will be able to enter the user name and password to successfully connect to the SAP System.
SNC, Login failed, CR, SAP BW , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem
Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016