Dynamic Communication Channel Config

Hi,
does anybody of you know if it is possible to configure communication channels dynamically, via script or API?
Kind regards,
Heiko

Hi,
You can dynamically decide the Receivers in XI. As per the dynamic Recievers, even you can dynamically decide the communication channels.
For more-
http://help.sap.com/saphelp_nw2004s/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/frameset.htm
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
Hope this helps,
Pls acknowledge
Regards,
Moorthy

Similar Messages

  • Dynamic Communication Channel in Receiver Agreement

    Hi Experts,
    I have the situation: one Receiver System with one Inbound Interface. This Receiver System is able to receive messages on this interface through different Communication Channels.
    I want to have a possobility, based on message content, to dynamically select which Communication Channel to use.
    So is it possible to do such a config, without dublicating the Inbounb Interface with a different name (maybe to set some values in Java Mapping?)?
    Best Regards

    I have one Receiver System, so maybe, you mean conditions in Interface Determination
    No. I meant receiver determination only. You use same receivers in more than one cases.
    As asked, why do you need multiple channels?
    Regards,
    Prateek
    Edited by: Prateek Raj Srivastava on Feb 27, 2009 6:58 PM

  • JMS communication channel red

    Hi all,
    I have configured the JMS sender communication channel in ID. but the status is red. When i configured the JMS Adapter in Decentral adapter engine(with same details),the status is green.
    Please help me out.
    The error says that " Sender channel : details null"/
    What should we do so as to make our communication channel green?
    Need clarifications:
    Communication channel config happens in central adapter engine....When i use decentral adapter engine, should i define communication channels also....
    If yes, then it will be something like we are making use of both adapter engines right.
    please correct me if i'm missing something.
    Thanks and regards
    rahul

    Hi Venkat,
    I tried the manual process. The document says that the meta-inf and server folder should be maintained in the sda file including the sub files and the path should be maintained for those sub files....But if i save the path info in the zip file, its returning error when i try to deploy(Error: attribute missing,vendor missing).
    On removing the path info,i'm able to delpoy but the adapter status is red.
    My SDA structure is not same as the one specified in the document.
    i am not getting the meta-inf and server folder in that zip file.only the sub files are included.
    please correct me if i am wrong.
    Regards
    rahul

  • No Integration Server under Adapter Engine at Communication Channel

    Hello all,
    This is new PI7.0 install.
    I configured a file Adapter communication channel for an Integration Scenario.
    At field "Adapter Engine" under Parameters tap I am not able to select the Integration Server.
    Pull down menu is empty.
    I did sxmb_adm and blog 6077 that got "Integration Server" in file adapter. Later to that file to file scenario worked yesterday. However after java+abap stack complete restart (to cleanup unwanted manually created business system of type WEB AS ABAP) the problem came back today.
    I repeated again same blog /people/venugopalarao.immadisetty/blog/2007/03/15/adapter-engine-cannot-be-found-in-integration-directory   sxmb_adm, sldcheck, rz70 all looks good, but no luck.
    There is a note from forum to change the content maintenance under
    SLD->Administration->Content Maintenance->Subset (Landscape description)...
    Need some pointers on what to change & get the file adapter to work? Thanks.
    Another observation is all adapters got empty menu (no Integration Server). However IDOC, HTTP got integration server populated.
    ====================
    Re: No Integration Server under Adapter Engine at Communication Channel config  
    Posted: Sep 12, 2007 4:46 PM    in response to: Jochen Schertel      
    Hi All,
    the problem was related to missing some Associations under Contend Maintenance for the Integration Server.
    After implementing again, the problem was solved!
    Regards,
    Jochen
    ====================

    Hi Jochen,
    Can you please check following parameters in sxmb_adm on your application server.
    Goto TC : sxmb_adm...select Integration Engine configuration n check whether you have maintained global configuration data as
    Role of Business System  : Application system
    and Corresponding Integ. Server : http://xi hostname:port/sap/xi/engine?type=entry
    Also check if you have created following RFC destinations:
    1. INTEGRATION_DIRECTORY_HMI(H)
    2.LCRSAPRFC (TCP/IP)
    3.SAPSLDAPI
    Nilesh
    Nilesh

  • Config-time substitution of Communication Channel values

    I apologize in advance if this is explained elsewhere (or it's so blindingly obvious that nobody has asked). I promise I looked.
    NW04 SP17
    Is there a way to do parameter substitution on values defined in a communication channel template, based on the business system that the channel is going to be assigned to at config time?
    In case I got the terminology wrong, here's what I want to do. I have some CC templates defined for some SOAP services. In the template definition, I can add Target URL and SOAP Action attributes and assign a value to them that will be available on the config side later on. I want to use this template against a number of technical systems, each of which is going to have a different host portion of the Target URL.
    What I would like to have is a way for the CC template to have a 'generic' hostname that is substituted for at config time by the actual hostname of the business system that the channel is going to connect to.
    Is there a way to do that? Or is that a stupid question?

    Hi Michael,
    I think there is a way to do this, depending on the XI SP level.
    You might reference the following weblog, which uses the HTTP adapter as an example:
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Then, in SAP Help, for JMS receiver config:
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    Look under "Adapter-Specific Message Attributes" for JMS-specific parameters. 
    Regards,
    Bill

  • Dynamic File name in FTP Communication Channel

    Hi All,
    We have requirement where ,we create a filenames dynamically ( runtime).These filenames whihc do change for every execution needs to be added in FTP communication channel.
    1. How can we add the this generated file name in FTP CC Communication Channel.
    2. Does this file needs to part of target structure during graphical mapping ?
    3. Can we also dynamically append the Directory name to file names aswell ?
    Please provide your valuable sugestions.
    Thanks for your support.

    1. How can we add the this generated file name in FTP CC Communication Channel.
    3. Can we also dynamically append the Directory name to file names aswell ?
    to get the FileName:
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    To get the Directory:
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    Then append:
    key+key1
    And then in the CC select the Directory checkbox under the ASMA properties...
    2. Does this file needs to part of target structure during graphical mapping ?
    The file which is sent using the CC will have the FileName as configured in the UDF of the graphical mapping....and if i am not wrong then the target structure resembles the file (if there is no FCC done)....
    Regards,
    Abhishek.

  • Dynamic Configuration for two file adapters communication channels

    Hello Experts!!!!!!
         In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
    However the receiver service for both the communication channel are same.
    In message mapping I am using multi mapping to create two files out a single message.
    Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
    When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
    Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.    
    Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
    Thanks & Regards,
    Amol

    Thanks for your prompt responses!!!!!
        Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
    I mean if iam using say comm. channel A and B.
    Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
    and then do samething for comm. channel B in its dynamic conf.
    Regards,
    Amol

  • Dynamic file name in communication channel

    hello
    is it possible to give in the communication channel, under the 'File Access Parameters', a dynamic file name?
    to get it out of a table or something?
    Thanks
    Kfir

    Hi,
    Yes its bit possible to use the dynamic file name at File access paramters
    The dynamic filename generation concept is as follows.
    In your filename field. just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    If you have any clarifications, do get back,
    Refer below links for more in depth details about it
    Re: Dynamic file name in Receiver File Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    /people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Check out this URL
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Check these weblogs as well...
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    Thanks
    Swarup

  • Dynamic path in the communication channel

    Hi,
    Is it possible to provide the path into the receiver file communication channel via the mapping program or any other means?
    In short, we want the path in the channel to be dynamic.
    Is it possible?, if so, how?
    Thanks,
    John

    Hi,
    Yes it is possible by using Variable Substitution. The path must be into the target payload and then you can use "Variable substitution" in your communication channel definition, to extract the path and use it into path name.
    var1 = payload:MT_XXXX,1,path_field_name,1
    Abid!

  • How to call communication channel dynamically? Please help!

    Hi Experts,
       BizTalk -
    > XI -
    > SAP SYS01
                          XI|----
    >SAP SYS02
       We are integrating Biztalk with SAP via XI. BizTalk send rosattenet PIP via JMS adapter to XI. XI then sends the PIP data to SAP system using RFC adapter.
       In the PIP we have a parameter for plant code. Now if plant code is 'ABC' then we need to send the data to SAP SYS01 else if plant code is 'XYZ' then send the data to SAP SYS02.
      In other words we have RFC communication channel one each for each SAP system.
      This is like calling the communication channel dynamically based on palnt code.
      How can we do this in XI? Please help!
    Thanks & Regards,
    Gopal
    Edited by: GOPAL BALIGA on Jan 12, 2009 7:35 AM

    this is a typical case for a XPATH based conditional routing. note that your receiver will have binding with the interface and the communication channel
    ref:
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

  • Dynamic Configuration of Mail receiver Communication Channel

    Hi,
    like in /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping for http receiver CC, i am trying to do header customisation, with XHeaderName1 for mail header fields like content-type, content-disposition, but it doesn't works ...
    in my mapping i've added :
    > (...)
    > DynamicConfigurationKey cDisposition = DynamicConfigurationKey.create("http:/""/sap.com/xi/XI/System/Mail", "XHeaderName1");+
    > dynaConf.put(cDisposition, "attachment;filename=myFile.txt");
    in Communication Channel ASMA i've added variable header : XHeaderName1 --> Content-Disposition
    in monitoring i see that XHeaderName1 is filled with attachment;filename=myFile.txt
    but in the mail send like this, this configuration has no effect
    Someone can help me ?
    Edited by: MedAmine on Aug 19, 2009 3:20 PM

    Only one standard mail header field can be influenced: this is indeed "Content-Disposition".
    You have done halve way, the only thing you have missed is to set the additional parameter 'OMail.AddContentDisposition' to false within 'Advanced Mode'.
    Have a look at this WiKi:
    http://wiki.sdn.sap.com/wiki/display/ESOAInfrastructure/Dynamic+Email+Attachment+name+for+Received+Mails+with+ASMA+and+without+using+mail+package

  • Dynamic name for attachment in the Receiver Mail Communication Channel

    Hi All,
    I want to dynamically set the name of attachment in receiver mail Communication Channel.
    Example: IN__9907211000004_4048454000005_20081211_01000000002643
    The first two numbers 9907211000004 & 4048454000005 I want to read it from the message
    20081211 this is the date and
    And againg this number 01000000002643 is read from message.
    What is the procedure to create Adapter Module? I am new to Adapter Module.
    Any Ideas ideas?
    Thank You,
    Mukhtar

    Hi Michal,
    I had a look to your blog and tried to modify according to my requirement.
    Here is the code
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.*;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
    @stateless
    public class SetAttachmentName implements SessionBean, Module{
         private SessionContext myContext;
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
    public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
                          throws ModuleException{
         try {
    Message msg = (Message) moduleData.getPrincipalData();
    //creating parsable XML document
    InputStream XIStreamData = null;          
    XMLPayload xmlpayload = msg.getDocument();
    XIStreamData = xmlpayload.getInputStream();
    DocumentBuilderFactory  docBuilderFactory = DocumentBuilderFactory.newInstance();               
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    Document doc = docBuilder.parse(XIStreamData);
    //finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
    String SenderIDTag = null;
    SenderIDTag = moduleContext.getContextData("SenderIDTag");
    //finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
    Element element = doc.getDocumentElement();     
    NodeList list = doc.getElementsByTagName(SenderIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    String anIDTag = null;
    ReceiverIDTag = moduleContext.getContextData("ReceiverIDTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(ReceiverIDTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    Date date= new Date(System.currentTimeMillis());
    //Add date to the Message
    SimpleDateFormat dateFormat= new SimpleDateFormat("yyyyMMdd");
    mailFileName += "_" + dateFormat.format(date);
    String BillNrTag = null;
    BillNrTag = moduleContext.getContextData("BillNrTag");     
    element = doc.getDocumentElement();     
    list = doc.getElementsByTagName(BillNrTag);
    mailFileName += "_" + list.item(0).getFirstChild().toString();
    //creating the attachment
    byte by[] =  xmlpayload.getText().getBytes();
    XMLPayload attachmentXML = msg.createXMLPayload();
    attachmentXML.setName(mailFileName);
    attachmentXML.setContentType("text/pdf");
    attachmentXML.setContent(by);
    //adding the message to the attachment
    msg.addAttachment(attachmentXML);
            inputModuleData.setPrincipalData(msg);
        } catch (Exception e) {
            throw new ModuleException(e);
        return inputModuleData;
    I hope this is right Adapter Module coe for my requirement.
    Thank you in Advance,
    Mukhtar

  • Dynamic language RFC communication channel

    Hi,
    Is it somehow possible to dynamically determine the language to be used to send an RFC request with the RFC Receiver Adapter? I don't see any variable substitution possibility, so I assume it is not possible to do so.
    What would be the nicest way to do the following: internet web page triggers a synchronous interface in XI which is mapped to an RFC call to ECC. Depending on the language used in the RFC call (would be passed by the initial trigger) the error texts of the RFC call are translated automatically (standard ECC functionality) and returned. So the user wants to have this error messages in the language passed in the web page.
    An alternative I see, would be to create n target messages and n communication channels (1 per language) and let the interface determination do the trick. But I would like to know there is a more dynamic solution for this.
    Thanks a lot in advance!

    Hello,
    SSO - Single Sign On is not supported in XI3.0, communication channels need a service id for talking with R3.
    We have been following up with SAP for SSO functionality. Its still in the pipeline. In the near future they may provide SSO.
    Regards,
    Naveen

  • User dynamic for RFC communication channel

    Hello,
    we are developing an architecture for a bank company. We have a JAVA frontend and a R/3 backend, with a XI machine between both. All the authorizations are implemented inside the R/3 backend, and we need that all the users of the frontend exist on the backend. For this reason, when we define the RFC communication channel inside the integration builder configuration, the user must be dynamic. However, on the RFC communication channel only an static user-password is permitted. Could you tell us a possible way to define this user dynamically?

    Hello,
    SSO - Single Sign On is not supported in XI3.0, communication channels need a service id for talking with R3.
    We have been following up with SAP for SSO functionality. Its still in the pipeline. In the near future they may provide SSO.
    Regards,
    Naveen

  • Configure Communication channel URL Dynamically

    Hi,
    I need to Configure the SOAP Adapter Communication channel URL dynamically.
    My requirement is like this, I have to send  the Login request details to the Salesforce webservice after that I will get the response, that response has the ServerUrl, I have to map that URL to the Target URL in CC
    I created UDF for that, Here is the code:
    "DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey parmValue=DynamicConfigurationKey.create("http:""/""/sap.com/xi/XI/System/SOAP", "TServerLocation");
    conf.put(parmValue, SessionUrl);"
    Note: In the above code "SessionUrl" is the servreurl.
    but this not working.
    Please help me in this(don't send any links)
    Regards,
    Yuga

    Hi,
    I just completed a receiver SOAP scenario:
    This is the udf i used
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    String temp = "http:/sap.com/xi/XI/System/SOAP";
    DynamicConfigurationKey key = DynamicConfigurationKey.create(temp, "TServerLocation");
    String varURL = serverURL
    conf.put(key,varURL)
    *As Amit said Check if ASMA and variable transport binding are checked in the adapter.
    *see Dynamic Configuration in SXMB_MONI
    *If u have uid pwd send it like "http:/"+"/uid:pwd@servername:50000/XISOAPAdapter/........
    *If you encounter a invalid content type error check Donot use SOAP envelope and pass &nosoap=true
    *use the url and post from a SOAP client
    *If you get a mapping exception try to check what is the exact reason for the exception in the Trace
    Shakthi

Maybe you are looking for

  • SYSTEM ERROR IN JDBC - XI - SOAP -

    Hi All Actually i am through a JDBC -> XI-> SOAP (webservice)->XI -> FIle scenario using BPM, its mapping for the first half i.e JDB -> XI -> SOAP is like - Data uses the JDBC adapter , initially passes the  JDBC outbound async interface , then it en

  • CD read at 2.5 MB/sec, too slow?

    Hello! In the 2 weeks I've had my MacBook Pro (15", 2.2 Core 2 Duo, 10.5.2) i've noticed that CDs seem to read fairly slowly. THat is, more slowly than my old 15", 1.67 Ghz PowerBook G4. So, I decided to test that. I took a CD, and used disk utility

  • Nokia 6230i and Mercedes Car. Working.. Just a cou...

    Hi I've got a Mercedes C220 '55' reg. Nokia 6230i and Nokia B6 787 5846 The phone works well in the car, but I have a couple of questions: How do I program speed dials for use in the car ? If I press and hold '2' in the car, I get a error similar to

  • I can't use certain programs with Yosemite

    I have the Adobe CS6 installed on my computer and they all worked fine with Snow leopard, but the moment I got Yosemite and tried to open After Effects I get this message: "You can't use this version of the application "Adobe After Effects CS6" with

  • Search For a File

    Hello, What is the script in order to have applescript search for a file, and if the file does not exist it runs a script? Simply like this: Search for file (HD:Users:etc) if the file does not exist then -do whatever end if if the file exists then -c