2044233 - Error: "Logon failed. Details: Missing SNC_LIB=... in incorrect_param in RfcOpenEx", when attempting to connect to an SAP System from Crystal Reports

SAP Knowledge Base Article - Public

2044233 - Error: "Logon failed. Details: Missing SNC_LIB=... in incorrect_param in RfcOpenEx", when attempting to connect to an SAP System from Crystal Reports

Symptom

  • 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.

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. In Crystal Reports, under the menu "File", select "New - Blank Report..."
  2. In the "Database Expert" window, create a new connection to an SAP BW System by double clicking on "SAP BW MDX Query"
  3. In the "SAP System Logon" screen, select the SAP System to connect to, and click "Next"
  4. Notice the Password entry is grayed out. 
       
    PasswordGrayedOut-01.png   
              
       
  5. 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"
      
    PAsswordError.png

Cause

  • The SAP System selected to connect to from Crystal Reports, uses Secure Network Communication (SNC), and this is why the password is grayed out.

Resolution

  • 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)
           
    1. Launch SAP Logon.
          
    2. In the "SAP Logon" window, select the SAP System entry, and click on the "Edit" button in the toolbar.
        
      SAPLOGON-01.png   
            
          
    3. In the "System Entry Properties" window, under the tab "Network", uncheck the option "Active Secure Network Communication", and click "OK"
         
      SAPLOGON-02.png   
            
           
    4. Still in the SAP Logon window, click on the upper left corner of the window, and in the menu select "Options..."
        
      KB06.png   
       
          
    5. In the "SAP GUI Options - SAP Logon" window, under the "SAP Logon Options", select "Configuration Files"
            
    6. 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. )
        
      KB07.png   
         
         
    7. 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.
         
    8. 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.

Keywords

SNC, Login failed, CR, SAP BW , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016