com.sap.mw.jco.jra

Interface IDocMessageListener

All Superinterfaces:
MessageListener, TIDHandler

public interface IDocMessageListener
extends MessageListener, TIDHandler

A MessageDrivenBean implementing this interface is able to receive IDocs from an ABAP system via tRFC. Setting the property FunctionName to the RFM / BAPI Name in the ejb-jar.xml is required. This interface should be used only for receiving IDocs. It does not convert non-IDocs to IDoc format.


Method Summary
 void onMessage(com.sap.conn.idoc.IDocDocumentList idocList, String transactionalID, Properties info)
          This message is called by the EJB container when an ABAP system asynchronously calls the registered Resource Adapter server.
 
Methods inherited from interface com.sap.mw.jco.jra.TIDHandler
onCommit, onConfirm, onRollback
 

Method Detail

onMessage

void onMessage(com.sap.conn.idoc.IDocDocumentList idocList,
               String transactionalID,
               Properties info)
This message is called by the EJB container when an ABAP system asynchronously calls the registered Resource Adapter server.

Parameters:
idocList - IDoc package containing one ore more IDocs sent via tRFC from R/3
transactionalID - of the underlying transaction
info - contains caller identification, like UserName, SystemID, etc.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] ENGFACADE [sap.com] tc/bl/jra/api api BC-JAS


Copyright 2012 SAP AG Complete Copyright Notice