SAP Knowledge Base Article - Public

1219397 - How to trace the communication between the SAP BusinessObjects Business Intelligence platform, and Crystal Reports?

Symptom

  • Crystal Reports, and Business View Manager, use the BusinessObjects Business Intelligence platform SDK when connecting to the server, as well as when opening, modifying, or saving a report.
        
  • The SDK is also used to interact with the BusinessObjects Enterprise Repository and to query the Central Management Server for system and object information.
       
  • If you are having problems connecting to an SAP BusinessObjects BI server from Crystal Reports or Business View Manager, it may be necessary to trace the SDK calls to determine the cause of the failure. How do you trace the SDK calls?

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020
       
  • SAP BusinessObjects Business Intelligence platform 4.1
  • SAP BusinessObjects Business Intelligence platform 4.2
  • SAP BusinessObjects Business Intelligence platform 4.3 

Resolution

  • To trace the communication between the SAP BusinessObjects Business Intelligence platform, and Crystal Reports, or the Business View Manager:
        
    1. On the computer, where Crystal Reports, or Business View Manager is installed, set the environment variable and value: 
         
      • Environment Variable : BOE_LOGGER_ENVIRONMENT
      • Value                        : -trace -loggingPath c:\sap_logs
          
    2. Start Crystal Reports, or Business View Manager.
       
    3. Reproduce the issue.
        
    4. Collect the log files in the folder specified for the option "-loggingPath", in this example: C:\sap_logs
              
    5. Remove the environment variable: BOE_LOGGER_ENVIRONMENT, to stop tracing.
           
           
  • NOTES:
    • The path defined for "-loggingPath" can point to the directory you want, but if your path contains spaces, you will need to use quotes within the value. For example for the path: C:\program files\business objects
      the value would be: -trace -loggingPath "C:\program files\business objects"
        
    • Once the environment variable is created, start Crystal Reports and reproduce the issue. A log file will be created in the directory specified in the environment variable whenever the Enterprise SDK is utilized by that application. The log file will be like: businessobjects_<DATE_TIME>_<PID>.log
        
    • Once the issue has been reproduced, delete the environment variable: BOE_LOGGER_ENVIRONMENT, to save disk space due to log files creation, as well as to avoid performance degradation due to logging activities.

Keywords

CR, BVM , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To

Product

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