
Java Connector traces help investigate RFC calls from Java applications to SAP ABAP systems. Depending on the connector version and trace settings, diagnostic information may cover connection activity, RFC execution and exception details.
Capture the failing request
Identify the Java application, destination and time of failure. Check its normal application log first and record the JCo exception group and message. If more evidence is needed, enable the supported JCo tracing mechanism for that application and connector release, reproduce the issue once and collect the resulting trace files.
Correlate both sides
Compare the Java error with SM21, ST22 and SMGW on the ABAP destination, as appropriate. Distinguish connection failures from logon, authorization and ABAP execution errors. Higher trace levels can increase disk usage and expose sensitive business data. Restrict access to the files and restore the previous trace settings after testing.
SAP Help: Technical documentation
Related SAP Note: 3698911
