Skip to Content
Author's profile photo Olga Dolinskaja

Get your hands on Industrial IoT scenarios with ABAP Channels

Industrial IoT (aka Industry 4.0) makes it possible to integrate machines and sensors on the shop floor with IT systems along the entire value chain, even beyond a single enterprise. These connected systems can interact with one another using standard Internet-based protocols for faster, more flexible, and more efficient business processes.

SAP NetWeaver AS ABAP 7.50 implements industrial IoT scenarios through support of native TCP/IP protocols based on the ABAP Push Channel and ABAP Messaging Channel infrastructure. Direct connection between the ABAP server and shop-floor devices eliminates the need for middleware components and thus simplifies the system landscape setup and lowers TCO. The new ABAP Channels programming model simplifies application development.

Using these step-by-step exercises you can try out the potential industrial IoT implementation scenarios: you implement TCP Client and TCP Server in ABAP, and use them for external sensor communication. Finally you integrate the external sensor temperature data within ABAP business logic and push it in real-time to the UI using ABAP Push Channel (WebSocket) communication.

These exercises are based on our SAP TechEd 2016 hands-on DEV163. You can execute them in any SAP NetWeaver  AS ABAP 7.50 System.

Download How ABAP supports Industrial IoT scenarios with real-time UIs – Exercises

Have fun!

Assigned tags

      12 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Amol Samte Samte
      Amol Samte Samte

      Hello Olga,

      I am not able to download ncat.

      Can you give me exact path or screen shot.

       

      Regards,

      Amol Samte

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Amol Samte,

      the exact path is in the "How ABAP supports...." document, linked in the blog under "Prerequisites".

      I just post it here again for your convenience: https://nmap.org/ncat/

      Best Regards, Olga.

      Author's profile photo Amol Samte Samte
      Amol Samte Samte

      Hello Olga,

      First of all thanks for your valuable help.

      I went though link that you have given in blog very first time, i thought i downloaded wrong one so asked path.

      When I am trying to execute ncat.exe, some command prompt window appears less than a second and goes off...

      For reference attaching screen shot, since  command prompt window appearing less than a second thus not able to capture..

      Regards,

      Amol

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi  Amol,

      you need to run ncat on the command line window as shown on the screenshot. Run cmd from Windows prompt (cmd window opens), change there to the directory where ncat is and run ncat.

      Regards, Olga.

      Author's profile photo Amol Samte
      Amol Samte

      Hi Olga,

      Exactly I did... and its working now

       

      Thanks,

      Amol

      Author's profile photo chandru ramasamy
      chandru ramasamy

      Hi Olga,

      Could you pls help, i dont find ncat file under this path 'https://nmap.org/ncat/'.?

      Its just downloading Nmap.

       

      Thanks

      Chandru.R

       

      Author's profile photo flavio ciotola
      flavio ciotola

      Hi Olga,

      First of all, thank you very much indeed for sharing this blog and the exercises.

      I'm trying to run exercise #1 and got the following error:

      WebSocket connection set up has failed with error text: Connection refused by server (ICM_HTTP_CONNECTION_REFUSED)

      Do you have any clue about it?

      I'm running AiE and SAPGUI from my local machine, SAP NetWeaver AS ABAP 7.50 SP2 is the developer edition running in VirtualBox (openSUSE), again on my local machine.

      Thank you again.

      Flavio

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Flavio,

      since your ABAP system is in the VirtualBox, it is probably in the other local network as your local machine and therefore the port 11300 (from the exercise 1) must be opened for the TCP communication from the VirtualBox to your LAN in both directions.

      Best Regards,

      Olga.

       

      Author's profile photo flavio ciotola
      flavio ciotola

      Hi Olga,

      Thank you for the answer.

      I've tried to add port 11300 to port forwarding in VirtualBox, unfortunately the ICM connection refused error is still there.

      Is there something else I'm missing? Has anyone been successful trying to run the exercises using NPL Developer Edition?

      Thanks again and best regards,

      Flavio

      Author's profile photo Sunil Joyous
      Sunil Joyous

      Hello Olga,

       

      Great Article! The use case has been explained nicely.

      I wanted to have a look at the code, however the link to the ZIP file is not opening.

      Prerequisites:
      Before you start, download ABAP_Channels_IoT.zip and unpack it.
      On clicking this link, the ZIP is not getting downloaded.
      Has the link changed?
      Thanks,
      Jay
      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Jay,

      thanks for this notice. The link works now, please try again.

      Best regards,

      Olga.

      Author's profile photo Jaidyn Moore
      Jaidyn Moore

      Worth reading!! Thanks for sharing this informative post!! This is a great post and I appreciate the efforts you made to share this information. Though for all my industrial automation and Roxtec Cable Entry needs, I trust Excel Automation. Thanks!!