Skip to Content

Using SAP PI to stop and start communication channels from NW BPM

Nov 21, 2017 at 03:39 AM


avatar image


Im attempting to externally control SAP PI adapters from NW BPM.

Im have created a async Rest POST with a dynamic url to allow this IFLOW to be used to hit multiple channels from various BPMS.

The end point looks like this -


When I hit this service with a broswer or SOAPUI get/post the channel stops and starts immediately - this works perfectly for initial testing.

When I try and do this through SAP PI through an IFLOW from BPM the call is successful in the adapter but the channel itself does NOT stop/start.

Is there a limitation when calling local services from SAP PI that it cant be manipulated from the called service/BPM ????? the channel that triggered the BPM is the channel I am trying to control/disable.

JDBC -> BPM...BPM then turns off the JDBC adapter and executes the rest of the flows then last thing it does is to trigger the JDBC to turn on and the whole thing starts again.

Why does the JDBC communication channel not get switched off/on ?????

10 |10000 characters needed characters left characters exceeded


The channel should have stopped/started, could you share the PI message log for the start and stop IFlow and receiver adapter settings which calls the endpoint?

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Richard McArthur Nov 23, 2017 at 12:17 AM

Solved. Xpath expressions in the Rest adapter require a message mapping moving the message into the correct namespace - It was actually an issue with the rest adapter not hitting the end point.

Thanks all

10 |10000 characters needed characters left characters exceeded