Skip to Content
author's profile photo Former Member
Former Member

SAP TCP Port Listener setup/configure

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 11:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.