2016 Jul 25 4:00 PM
Please see my requirement.
I am looking to setup TCP Port Listeners on SAP to an MQ(message Queue system) to listen on a specided Port conteniuously
Whenever a message comes to MQ system on the specified port, SAP TCP Port Listener should run a shell script or some JAVA code
Will this be possible ? How ?
Thanks,DeeJ
2016 Jul 26 12:18 PM
Hi DeeJ,
plain TCP programming is not available in SAP R/3.
One possibility is to install the SAP Business Connector in front of the R/3 system and open the port there, using standard java.net.ServerSocket functionality. When a message from MQ arrives in the Business Connector, you can then forward the data to R/3 using an RFC call, IDoc or HTTP request.
The Business Connector is a light-weight middleware tool that can be downloaded for free from here:
https://service.sap.com/sbc-download
There is also the necessary documentation on the same site.
Is the MQ system IBM MQSeries by any chance? I know that for this queueing system there are already existing Java libs that could easily be plugged into the Business Connector.
Best Regards, Ulrich
2016 Jul 26 12:18 PM
Hi DeeJ,
plain TCP programming is not available in SAP R/3.
One possibility is to install the SAP Business Connector in front of the R/3 system and open the port there, using standard java.net.ServerSocket functionality. When a message from MQ arrives in the Business Connector, you can then forward the data to R/3 using an RFC call, IDoc or HTTP request.
The Business Connector is a light-weight middleware tool that can be downloaded for free from here:
https://service.sap.com/sbc-download
There is also the necessary documentation on the same site.
Is the MQ system IBM MQSeries by any chance? I know that for this queueing system there are already existing Java libs that could easily be plugged into the Business Connector.
Best Regards, Ulrich