Trace On option when enabled generates SAP Connection trace (.trc) files. These trace files contain important information which are helpful to troubleshoot in the event of any problems in a SAP system. Each cursor that is opened after tracing has been enabled will be recorded in the trace file. These trace files can be found in location of saplogon.ini file. Usually it is C:\Users\TestUser\AppData\Roaming\SAP\Common\.To find the location of saplogon.ini just click on the top left corner of SAP Logon pad and choose Options. Under SAP Logon Options -> choose Configuration Files ->Type Connection gives the path of saplogon.ini file.
If the trace files are not found in above mentioned location, then search the location from where process files are opened. TRC files can be opened by most text editors.
To enable this option you need to have a special file in \\Mydocuments\Innowera\Other folder. Please send your request for the file to support@innowera.com.
The trace files are generated only for Transaction, BAPI and Data Extractor technologies and this feature does not work with GUI Scripting .The SAP trace files can be generated with Process Runner during Recording mode and Run mode . Please use both the method to capture all the possible scenario if you are facing SAP connectivity issue.
i) Generate SAP trace with Process Runner - Recording Mode
•Start Process Runner and go to "New Process". Type in MM02 (or any other transaction code) and click "Start recording".
• In the iNETConnector window, select "Advanced" tab and check "Trace on" and go back to "Server/Group" tab. • Select SAP system you want to log on and logon as you normally would. Finish recording or if you encounter any error, exit out of that error and close Process Runner. • Trace files (.trc) should have been written in location where saplogon.ini file is present.
ii)Generate SAP Trace with Process Runner - Run Mode
•Start Process Runner and open any process file. •Click on Run. • Select SAP system you want to log on and logon as you normally would. Execute the file or if you encounter any error, exit out of that error and close Process Runner. •Trace files (.trc) should have been written in location where saplogon.ini file is present.
Note:
a)Make sure you turn off “Trace On” switch after you are done, as trace files will be generated for every Run and accumulating trace files thereby occupying disk space. b)If you cannot find any trace files in above mentioned folders then search for files in other folders on your system. You can look at date/time and determine if these were generated recently or not.
|