SAP Knowledge Base Article - Public

1548437 - Error: "UFL 'u2lssm.dll' that implements this function is missing." when refreshing a report in Crystal Reports

Symptom

  • Error when refreshing some reports.
  • Was able to refresh the report before in Crystal Reports.
  • Error: UFL 'u2lssm' that implement this function is missing.
  • In Crystal Reports, when opening, or refreshing a report, get the error: "UFL 'u2lssm.dll' that implement this function is missing."

Environment

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

Reproducing the Issue

  1. In Crystal Reports, open and refresh a report.
  2. It displays the following error: "UFL 'u2lssm.dll' that implement this function is missing"

Cause

  •  The report contain a formula that use one of the following functions added by a User Function Library (UFL):
    • HoursFromSecsSinceMidnight
    • MinutesFromSecsSinceMidnight
    • SecondsFromSecsSinceMidnight 
    • HHMMPMFromSecsSinceMidnight
    • HHMMSSPMFromSecsSinceMidnight
    • HHMMFromSecsSinceMidnight
    • HHMMSSFromSecsSinceMidnight
    • CRTimeFromSecsSinceMidnight
    • WeekOfYear
        
  • The above functions are not part of Crystal Reports functions.
  • The above functions are added by the User Function Library (UFL): U2LSSM.DLL

Resolution

  • To be able to refresh the report successfully, perform one of the following:
      
  • For Crystal Reports 2011, 2013, and 2016, copy the UFL to the SAP BusinessObjects folder:
    1. On a computer where the report refresh successfully, search for the third party UFL file: U2LSSM.DLL
           
    2. Copy the UFL file: U2LSSM.DLL, to the following directory:

           C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86
            
    3. Close, and re-open Crystal Reports

      Now, when opening Crystal Reports, it will add the additional functions the UFL: U2LSSM.DLL is implementing, and you will no longer receive the error.
    • Important Note: Crystal Reports 2020 is a 64bit application. Any User Function Library (UFL) that were created for Crystal Reports 2016 and below are 32bit UFL, and will not work with Crystal Reports 2020, for the UFL to work, you need to contact the provider of the UFL to request it to be updated and compiled in 64bit to work. 

      OR
                      
  • For Crystal Reports 2011, 2013, 2016, and 2020, create a formula, or a Custom Function:
                 
    • Modify the formula that uses the function, and replace the function by code that perform the action the function was created for, like converting seconds to hours.
              
    • If the functions is used on many reports, you can create a Custom Function called NumberToDate, store it in the SAP BusinessObjects Repository, and add it to any reports that uses the function to convert a number to date.
      •   
        For information on how to create a Custom Function, search for "Custom Function" in Crystal Reports Help.
        And for information on how to add a Custom Function, see the Crystal Reports User's Guide:
           
           Adding a Custom function to a report

Keywords

Crystal Reports, UFL, u2lssm.dll , 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