cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connections changing the Trace level

Former Member
0 Kudos

Hi Experts.

We have been alerted that an RFC user configured in the XI (3.0 SP14) is changing the work processes trace level to full trace in the R/3 system where it connects.

This should be creating huge trace/log files in the R/3 system which could be affecting the performance.

However, we have other XI server pointing to the same R/3 (in a different SLD) and the RFC user is not doing this, which makes me think that in the first mentioned XI we have wrongly set any parameter/configuration.

I have already checked the SM59 and the trace option in the RFC is not enabled.

Do you have guys any idea about any paramter to specify the trace level used when a RFC connection is stablished?

Thanks in advance.

Cheers.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

System Logs

In accordance with the dialog system, the SAP Gateway records system logs for all error situations. You can evaluate the system logs with the usual tools.

Traces

In addition you can record detailed traces. To do this you have to set a trace level in the parameter rdisp/TRACE :

rdisp/TRACE = 0 no trace

rdisp/TRACE = 1 error trace

rdisp/TRACE = 2 complete process trace, short data trace

rdisp/TRACE = 3 complete process trace, short data trace

The traces are to be found in the following files:

Process

Trace File

Gateway read process:

dev_rd

Gateway monitor:

dev_gwmon

All trace lines describing an error begin with ***.

All trace lines corresponding to a system log (syslog) begin with ***LOG, followed by the system log number and the version of the variable parts of the system log.

You can Activate the trace function for the gateway and for external programs.

See also:

Trace Functions

Return Codes

For troubleshooting purposes, it is often helpful to understand the meaning of the return codes. You will find a list of the most important error codes in the section Error Codes.

If an error occurs, you can view the error codes on the initial screen of the Gateway Monitor. If you choose F1 help, a list is displayed.

The CPI-C return codes and the return codes from the SAP Gateway are listed in the SAP note 63347.

SAP Gateway Memory Problems

Some error messages and trace entries indicate gateway problems as regards memory allocation. For more information about this, see Memory Management of the SAP Gateway and Parameters for Resource Management

Error Starting CPI-C Programs

Local Programs

The gateway starts locak CPIC programs using fork/execlp. This implies that the program must be located in the search path of the (gateway) UNIX ID and must be executable for the (gateway) UNIX ID.

You can test this by logging on with the gateway ID and using the command which checking whether the program you want to start is in the search path of the gateway ID: Enter which <program>.

Remote and Registered Programs

For information about errors that may occur when starting remote and registered CPI-C programs see Errors When Starting CPI-C Programs.

Useful SAP Notes relating to the SAP Gateway

Note Number

Short Text

0074141

Resource Management for tRFC and aRFC

0006107

SIDEINFO; Problems after changing the CICS name

0028103

No side info entry for dest ...

0041003

Gateway, Connection reset by peer, errno 232

0047682

Activating the CPIC trace

0063347

List: CPIC error codes

0080474

Automatic start of a gateway instance under NT

0094513

RC=668 R/2 restarted during R/3 R/2 communication

0140616

NiIHostToAddr: Host name too long

0171073

Dr.Watson in gwhost.exe under Windows NT

0139181

Hanging update because of u201Cstopped CPICu201D

0042692

Test tool for RFC connections: sapinfo

0066168

Required documents when analyzing RFC problems

0013903

List of network products supported by SAP

0116051

Check list: Problems SNA gateways (R/3 ==> R/2)

0110612

Using the secinfo file (gateway ACL)

And also Refer this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2cce390-0201-0010-5a9f-cca08c75...

Regards,

Surya