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

Similar Messages

  • Variable Substitution in Communication Channel

    Hi,
    When doing variable substitution in the communication channel do I use my source or target message to create the reference?
    Thanks,
    Liesel

    always in the target...u can check with <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm</a>
    Message was edited by:
            Prabhu  S

  • Time out at communication channel type SOAP and RFC(synchronous interface)

    Hello Experts.
    I have a some interfaces here that have a Sender SOAP channel and Receiver RFC channe. We have problens with Timeout with soap channel and expiration with RFC time channel. I need a way to keep de connection alive in these interfaces, someome can indicate a way to do it?
    Thanks a lot.

    The error that ocurred is that one:
    SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired
    The RFC inbouc channel expired.
    Thanks.

  • Time stamp is not getting updated for File Adapter in communication channel

    Hi All,
    Since yesterday, I am observing that the time stamp of communication channel for File adapter is not gettingupdated some times.
    I had to stop and start the communication channel to update the time stamp.Please let me know if anyone has come across such issue or any useful notes on this.I could not find any related notes on Market place.
    Regards,
    Dinakar

    Hi,
    This is happening only with one communication channel which is sender in derection.Any reason why it is happening like this?since the restart of the communication channel it is getting update now.I really do not know how to delete/create the communication channels as this was done our PI consultants.Pls guide me.
    Regards,
    Dinakar

  • Accessing receiver communication channel parameters in mapping

    Hi,
    I have an XI sender to HTTP receiver scenario with mapping to set the value of the target URL, which is set as an Adapter Specific Message Attribute (TargetURL).
    The mapping is responsible for adding hashed authentication credentials to the end of the URL string.
    Ideally I'd like to be able to read the values of the host, port and path from the receiver communication channel configuration than hardcode these in the mapping class.
    Does anyone know whether it is possible to read receiver communication channel values within mapping?
    I could store the full URL string in the communication channel but this would not be secure hence the preference for doing this in mapping.
    Thanks,
    Alan

    try using Dynamic confiuration
    please check HTTP rec doc: http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    ○       URL: TargetURL
    ○       HTTP Destination: HTTPDest

  • Communication channel monitoring (adapter engine) in ccms (rz20) available?

    Hi,
    we have problems in our xi system (PI 7.0, SPS10). The adapter engine can only be monitored in the communication channel monitoring, available in the runtime workbench!
    There sometimes errors disappear. At the moment these errors accumulate!
    Is it possible to view these errors/ alerts in the ccms (rz20) monitoring?
    So we don't look all the time in the communication channel monitoring!
    Have anybody an idea?
    Regards,
    matthias isenburg

    Have u seen the discussion
    Re: How do I configure an auto-email alert for Adapter engine errors
    Regards,
    Prateek

  • Communication channel - Variable Substitution error,.

    Hi,
    I am having the following mesage type used in messag emapping as a target structure
    mt_data
       -> Variable1
    I am having a validation on mt_data node in message mapping for generating it, if condition is satisfied mt_data will be generetaed. Under mt_data i am having a variable. This variable is getting populated with some data using normal source to target mapping.
    I am using this variable in my communication channel as a variable substitution, and is used to replace file name.
    The issue I am facing is, when the mt_data fails to get generated (valid reason, since validation to generate it failed), communciation channel in RWB fails saying variable for substitution not found.
    Kindly advice.
    Thanks,
    Mudita

    The issue I am facing is, when the mt_data fails to get generated (valid reason, since validation to generate it failed), communciation channel in RWB fails saying variable for substitution not found.
    1) make a check on the variable in receiver determination itself...so that if fails then the message stops in Receiver determination itself....why to take it forward till channel and then fail.
    2) Make use of some constant term to fill the variable in the mapping if the validation fails.....this will help to put value in the variable even when the validation fails and the message does not fail in channel...filename created.
    You need to check with the functional people on how they want the message prcessing to occur when the variable cannot be created by the mapping logic.
    Regards,
    Abhishek.

  • Time out condition for FTP parameters in communication channel

    Hi
    Could you please tell what should be the maximum limit for time out condition in receiver file communication channel for FTP.
    it should be either 120,90 or 60 seconds or can we exceed time than this?
    Thanks in advance
    Best Regards,
    Harleen Kaur Chadha

    There is no hard limit, but the time limit should be less than the polling interval: if you set the polling interval to 60 seconds, your timeout interval should be less than that value. If you exceed this value, you have the risk of an adapter deadlock (adapter stops polling)
    You can imagine that a timeout interval of 300 seconds would not make much sense.

  • In ID object Communication Channel - Enter a value for Service Number?

    Hi,
    I have completed all the steps of this link upto 4.5 > 11,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f4dce
    but when i activate my messge interfarence from senario tab list or change object tab list, <b>it is showing error that :
    Check Result for Object Communication Channel(GeneratedReceiverChannel_XI )  Enter a value for Service Number</b>
    address type: URL Adress
    target host: my bi server aibid
    Service Number: ?????????
    Path: /sap/xi/engine?type=entry
    What is the Service NO.
    Best Regards,
    Dushyant.

    Hi,
    >>>>The serice number is ur port number. In your XI system URL http://host:port/rep/start/index.jsp
    this is the j2ee port and he should put http port
    as his path is: /sap/xi/engine?type=entry
    on WAS ABAP I guess..
    Regards,
    michal

  • Do browser send a error report to the website if browser fail in set up communication channel first time with that site

    Suppose i want to open some site using mozilla but first time browser fail to set up communication channel. When I attempt second time it successfully set up a connection then my question is that on the second time will browser send error report of first time to that site

    What was the specific problem with the first request? For example:
    * The server reset the connection
    * Page didn't load (blank)
    * Security certificate error
    * et cetera
    In some of these cases, the destination server might not know you sent a first request. And in other cases, that will be in the log. But I do not think Firefox sends any notification of problems with previous connections, the site would have to make an educated guess about the problem based on getting two sequential requests from the same IP address.

  • Value for Retry Interval in Sender File Communication Channel

    Hi All,
    I am trying to set Retry Interval for File Adpter as null as per Help.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm</a>
    But I am getting error in Communication channel/Adapter Monitoring as invlaid configuration. How to specify null value as described.
    Thanks in advance.
    Regards,
    Sudharshan

    Hi Michal,
    I am trying this option to solve the problem in following thread.
    Problem with Sender File Content Conversion Communication Channel
    0 is considered to be a valid Configuration, but I dont know whether it is equivalent to null that they are describing.
    Regards,
    Sudharshan

  • Communication channel availablity time issue

    Hi All,
    We want to schdule communication channel every  mid night ,but when i tried to give the time there is a diffrence of about 6 hours .so evry time if in need to schdule need to calculate and schdule the time ,checked out the server timing it is similar to system time ,even messages in MONI also showing the correct time ,do we need to check anything in the adpter engine to correct this time diffrence.
    Appreciate reply on this.
    Thanks,
    Madhu

    Madhu
    Iu2019m not sure if this is exactly your issue, but please see the following links concerning time issue in XI.
    Time setting is differnt in sxmb_moni and RWB
    Different time stamp in sxmb_moni and RWB
    Hope this helps.
    PJ

  • How can we stop communication channel at run time?

    Hi,
      I have a requirement where in we have to stop the JMS Sender communication channel in case the Receiver System is down. Could you please let me know how to stop the sender communication channel at run time.
    Thanks
    Rajeev Gupta

    Rajeev,
    Like Praveen Kumar said, I dont think there is an out of the box solution for this. But if you want to stop the communication channel, you could do it using a BPM.This solution is just something that came to my mind. It would be resource intensive to implement this. But here goes...
    Try to make the call to the Receiver System a synchronous call and have an exception branch in the block which has the synchronous step type. So if the Receiver System is down you would get an error in the Sync Step Type and it would go to the exception branch.Try to make a HTTP call from BPM to stop the communication channel. The URL for the HTTP call could be what Matias Denker suggested. This would stop the communication channel. This solution might however have two disadvantage that i foresee.
    1) It might stop the communication channel not only for system down but for any kind of synchronous error.
    2) Starting the communication channel has to again be a whole different process.
    Thanks
    Praveen M

  • One communication channel with 2 cluster node functioning at the same time

    Hi Gurus,
    We have PI 7.1 installed in a HA environment, which includes  two servers.
    server A: ASCSSCSDBERSAAS
    server B: ERS + PAS
    and we can see a jdbc channel in the communication channel monitoring, and along with the CC there are two cluster ID available,both of which are showing green -- functioning.
    now the issue is the process is actually not started because there is no processing details, and  when we stop the CC and then start, nothing happens, but there are still 2 green nights, seems very strange.
    does any one have such experience and how can make these two nodes work well?
    Thanks.

    Probably they use an older version of alsa that doesn't have dmix enabled by default.
    Have a read through: http://gentoo-wiki.com/HOWTO_ALSA_Compl … ix%29#dmix
    Perhaps it will help.

  • 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

Maybe you are looking for

  • Reversal of TDS Provision

    Hi, I am facing a problem at the time of reversing the TDS provision. When we create the TDS provision thru J1INPR, three line items get created i.e.basic,surcharge & cess....After making the provision & doing the MIRO, we need to reverse the TDS pro

  • Bug in Latest Forms Patch - 10.1.2.3?

    I have posted this information as a reply to another thread, but was wondering if this has been noted as a bug. I recently upgraded my development environment from Forms 10.1.2.0.2 to Forms 10.1.2.3 and am now not able to compile a form that contains

  • Parse Error - malformed SQL

    I am trying to debug a problem where a 'select * from' is being added to the sql statement a Visual Basic 6.0 application is sending to an Oracle 8.1.7 database. Any ideas what may be causing the problem? The application SQL is: SELECT max(work_order

  • Sequence/Procedure does not work

    Hello guys! I have a huge question. I am working on a database that someone developed a couple of years ago. Today I stumbled across a table and tried to insert data via an Apex frontend. The data was saved properly into the respective Table "TBL_TOT

  • BlackBerry 8100 - Loading Software Fail Again and Again

    Hi Dear BlackBerry 8100 Users.       My history is very sad, because some days ago I try to load the software from version 4.5 using the application loader for my specific celular service provider, but The process fail again and again and again... My