IBM Support

r3batch fails with a new installation of SAP R/3 access method

Troubleshooting


Problem

After installing TWS For Applications for SAP,the r3batch fails to work.

Symptom

The libraries such as librfcum.o are missing from the methods directory, and attempting to launch r3batch results in errors such as "Dependent module librfcum.o could not be loaded."

Cause

You are using 64 bit RFC, however r3batch is 32 bit, built in compatibility mode to 64. This means that the rfc libraries must also be 32 bit.

Environment

The SAP RFC libraries are no longer released by IBM, but instead must be downloaded directly from the SAP support site.

Diagnosing The Problem

Execute the picklist command to test r3batch functionality :-

<TWS_Home>/methods/r3batch -t PL -c <r3batch_xagentname> -l \* -j \* -- "-debug -trace"

You should receive a list of all defined SAP jobs. If however you receive errors relating to missing libraries then this Technote applies. Also, look to the resulting r3batch-trace.log and see these errors :-

EEWO0011E The extended agent has not started. The command to launch it has syntax errors.]]></LogText>

EEWO0510E An internal error has occurred: (get_record: Non-valid keyword. Expected: !1)

Resolving The Problem

You must install the SAP RFC libraries. You must download the current version of these libraries, described in SAP note 413708.

Copy them to the <TWS_Home>/methods directory.

This is the list of all needed rfc libraries :-

librfcu.a
libicudata.so.34
libsapucum.so
libsapu16_mt.so
libicui18n.so.34
librfcum.so
libicuuc.so.34
libsapu16.so

Once you have all the required libs in <TWS_Home>/methods, check LD_LIBRARY_PATH and/or LIBPATH to ensure they point to the right location.

Finally, make the ownership and permission of these files correct to your system.

[{"Product":{"code":"SSTG2Y","label":"Tivoli Workload Scheduler for Applications"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"XA for SAP","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5;8.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21626032