Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP TCP Port Listener setup/configure

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

1 REPLY 1

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

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