IBM Support

Session Reference is null error during BAPI execution

Troubleshooting


Problem

When client has different message flows invoking more than one BAPI using the WebSphere Adapter for SAP, the first call to the BAPI succeeds, however the subsequent BAPI calls fail.

Symptom

The subsequent BAPI calls fail with the following error:

'session reference is null. SessionReferenceProvider:
com.ibm.j2ca.sap.ext.JCo3SessionReferenceProvider, scope type:null'

No further information on why the BAPI calls failed when executed.

Cause

The BAPI calls fail as the transaction goes from Stateful to Stateless Mode.

Resolving The Problem

This problem has been addressed in APAR JR37273. Check the latest Recommended Fixes whether it is available online, otherwise, contact IBM Support to get the fix.

[{"Product":{"code":"SSMKUK","label":"WebSphere Adapters Family"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Adapter for SAP","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.0.1;7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2018

UID

swg21450625