Trace Options
The following table explains the trace options that you must select to generate the required trace files:
If you encounter an error while saving data through the mobile client application, you must enable the Drvadodb and RFC trace options. However, if you encounter an error during data transfer between the mobile client and the CRM server , you must enable all the trace options.
|
Option |
Description |
|---|---|
|
Drvadodb Trace |
Sets the values for the two registry entries, trc_level and trc_timeanddate under the pathHKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\RFC\DRVADODB trc_level There are only two values for this entry, 0 and >=2. By default, trc_level is set to 0 and theDRVADODB.dlllogs only information about the parameters in the registry into theTRC.txtfile. However, when you select this option, trc_level is set to 3 and theDRVADODB.dlllogs details about the functions that are executed into theTRC.txtfile. From this file, the SAP support team identifies the function that caused the error. trc_timeanddate There are only two values for this entry, 0 and 1. By default, trc_timeanddate is set to 0 and theDRVADODB.dlldoes not log the date and timestamp of each function into theTRC.txtfile. However, when you select this option, trc_timeanddate is set to 1 and theDRVADODB.dlllogs the date and timestamp of each function that is executed into theTRC.txtfile.
After theTRC.txtfile is generated, you must deselect this option to minimize the impact on performance when you access the user database. |
|
RFC Trace |
Sets the values for the three registry entries, trace , Home , and TableDump under the pathHKEY_LOCAL_MACHINE\SOFTWARE\SAP\MTS\options Trace There are only two values for this entry, 0 and 2. By default, trace is set to 0 and the LIBRFC32.dll does not create the rfc<number>_<number>.trc trace file. However, when you select this option trace is set to 2 and the LIBRFC32.dll creates the: rfc<number>_<number>.trc file that contains details about the conversion between the application data format and RFC data format dev_rfc.trcthat contains a summary of errors that are logged in therfc<number>_<number>.trcfile
In the rfc<number>_<number>.trcfile, the <number> indicates a four digit number that is randomly generated during runtime. Home When you select this option, therfc<number>_<number>.trc file is created in the C:\Temp folder. You can specify a different path for this file in the registry TableDump There are only two tracing values for this entry, 0 and 1. By default, TableDump is set to 0 and theLIBRFC32.dlldoes not dump any data into therfc<number>_<number>.trcfile. However, when you select this option, TableDump is set to 1 and theLIBRFC32.dlldumps the following data into therfc<number>_<number>.trc file: Data persisted byDRVADODB.dllwhen you perform a save operation through the mobile client application. Data retrieved by theDRVADODB.dllfrom the user database when you import data by using ConnTrans or Client Console . |
|
SQL Trace |
Enables the Microsoft SQL Profiler and creates theSQLTrace.trcfile that contains details about database related operations, such as SELECT, INSERT, UPDATE, and DELETE. |
|
TL Trace |
Sets the values for the two registry entries, RCV_TRACE and TL_TRACE_DIR under the pathHKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\MW\TL RCV_TRACE There are only two values for this entry, 0 and 1. By default, RCV_TRACE is set to 0 and theTLX.dlldoes not create theTL_Trace.datfile. However, when you select this option, RCV_TRACE is set to 1 and theTLX.dllcreates theTL_Trace.datfile that contains details about the data processing phase, such as: The BDoc type associated with a BDoc message. The message types that are received from the CRM server . In addition, if there is an error during data import, theTLX.dllcreates theTL_Error.datfile that contains recordset information pertaining to a message. TL_TRACE_DIR When you select this option, theTL_Trace.dat file is created in the C:\Temp folder. You can specify a different path for this file in the registry. |
|
Transfer Service Trace |
Sets the trace level for the registry entry CurrentTracelevel under the pathHKEY_LOCAL_MACHINE\SOFTWARE\SAP\MSA\TransferService\CurrentConfiguration CurrentTracelevel There are only two values for this entry, 2 and 3. By default, the CurrentTracelevel is set to 2 and theQMTCLIENT.dlllogs details about the data transfer process into theTransferService.logfile that is present in the mobile client during data exchange between the CRM server and mobile client. This file is created in the default windows temporary folder. TheTransferService.logfile contains details about the data transfer process, such as: The number of messages sent to the CRM server from the outbound queue of the mobile client. The number of messages received from the CRM server and persisted in the inbound queue of the mobile client. The estimated and actual time taken to transfer these messages. In addition, the file contains information about the errors that may occur during the data transfer process. The errors that commonly occur are network related, such as: Incorrect configuration of destinations for the Communication Station and the CRM server The failure of the link between the Communication Station and mobile client or Communication Station and CRM server during the data transfer process. However, when you select this option, the CurrentTracelevel is set to 3. In such a case, apart from the above mentioned details, theQMTCLIENT.dlldumps the following into theTransferService.logfile: The messages sent from the outbound queue of the mobile client. The messages received from the CRM server and persisted in the inbound queue of the mobile client. |
|
ConnTrans Trace |
Enables the logging of runtime information associated with the execution of ConnTrans into theConnTrans_log.xmlfile. For information on the contents of the log file, see The ConnTrans Log File . |
|
ConnTrans Statistics Trace |
Enables the logging of transfer statistics into theStatisticsLog.xmlfile that captures statistics such as time taken to process the different stages (Send, Receive, and Import) of the data synchronization process. The system administrator can use this file to analyze and benchmark data related to the performance of ConnTrans |