I'd like to make an application that gets messages from a mail server via IMAP-S and sends these messages to a SAP backend.
This application should work 'on demand': i.e., it should be callable on request from the same SAP backend.
Mail Server <--- IMAP
-> JavaEE Application "Mail Proxy" <
- RFC ---> SAP Backend
I think that in order to do this, I have to make an application that run on a J2EE Application Server (not on a SAP portal) that uses SAP Java Connector.
Can someone point me to some examples or documentation in order to do this? Is this feasible (make an application that activates on demand from a SAP Backend (i.e. an ABAP function module calls the application and then receives the answer)?