Skip to Content
Technical Articles
Author's profile photo Santhosh Kumar Vellingiri

SAP PI : Start/Stop Communication Channel using Webservice

There has always been a common requirement to Start/Stop the communication channel externally. The blog Control Communication Channels Externally without using RWB (Control Communication Channels Externally without using RWB) introduces to HTTP GET or POST method to control channels and this one Start/Stop a communication channel from an ABAP program using the external control switch (Start/Stop a communication channel from an ABAP program using the external control switch) guides the ABAP implementation to control channels.

In this blog, I will discuss an alternate way of achieving this. SAP PI by itself has an Webservice(WS) to control the Communication Channels. IChannelAdmin is the WS that can be used to Start or Stop the communication channel. This has not been documents and so was not known. To view this web service, login to Single Service Administration http://<host>:<port>/nwa/ssadmin and look for the Service Definition IChannelAdmin. To create a Web Service Client you will require the WSDL file which can be downloaded from the WSDLs tab.

Now I will show how to test IChannelAdmin to Stop Communication Channel using Web Service Navigator. Login to http://<host>:<port>/wsnavigator

Step 1 & 2 : Select the IChannelAdmin Service and choose stopChannels operation.

Step 3 : Give the Communication Channel name, service, party, language and test Web Service.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Shabarish Nair
      Shabarish Nair
      thanks for highlighting this 'hidden' feature 🙂

      Shabz

      Author's profile photo Jochen Bayer
      Jochen Bayer

      Thanks for sharing Santosh!

      Author's profile photo Ramakrishna Thoodi
      Ramakrishna Thoodi

      Thanks santhosh.kumarv

      This again working only for external control.

      Author's profile photo Former Member
      Former Member

      Thanks Santosh!

      Sorry, i´m adding like a PI Basis, do you have a some guide for a basis administration from Process Orchestation or integration?

      please i hope you can help me!

      my personal address is rodmon.alejandro@hotmail.com

      thanks in advance