Timeout parameter in Mail communication channel?

Dear All,
Can someone tell me if there is a option to put a timeout parameter in Mail PI channel like it is in File channel? One of my FTP channel used to stop polling abruptly, but using this parameter I fixed this problem completely. Now facing a same problem with one of the Mail channel.
Thanks in advance for your response!.
Best Regards,
Kumaran

Dear Ramesh & Bhavanishankar,
Thanks for your response!.
My concern is basically about the mail channel that stopped polling the source folder while the status says "Active". Due to this the interface is totally stopped working in PI and it starts working only when I restart the channel in CC monitoring.
But yes, I have fixed this issue earlier for a diff mail channel by setting a restart every day (work around) using ATP. This really worked. But I cannot do this for every channel in my server.
Best Regards,
Kumaran

Similar Messages

  • 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

  • Variable file name through Receiver mail Communication channel

    I need to send a file through receiver communication channel   with the following name ( YYMMDD schema)  . The YYMMDD is current date .  I know how to create these file names throug FCC ( file communication channel) , I tried in the same manner to create this file through Receiver Mail CC , but it did not work  .  If you have any ideas , can you please share with me ?
    ABC_MMYYDD.TXT
    Thanks.
    Ritvik

    Hi Ritvik,
    Also, Please look at this link and see if it helps you. It is generating variable file name through a UDF
    Re: Problem in dynamically file name generation procedure
    Best Regards

  • Mail Sender Communication channel not polling

    Dear all,
    In our PI 7.1 Sever, we have observed a issue.
    Sender mail communication channel status is green in RWB-->Channel monitoring but the channel does not pick up any mails form the mailbox.
    After we stop and then start the channel, it is picking up the mails.
    Any pointers on the root casue for this issue and any resolution steps or any SAP Notes to implement will be of great help.
    Regards,
    Younus

    Hi,
    Is it like everytime you have to restart the mail channel again and again?
    Sometimes it happens, a quick restart will refresh the adapter cache and the messages are processed.
    So, its not a problem.
    Regards,
    Sushama

  • Mail to File Integration(Mail Sender Communication channel status RED)

    Hi all,
    I am doing  Email to File Integration Scenario, XI is reading mails from an particular exchange server mail id & putting it in to a file. now all IR & ID configuration is done.
    But in  RuntimeW Bench -> Adapter Monitreing The Sender Mail Communication  Channel is RED with error occured: exception caught during processing mail message; j<b>ava.io.IOException: invalid IMAP status response; not finding * STATUS, but 00KC NO The requested item could not be found
    </b>
    We check the Exchange Server login Acess through TELNET ,as suggested from SAP Service marketplace
    and login is successfull, with details  available of Inbox
    but in TENET when we try to execute the<b> IMAP Status command error message comes
    " expected space not found"</b> .
    Since XI is not able to read the inbox mail, so Sxmb_moni is blank.....
    can any body suggest that this issus is related to that <b>IMAP Status</b>..........or some thing else..
    our URL is correct.
    Regards,
    Ashutosh

    the URL path was wrong...
                          it should end with   .......<b>exchange/Inbox/</b>
    the sender channel was having error RED ,but it was showing green status intially because delay update .....
    Regards
    Ashutosh

  • Issue with updation of communication  channel

    Hi Experts,
    I have configured a   JMS  to Proxy scenario in XI system. i  have changed  the  "Queue name" parameter   in  sender communication channel for the JMS adapter. the new Queue name is not  being used by the interface.
    when i monitor the messages  for the  this interface, i found that system is still using the Old  Queue name.
    can you please suggest  a way to resolve this issue.
    -Kaushik

    Hi,
    I am not sure if this resolves the issue.
    Stop the channel using RWB>Adapter Engine>Communication Channel Monitoring
    Identify your JMS sender Communication channel and stop it.
    Go to ID and reedit this channel and activate.
    Comeback to previous Communication Channel Monitoring check the status of activated Communication Channel (start it if it is still in stopped mode)
    - Gujjeti.

  • Message mapping hangs when selecting communication channel

    Hi Experts,
    I have a strange problem. In message mapping, there is an RFC Lookup. For this RFC lookup, there is one parameter of type communication channel. I want to test this message mapping. So, I go to the Test tab and browse for all available communication channels. When I select a channel and click on Select, ESR hangs. I am not getting why this is happening. Please help me get rid of this problem.
    Thanks,
    Netrey

    Hi,
    Got solution for this problem. Below is the communication from SAP on this issue,
    Please apply the latest patch levels for the PI components, following
    the steps below:
    http://service.sap.com/swdc
    1. Software Downloads - SAP Software Distribution Center
    2. Support Packages and Patches - Entry by Application Group
    3. SAP NetWeaver and complementary products - SAP NETWEAVER PI
    4. SAP NETWEAVER PI 7.1 - Entry by Component
    5. Process Integration. The components that should be updated are:
    ESR 7.10
    MESSAGING SYSTEM SERVICE 7.10
    XI ADAPTER FRAMEWORK 7.10
    XI ADAPTER FRAMEWORK CORE 7.10
    XI TOOLS 7.10
    Thanks and Regards,
    Netrey

  • 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

  • Error in Recever Mail Adapter (Communication Channel)

    Hello Experts,
    I am getting below error in recever Adapter Communication Channel. I have given SMTP, XIALL,PLAIN parameters, i have given proper: SMTP://compnay.com & correct user id and password, i browse throug all most all related links.
    Exception caught by adapter framework: java.io.IOException: server does not support PLAIN or LOGIN authentication
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication.
    Thanks,
    Siva

    HI Siva
    Are you trying to send Email from any file send by system or Read by PI and send as Email.
    Please describe your Scenario.
    If your email is generated from the content provided by Integraton engine use Message protocol XI PAYLOAD instead of XIALL.
    Using Authentication you change from Plain to CRAM-MD5. then it might not give any error
    Your URL should be SMTP://mailhost.company.com
    For reference check Help URL
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Thanks
    Gaurav Bhargava

  • How to receive alert mails when communication channel fails

    Hi everybody,
    Today there were in the "Communication Channel Monitoring" of the Runtime Workbench some Communication Channels in a "red" status and I would like to know if it is possible to receive per mail any alerts about a failing communication channel?
    In SXMB_MONI the error is the following:
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=ECPOPR1.corp GROUP=PRODUCCION_SANTANDER R3NAME=PR1 MSSERV=sapmsPR1 PCS=1 ERROR partner not reached (host ECPOPR1.corp, service sapmsPR1) TIME Mon Apr 20 03:25:16 2009 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r_mt.cpp LINE 8688 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 79 ERRNO TEXT A remote host refused an attempted connect operation. COUNTER 1</SAP:AdditionalText>
    Usually, I receive mail alerts when messages failed since I have CCMS configurated but in the CCMS I don´t see any entries for this kind of errors with a Communication Channel...
    Thanks in advance,
    Regards,
    Olivier

    Hi!
    You can receive Alerts even though you are configured CCBPM. Through Control Step you can throw alerts but only difference between PI7.1 and XI is in 7.1 you can easily create Alert categoy in ESR itself at java stack but in XI you can't create it in Java stack you need to create this ALert category though ALRTCATDEF   t code  in ABAP Stack even though in 7.1 you created in Java Stack it will be reflecting in ABAP Stack.
    Next thing is later you need to Configure ALert Rules in RWB and in ABAP Stack at Alert Category you need to Add your XI SAP ID;s at FIxed Receipients and before adding this Ask your Basis people to link your company mail ID or any mail ID with SAP ID so that you can receive Alerts both in RWB ALert Inbox as well as your Mail Server.
    Since the above experts given diff blogs you can easily configure...
    I hope u understand the flow....right ?
    Regards::
    Amar Srinivas Eli

  • How to configure receiver communication channel in File to mail scenario?

    Hi all,
            I'm working in FIle-to-Mail Scenario. I did all the required configuration In Integration repository. As per my Scenario whenever a text file stored in Application server of the R/3 system. it should be sent as a attchment with a mail.so i set a sender communication channel with file adapter in sender R/3 system . i dont know which business system should i refer for my receiver communication channel.because my receiver end is  a mail server. should i create any third party business system for this one?
    can anyone suggest me to define a receiver comm channel in a right manner?
    helpful answers will be rewarded.

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • How to set errorDelay parameter in sender JMS Communication Channel?

    Dear XI/PI Experts,
    Do you happen to have a documentation on how to implement the errorDelay parameter and other general parameters in the sender Sender JMS communication Channel? Do you happen to have a step by step guide or pdf that I can use?
    I look forward to hearing from you.
    Thanks a lot in advance.
    Kind regards,
    Grace

    Hi Thanks for your replies.
    What I need to do is to implement this bullet point:
    ¡        errorDelay
    The default value for this parameter is 0.
    This parameter determines how long the system waits before processing further messages if an error occurs. In transactional processing, it can make sense to specify a certain time period, for example, because messages with errors remain in the queue following a ROLLBACK.
    In which part of the Sender JMS Comm Channel will I implement this?
    Should I put this under tab /Parameters/Processing/Error Handling Settings or should this be under /Parameters/Advanced/Additional Paremeters?

  • JMS ReplyTo Queue Name parameter in the receiver JMS communication channel

    Hi All,
    Can any please explain the use of JMS ReplyTo Queue Name parameter in the receiver JMS communication channel?
    Thanks
    Karthik.

    Hi karthik,
    JMS ReplyTo Queue Name parameter  is used for Specify the name of the queue to which the responses are to be sent.
    Thanks
    Govind.

  • Communication Channel - 'Launch mail' launching the desktop again

    Hi All,
    Here's a brief on my infrastructure -
    1. Messaging Server 5.2 running on a High Availability setup managed by Sun CLuster 3.1
    2. Box1 - Portal Server 6.1 on App Server 7 platform edition.
    3. Box2 - Same as Box 1
    I have communication channels installed on the portal instances on both the boxes and have configured the Mail channel to connect to the Messaging instance.
    I am able to see my Inbox snapshot in the Mail channel on my desktop. But, when I click on the 'Launch Mail' link inside the channel, instead of authenticating and displaying my Mailbox, it launches a new browser window that displays the same portal desktop itself. It's basically linking back to the desktop.
    Any idea whats going on here and where the problem could lie??
    Cheers,
    Vinod.

    Hi all.
    This is what I have to make calendar and mail to work perfect with SSO against the identity server. The info below works on JES2004Q2.
    Hope it could be of any help.
    Fix Messaging server SSO against identity server:
    su - mailsrv
    cd /opt/SUNWmsgsr/sbin
    ./configutil -o local.webmail.sso.amnamingurl -v "http://FQDNOFFIDENTITYGOESHERE:PORT/amserver/namingservice"
    ./configutil -o local.webmail.sso.amcookie -v iPlanetDirectoryPro
    ./configutil -o local.webmail.sso.singlesignoff -v 1
    ./configutil -o service.http.ipsecurity -v no
    ./configutil -o store.admins -v admin
    ./configutil -o service.http.allowadminproxy -v yes
    Fix Calendar server SSO against identity server:
    cd /opt/SUNWics5/cal/bin/config
    vi ics.conf and change the following....
    local.calendar.sso.amcookiename = "iPlanetDirectoryPro"
    local.calendar.sso.amnamingurl = "http://FQDNOFFIDENTITYGOESHERE:PORT/amserver/namingservice"
    local.calendar.sso.logname = "am_sso.log"
    local.calendar.sso.singlesignoff = "yes"
    service.http.ipsecurity = "no"
    local.authldapbasedn = "ROOTSUFFIXGOESHERE"
    render.xslonclient.enable = "no"
    service.http.allowadminproxy = "yes"
    And do not forget to configure the proxy auth in the SSO in the portal gui. Otherwise you can't click on "launch" to start a new window with web mail or web calendar from the portal gui.
    Note:
    There is also a known bug with the portal 6.1 that give errors in the rewriter of the gateway so the webmail wont work properly when klicking "launch". If portal 6.1 is used..... apply the patch.
    Regards
    Per-Olov

  • ALERT MAIL FOR FILE ADAPTER COMMUNICATION CHANNEL ERRORS

    Hi,
    I need to send an alert by mail to a list of configured receivers if any error( Application as wel as System Errors ) occurs in the FILE ADAPTER Communication Channel .
    Please suggest how to do it......
    Regards,
    Sriparna

    Can anything be configured in the communication channel to run a mail unix script if the communication channel is throwing
    error.Other than alert rule can we configure this.
    Why do you intend to use script? Define Alert....create Rule....set parameters using SCOT.....you will get the alert as email (if you need it)
    Can you please help with how do I create this rule specific to File Adapters only ?
    Other than selecting FILE as Adapter Type in RWB --> Alert Rule definition we dont do anything special....this setting should help.
    Regards,
    Abhishek.

Maybe you are looking for

  • Can i delete my itunes store account and create a new one?

    i have an itunes account open already but its old and full of old downloads and songs which are not relevant to me anymore. id like to delete my account and open a new one, is this possible? if not, how could i make a new account with the same email

  • How can I make Outlook 2011 keep fonts as I set them?

    When I send an email from Outlook 2011, the fonts I have set don't seem to hold.  When a Windows user replies, I can see my original email has lost its formatting with the text showing in a variety of different fonts and sizes.  This makes for an unp

  • LSMW : Urgent SO - DI - Material Configuration Prob

    Hello all, [Direct Input Approach] In my quest for uploading Legacy system SO through LSMW . I have reached at the stage where I am able to create Sales Order successfully but only 1 problem is.. Our client has customization done where by selecting a

  • When bouncing- what's best method for smallest file size/highest quality?

    I am in the process of embedding 3 mp3's into a PDF to submit as a portfolio. The PDF also has text, and two scores included, and with the 3 embedded mp3's it can't be more than 10mb. So my question is: When bouncing a project out of Logic, what is t

  • Video seen but no audio

    hi I use a mac book and handbrake to transfer the videos.... though i am able to get the videos onto the ipod there is no audio ...any ide????   Mac OS X (10.4.7)