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.
        
       
  • Note: Images and data in this SAP Knowledge Base Article is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

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 uses a 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, or the SAPUILandscape.xml file that contains the configuration to the SAP Systems defined to connect to. )
        
      KB07.png   
         
         
    7. It will open the configuration file in a text application. Save the file to the following folders:
        
           C:\Users\<USER NAME>\AppData\Roaming\SAP\Common\
             
    8. Close the Text Editor, and back in the "SAP GUI Options - SAP Logon" window, click "OK"         

Keywords

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

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020