Pass Idocs to SAP Java CE 7.1 from CRM ABAP?
I had a consultant build a Java application in CE 7.1 where an Idoc is passed to a Jco Listener program on the SAP Java AS server. Which in turn is somehow picked up by another Java EJB application. I believed he used the document at this link to come up with the whole process. "http://nwadave.com/NwadExplorer/data/SAPDoc/ProcessingIDocsWithTheSAPJavaConnector.doc".
My problem is now I am trying to build another EJB application to take another Idoc type, using the same process(architect), but the Idocs keep flowing to the existing EJB applications. I have noticed that there is nothing in the Jco Listener program that sends the Idoc to the EJB application, or nothing in the EJB that references the Jco Listener.
My questions are: is this process (architect) the correct way to accomplish this or was the consultant just lucky and this work only because their was a single EJB application to do this kind of work on the server? If not is there a better way to accomplish this for multiple EJB applications.
I would even consider changing the whole architect to not use Idocs if there is a way to call a specific Java EJB application method from an ABAP RFC, any help here would be greatly appreciated.
Please let me know if more information on this is needed, I would gladly provide it.