Cisco Cisco Workload Automation 6.3 User Guide

Page of 78
68
Working with SAP Jobs
Troubleshooting the SAP Adapter
Each log collects information until it reaches one megabyte in size, when it is then saved and a new log file begun. The 
log file is named with the name of the log and a date and time stamp appended to the log name as in the following 
example: 
SAPService-20050819123934.log
The above log file example is an SAP service log file created on August 19, 2005 (20050819) at 12:39:34.
See the next section, 
, to learn how to configure logging 
for the SAP Adapter and SAP connections.
Configuring Diagnostic Logging for the SAP Adapter
If your jobs are not completing normally, you need to gather information through diagnostic logging (or tracing in SAP 
terms) while reproducing the problem. Once you have gathered the diagnostic information into logging files, send the file 
to Technical Services to help them troubleshoot the problem. There are two methods to configure diagnostic logging for 
the SAP adapter.
Note: 
Higher levels of diagnostic logging require carefully monitoring. Diagnostic logging can consume large amounts of 
disk space and can have an adverse effect on system performance.
Diagnostic information is collected from the various CWA components in different ways.  
Setting up Logging for the SAP Adapter 
You can increase diagnostic logging from the SAP adapter from the 
Connection Definition
 dialog for the master 
connection.
To log for the SAP adapter:
1.
In the 
Connections
 pane, open the connection for the master to display its 
Connection Definition
 dialog.
2.
In the 
Host Environment Log
 list on the 
Connection
 tab, select a log setting. The lowest level of logging is 
Severe
 and the highest level is 
High Debug
.
Setting up Logging for SAP Connections
There is a field in the 
Connection Definition
 dialog for the SAP Adapter used to debug the interaction between CWA 
and the SAP instance. You can adjust this parameter to collect information on the remote function calls that pass over 
the SAP connection.
To set up logging for SAP connections:
1.
In the 
Connections
 pane, open the SAP connection to display its 
Connection Definition
 dialog.
2.
Click on the 
Options
 tab.
3.
On the 
General
 tab is an 
Audit Level
 field that adjusts the level of logging detail that is recorded about the remote 
function calls relayed between the SAP system and the CWA adapter over the SAP connection. There are three levels 
of detail available:
1=error only (default)
2=errors and warnings only
3=greatest level of detail
If you chose not to collect any information, set Audit Level to zero.