2025 Jan 31 6:48 AM - edited 2025 Jan 31 9:02 AM
Dear All ,
I need to read Machine data using a TCP/IP Ethernet cable.
We have the following data which is going to be used for TCP/IP Ethernet
Local Host IP: 192.xx.xx.xx ( My PC IP address )
Remote Host IP: 192.xx.xx.xx ( Machine device IP address )
Remote Port: 1702
For Example, the Image is attached where the third-party utility is connected with my Remote Hot IP and Port and reads data I need to develop same functionality in SAP Can you help with this
I also attached the SAP Version that I used.
Third-Party Utility
Installed SAP Version
Installed SAP Version
Request clarification before answering.
Edit: it turned out that in newer Releases the ABAP Push Channel framework, provides both, TCP/IP server and TCP/IP client functionality. However, there are certain limitations as to what TCP packets/frames you can send & receive. See my comment below for details.
The best way I can see, is to use a middleware that communicates with the ABAP side via RFC protocol, and with the program on the remote host via TCP/IP protocol. For example, you could use SAP Business Connector, which provides all the RFC connectivity out of the box, and allows custom Java or C/C++ code to be plugged in, and you could then write the communication code with the remote host using standard java.net.Socket.
You should also check: often third-party products don't require you to write low-level networking code yourself, but provide some kind of "client library", that does it for you. If this is the case here as well, e.g. a client library is available for Java or for C/C++, then you could install that library on the Business Connector and use it easily.
Steps to do would be:
Here some documentation: Documentation
You will need the SAPAdaperGuide for the necessary configuration steps, and the DeveloperGuide for how to write Java or C/C++ Services.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update: in newer Releases, the ABAP Push Channel also supports TCP/IP client functionality, however only with a few limitations: the received data packets need to have
So if the external program sends frames/packets of that kind, you may be able to use APC.
Documentation: ABAP Push Channels | SAP Help Portal --> APC Development --> "APC Client Development" as well as "TCP Socket Framing Specification"
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.