Accessing the J2EE Transaction
Manager
· Use the utility SAPAdapterResource with JNDI, for example in the SPIManagedConnection Factory class, to access the J2EE transaction manager.

Open SPIManagedConnectionFactory.java and search for the character string CS_TXMGR.
· Then, use the transactionManager instance as described in Transactions in the Asynchronous Sender/Inbound Message Flow.