External Control in communication channel PI 7.1

Hi experts,
I would need to start and stop a communication channel from an external program, I have read in differents post that is possible via http call. But when I do the http call I get a permissions error. What permissions o roles I need in my user to do this http call?
Is necessary configurate anything? My PI version is 7.1.1.
Thanks in advance
Jose Manuel

A user needs the following role to query the status of communication channels:
●      xi_af_channel_admin_display
A user needs the following role to start or stop communication channels:
●      xi_af_channel_admin_modify
http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0c86aab4d14dece10000000a11466f/frameset.htm

Similar Messages

  • External control of communication channel

    Hi Friends,
    I had observed that for the external control of communication channels the status is showing as "Channel Stopped",is it necessary to stop the channel , Could you please update me what are the statuses we can maintain in the case of external communication channels.

    thaers is only 2 statuses like stop and start communication channels only.
    http://help.sap.com/saphelp_nw73/helpdata/de/ce/de449248544617876064a02b2a0fb8/frameset.htm
    control of communication channels
    http://help.sap.com/saphelp_nw73/helpdata/de/4b/abc051dcae4c4683841983e6d11375/content.htm

  • Reg:To control the communication channel actions externally

    Dear All,
    My scenario is File to File. Can anyone suggest me how to start and stop a communication channel without using communication channel monitoring in RWB and ATP in component monitoring,since there is no time frame has been set.
    Thanks in Advance,
    Lavanya .B

    Hi,
    Try this ... just a sample, modify as per your requirement.
    import java.net.*;
    import java.io.*;
    class ExternalChannelControlPI
         public static void main(String[] args)
              try
                   //Give Host Name, Port and Channel Name
                   URL server = new URL("http://<Host:port>/AdapterFramework/ChannelAdminServlet?party=*&service=*&channel=" + <ChannelName> + "&action=start");
                   //Hard code User Name & Password
                   String userPassword = "<USERNAME>" + ":" + "<PASSWORD>";
                   URLConnection uc=server.openConnection();
                   uc.setRequestProperty ("Authorization", "Basic ");
                   BufferedReader br = new BufferedReader(new InputStreamReader(uc.getInputStream()));
                   String inputLine = "";
                   String output = "";          
                    while (( inputLine = br.readLine()) != null)
                        output+=inputLine;
                           System.out.print(output);
                   br.close();                    
              catch (Exception e)
                   e.printStackTrace();

  • Control communication channel externally and automatically

    I would like to be able to control a communication channel automatically and externally,
    to turn it on and off at a certain time every day. Has anybody done this?

    Hi,
    Refer
    SAP Network Blog: Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Swarup

  • External Control of ABAP stack adapter/channels possible?

    Hi Experts,
    Can we Control ABAP based adapters/channel also  (e.g  IDOC  communication  channel)  using the external control with HTTP GET and POST?
    AFAIK we can control the J2EE adapter/communication channels by switching the  external control on in RWB.
    Is there a way to enable external control of IDOC channel ?
    Best Regards,
    Srinivas

    AFAIK you can't externally control the adapters on ABAP stack. Anyone else, any suggestions?

  • Communication channel Availability

    Hi All,
    I am having a File to File scenario wherein there is no mapping involved.You can say as good as using a FTP.I am using XI in this scenario purely because of client requirement.
    Problem Statement :
    I need to pick up the source file from a particular folder and send it to target folder at a paticular time say 8:00 am daily.
    Steps taken:
    To take in this requirement, I have configured the Sender communication channel (Type File) availability to 8:00am  - 8:15am daily.This was done by going to RWB>CC Monitoring>Control data(Automatic)
       Settings :
       Details Tab:
       1)Description: Just any characters here
       2)Active: Checked
       3)Availability Time - Daily
             At (Time):8.00    For (Duration): 15      Minutes 
             Series Start:  Start Date        Series End:     End Date
             Availability Times From : -same as above-
       Communication channel Tab:
       Communication Channel:<Sender Communication channel Name>
    All above config is saved.
    Problem encountered:
    Now when I do the above steps, XI does take not only the file from source for 8-8:15 duration but also outside it. So file which comes in source folder after 8:15 am say at 9:00 is also picked up by XI, which ideally should not be the case.
    My Query :
    Am I going wrong somewhere while configuring the availability of Comm channel?
    Regards,
    Shiben

    Hi Shiben,
    Could you please check the Control Data state of Communication channel, it should be Automatically (not Manually)
    &#9679;      Manual
    You control the communication channel by choosing Start or Stop.
    &#9679;      Automatic
    The communication channel is controlled by availability times.
    &#9679;      External
    The communication channel is controlled by an HTTP request.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/content.htm
    Cheers,
    Jag
    Edited by: jag on May 7, 2008 5:41 PM

  • XI Communication Channel setting for MQ Cluster

    Hi all,
    I am looking for information related to communication channel settings to access a MQ cluster using JMS adapter. Please provide any helpfull links.
    I want to know if this would be any different when XI interfaces with a MQ without clustering.
    Thanks!

    I don't know which cluster mechanism you have, but if you have 2 hostname you should think to a method to switch from a node to the other in easy way, deactivating one and activating the other (for instance with the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/45/0c86aab4d14dece10000000a11466f/frameset.htm">Controlling a Communication Channel Externally</a>)
    I suggest you to verify how it will be in production instance: real cluster ? switch over ? virtual IP ?
    Regards,
    Sandro

  • REG: Communication Channel

    Hi All,
                Can we externally control the communication channnels ie( to active and inactive the channels externally without using runtime workbench or going to the configuration part).If yes please provide the details about it?
    Thanks,
    Siva

    Yes you need required privileges for that /particular role for that
    you can control that using the http://host:port/AdapterFramework/ChannelServlet?party=&service=&channel=&action=stop
    before that you need to set ExternalControl on for your cc
    Rajesh

  • All Communication Channels stopped or startet when restart of the SAP-PI

    is there any way to control the Communication Channels (to be startet or to be stopped during the next SAP-PI system start) while the SAP-PI is not running.
    for a special data migration reason, we have stopped all Communication Channels except one Comm.channel.
    after finishing the migration and for a backup, we shut down the SAP-PI system.
    for the next SAP-PI system start, all of the Communication Channels should be run again.
    is there any way to control (to be startet again for the next SAP-PI system start) the Communication Channels while the SAP-PI system is already shut down
    or is the only possible way to start the SAP-PI system, and then manually start the needed Communication Channels.

    Hi,
    If you bring PI server down then all the channels will automatically stop and you can not control these channels when the server is down.You can again start these channels when the server is up and running.....
    Regards,
    Naveen

  • Communication channel control

    Hi Experts,
    We have a requirement of stopping all the communication channels and reverting back to their previous state. i.e if the channel is in start mode it should go back to start mode. If it is in automatic control mode it should revert back to it. Is there any option to handle this in a program. The limitation we found is that only if the external control is on it can be controlled programmatically and can be started and stopped. But we cannot revert back to its previous state. Is there any other option to implement this requirement.
    Please provide your valuable suggestions.
    Thanks in advance,
    Komal Patange.

    Hi Komal,
    there is the limitation that externally you can only start/stop and getstatus of the channels, but you cannot modify the 'control mode' externally (only manually in the channel monitor). sorry...
    Regards,
    Laszlo

  • Suppressing Popup screens while controlling Communication Channel externaly

    Hello PI Gurus
    I have figured out how to control communication channel externally for stopping and starting the channels.
    I am trying to write a simple abap code to do this. Since I have several channels, I am putting in a loop. It is doing the job well. However, for each channel a IE screen pops up with the XML data for that particular URL.
    I am sure many of you might have been controlling comm. channels externally and might have come across this problem. I would appreciate iif you can please let me know how you got this issue resolved.
    Thanks
    Ram

    Thanks for the response. I appreciate it.

  • Remote control communication channel

    Hi
    We want to check the communication channel status from remote it running or down?
    I know we can check using external control URL,
    but the response is XML.
    We want to tell the status job scheduler.
    return code and so on.
    How can I do?
    regards,

    Hi,
    Refer
    SAP Network Blog: Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Swarup

  • About channel external control in the pi7.1

    Dear PI Experts:
      when i  access the pi channel by the way of extenal use  url:http://foxxi:50000/AdapterFramework/ChannelAdminServlet?party=GSCMDSENDERBJ&service=XIF_JAVA&channel=GSCMDSENDERBJ_CC&action=start  ,
    the response reault is :
    =========================
      403   Forbidden
      You are not authorized to view the requested resource.
    Details: No details available.
    =======================
    does anyone know the how to use the  external control  in the pi7.1, i don't kown how to cofigure the pi ,i have the material but it's about pi7.0, it's different from pi7.1(in pi7.1  there are no visual admin )
      thanks     best regard
    Edited by: kevin liang on Aug 26, 2009 9:16 AM

    Hi,
    ensure that youhave proper Roles to control CC.
    Refer below discussion,
    Automatic Control, External Control ON/OFF in RWB
    & of course SAP help is best giude for troubleshooting your problem.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/0c86aab4d14dece10000000a11466f/frameset.htm
    Thanks
    Swarup

  • Calling a communication channel externally

    Hi Experts
    I want to dynamically call the communication channel from bpm during runtime.For this i am using a transformation step and writing a java code to call the url.But how to pass the username and password required to login into the adapter framework.Below is the java code i am using :
    URL channelurl = new URL("http://hostname:port/AdapterFramework/ChannelAdminServlet?party=&service=\"NP_DEV_3RD_POC1\"&channel=\"CC_Sender_File_FiletoMail\"&action=\"start\"");
    URLConnection channelconn = channelurl.openConnection();
    channelconn.connect();
    Edited by: Sabyasachi Mohapatra on Nov 23, 2009 3:30 PM

    ok

  • Open and close communication channel in one link

    Hello,
    I implement with successful the scenario that described in this blog:
    Control Communication Channels Externally without using RWB
    Right now I use with this link to start the CC
    http://aaaa:50000/AdapterFramework/ChannelAdminServlet?party=*&service=Open_Friday_Service_Sender&channel=Open_Friday_Sender&action=start
    And with this link to stop the CC
    http://aaaa:50000/AdapterFramework/ChannelAdminServlet?party=*&service=Open_Friday_Service_Sender&channel=Open_Friday_Sender&action=stop
    I looking for the way to start and stop the communication channel in one link.
    Elad

    hi elan
    i think you need to write an abap program and schedule it..
    abap program will call this HTTP link as The URL has no dependency on where it is called.
    regards
    kummari

Maybe you are looking for

  • Premiere Elements 13 won't launch in Windows 8.1 (Click the icon and nothing happens)

    I'm running the trial version of Premiere Elements 13 on Windows 8.1 64-bit. It's a brand new PC built for video editing. Everything worked perfectly for about a week and all of a sudden I'm unable to start the program. I click the icon and nothing h

  • Problem with dynamic smartform

    Hello ! I have a requirement to create a smartform, which i have 2 tables. One is inside the main window and is working fine. The other window is in a different place of the page, and i have to make this second window to act like it is a "second" mai

  • "Open in Dashboard" option not available on text files

    I'm trying to web clip a text file that contains some reference information that I update from time to time. I've created a simple text file, put it in the Public folder of DropBox and have a URL that when I open in safari, displays the contents of t

  • Using existing 1Tb Home Folder from new SSD boot drive

    So, I am completely stuck. My plan; Mac Pro (2008) with RAID card. 4x750Gb drives as RAID5, Home Folder is resident there at 1.25Tb. Purchased 160Gb SSD. Performed clean install of 10.6.7 on it connected by e-SATA. Migrated Applications. Booted into

  • Disable Initial Password Reset.

    Hello; Is it possible to set that the user do not change the initial password when created or even if the SAP Administrator reset it, the first time the user log on the system. Thanks; Ali Gumusoglu