Dynamic host address in FTP channel...

Hi,
My requirement is to send the file to a particular FTP server depending on the value in input.
Can i give FTP Server address dynamically? If its possible please explain me to achieve this.
I would be glad if anyone could provide me the alternative fulfilling my requirement.
Thanks in advance.

hi use this blog
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping

Similar Messages

  • Can we configure the dynamic IP address in receiver JDBC channel

    Hello,
    Can we configure the dynamic IP address in receiver JDBC communication channel at runtime.
    Thanks,
    Soorya.

    No, that is not possible.
    The simplest solution would be to define a service and communication channel for each server and then use the receiver determination to determine which service to send to.
    The only other way would be to use a receiver java proxy where you would have to code in the JDBC request yourself.
    Regards,
    Yaghya

  • Receiver Mail Adapter Error ( Dynamic mail address to be used)

    Hi EveryBody,
    I am getting an error in the RWB (Communication Channel Monitoring) as Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error: invalid XIMailAdapter channel 'a089879fd0b63a4b92ca72d4a4af2ec4'.Mail is not send to the receiver.I have tried using USE MAIL PACKAGE as base64 and NONE.
    Can somebody help me out in the configuration.

    Hi,
    have u refered the below weblog of michal:
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Thnx
    Chirag gohil.

  • How to set "Cc" field in Dynamic Email address in Receiver Mail adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards,
    Ravi Siddam

    Hi,
    If you do not need mail package for other reasons, I suppose it is enough to provide a value in Dynamic Configuration for fields "THeaderTO" and "THeaderCC" and the select "Use Adapter-Specific Message Attributes" and "Variable Transport Binding" in receiver Mail Adapter.
    see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm">SAP help</a> for more details.
    Regards,
    Daniele

  • How to set "Cc" field in Dynamic Email address in Receiver JDBC adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's  blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards
    Ravi Siddam

    HI,
    See fragment from help,
    Specifications for mail attributes:
    &#9675;       Under From, specify the e-mail address from which the message is sent.
    &#9675;       Under To, specify the e-mail address that will receive the message. If you enter more than one address, you must separate them with a semicolon.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    &#9675;       Under Cc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are visible to the receiver.
    &#9675;       Under Bcc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are not visible to the receiver.
    &#9675;       Enter the Subject of the e-mail message.
    &#9675;       Specify whether you want to encode the content of the e-mail message. You have the following options:
    &#9632;       None
    &#9632;       Base64 (default value)
    &#9632;       quoted-printable
    Hope this helps.
    Regards,
    Akshay.
    reward points if find useful.

  • Configuring Receiver mail adapter with dynamic email addresses

    Hi,
    I'm a newbie to XI and I have problems in configuring the Receiver mail adapter with the "Use Mail package" option selected. I am trying pickup a file (using file adapter on Sender side, picks up a simple XML file) and after mapping in XI, send the message as an email message to dynamic email addresses.
    Everything works fine if I did not select the "Use Mail Package". But when I choose that option it errors out. I followed this blog posted on SDN -
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    The following XML message is my source
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/Somenamespace">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>Studentlastname</lastname>
                <firstname>Studentfirstname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Test mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    What I want to accomplish is, I have a simple message mapping where the Studentdetails are mapped to, lets say Customer details. For convenience lets keep it simple, StudentId --> Customerid, (student)Firstname --> (customer)Firstname, (Student)Lastname --> (customer)Lastname
    I would like to get the Customer details as an XML attachment or in the body of an email with from, to and subject corresponding to that specified in the <Mail> node.
    I followed the instructions posted on the blog and it works fine if I don't map the studentdetails to customerdetails. I did multimapping, with one source message (the xml file I posted above) and two target messages (customerdetails and Mail, which is the external definition posted on the blog). I beleive I'm missing something here. Could somebody please guide me through this?
    Thanks
    Karthik

    hi,
    I still have not found the solution for this problem. Michal, your blog works fine when my source message has got only the mail details. As per your advice, I tried modified the structure of the xsd file as follows
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CustomerlistExternal">
        <xs:annotation>
          <xs:documentation>Customer List</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Customername" type="xs:string"/>
            <xs:element name="Customerid" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    My source message will be something like
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>abclname</lastname>
                <firstname>abcfname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Testing Mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    I have mapped the <student></student> information to customerlist, with customerid --> studentid and customername --> firstname or lastname (for symplicity). This was a multimapping with one source and two target messages. My test mapping output is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <ns2:Mail xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Subject>Testing Mail adapter</Subject>
                   <From>[email protected]</From>
                   <To>[email protected]</To>
              </ns2:Mail>
         </ns0:Message1>
         <ns0:Message2>
              <ns2:CustomerlistExternal xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Customername>abclname</Customername>
                   <Customerid>1</Customerid>
              </ns2:CustomerlistExternal>
         </ns0:Message2>
    </ns0:Messages>
    So how would I get this part of the <CustomerlistExternal></CustomerlistExternal> part of the message as an attachment to the mail address specified in the <ns2:Mail></ns2:Mail> tags.
    I'm definitely not understanding it right and am missing something. Could you give me step by step instructions to acheive this. I apologize for the trouble..this would be of great help to me.
    Thanks
    Karthik

  • Dynamic email address in MAIL adapter

    Hi ALL,
                 Is there a way of sending dynamic email addresses in mail adapter?
    Regards,
    XIer

    Xier,
    Yes. You can do it. Using Mail adapter option with Use MailPackage option.
    raj.

  • Error while using Mail Package for dynamic email address - XMLScanException

    Hi All,
        i am trying to implement File_to_Mail Scanrio. Here i am using mail package stuff to make use the dynamic mail Id's. i am following the blog /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address. i have finished all the settings as per the blog but it throwing the following error
    failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found Mail at state 1
    Please help me to resolve this error.
    Thanks in advance
    -Siva
    Edited by: Siva Ram on Jan 18, 2008 7:43 AM
    Edited by: Siva Ram on Jan 18, 2008 7:43 AM
    Edited by: Siva Ram on Jan 18, 2008 7:44 AM
    Edited by: Siva Ram on Jan 18, 2008 7:44 AM
    Edited by: Siva Ram on Jan 21, 2008 5:59 AM

    Hi Siva
    check with these threads discuss the same XMLScanException
    Mail adapter fails when using Mail Package Format
    Error in E-mail Adapter - Message protocol XIALL
    Mapping Error with mail package
    Error in Mail Adapter
    See the below links also
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /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/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    Error in Mail Adapter
    Mapping Error with mail package
    Regards
    Abhishek

  • How to change the dynamic IP address to Static IP Address in Solaris 10X86

    Hi,
    I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem.

    Hi,
    I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem.

  • Command Line for FTP channel

    Hello Guys,
    I have FTP to FTP scenario where more than 100 files are picked up from sender side.
    My requirement is to send a "Done.txt" file into the receiver folder once all the files are successfully processed.
    I believe "Command Line After Successful processing" in the FTP channel could help me. But I don't know how to use or write scripts for the same.
    Also, the sender party is ready to provide me with the "Done.txt" file but I have to pick this file at the end, after all other resourceful files are successfully processed.
    Please let me know if there are any links for the same or how to do this.
    I was unable to find it out on SCN(may be I am not writing the proper words for the search).
    Thank you!
    Regards,
    Simran

    >>>I believe "Command Line After Successful processing" in the FTP channel could help me. But I don't know how to use or write scripts for the same.
    The problem with this approach is that the command gets executed for each file
    >>>Also, the sender party is ready to provide me with the "Done.txt" file but I have to pick this file at the end, after all other resourceful files are successfully processed
    For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order.
    so request your sender system to place this "done.txt" in such a way that it should be last one when you arrange them in ascending order.. something like "ZZZZZZ.txt"???

  • How to configure dynamic email address for notification

    All,
    I have a problem in assigning dynamic email address for notification activity in a bpel process, I want to assign a user from a user-properties file. How do I achieve this. I tried using the users in System-jazn-data.xml file, but if i add a email attribute to the existing users it doesn't show up. I am sure there should be an easier way of using identity service and adding attributes to the jazn realm user, I might be missing something.
    I cannot have it as part of the payload the only way is to use identity service.
    Thanks,
    Chitra

    Hi James,
    Thanks for the reply. Its solved now. For anybody if interested you can set the dynamic email address either i) having it as part of payload - In this case use the xpath to query the payload varaible ii) use identity service - follow the following steps
    1.Create a user in Application enterprise manager/also you can use a existing account, if u are creating a new one assign the correct role
    2. In either case edit the user-properties.xml(bpel/system/services/config) file for the corresponding user and add an attribute called email
    3. Bounce the server for this changes to take effect
    4. In the notification properties in the to address use ids:getUserProperty and pass the attribute name

  • FTP channel error

    Hello All,
    I am getting below error in FTP channel:
    java.lang.Exception: JNDI name of the ra connectionFactory is not configured. Go to the directory and create a value with name 'JNDIName' and value 'deployedAdapters/<ra name>/shareable/<ra name>' as module configuration data of the module 'ModuleProcessorExitBean'
    Can some one tell me the reason
    Regards,
    Moorthy

    Hi Moorty,
          First you should configure the JNDI name using NWA for reference of the deployed module
    after that your entry in Communication Channel -Module should be like below
    Processing Sequence -
    1 localejbs/ModuleProcessorExitBean Local Enterprise Bean exit
    Module Configuration -
    exit JNDIName Your JNDI name/path.
    Regards,
    Naveen.

  • Multiple host-addresses

    How can you declare multiple host-address and/or host-range elements in tangosol-coherence-override.xml?
    <coherence><cluster-config><authorized-hosts>
    <host-address>dnucacheclient1.sybase.com</fhost-address>
    <host-address>dnucacheclient2.sybase.com</host-address>
    </authorized-hosts></cluster-config></coherence>
    Error:
    2006-12-15 09:28:15.511 Tangosol Coherence AE 3.2/363 (RC2) <Info> (thread=main,member=n/a): Loaded operational overrides from resource "file:/C:/dscache/tangosol-coherence-override.xml"
    2006-12-15 09:28:15.527 Tangosol Coherence AE 3.2/363 (RC2) <Error> (thread=main, member=n/a): Failed to apply the element override: /tangosol-coherence-override-dev.xml; java.lang.UnsupportedOperationException: Override element is not unique:
    <host-address>dnucacheclient1.sybase.com</host-address>
    How can you allow separate clusters to start on the same subnet? And how do you start a separate cluster on the same subnet, if a running cluster has an authorization restriction?
    Error:
    2006-12-18 13:09:22.629 Tangosol Coherence DGE 3.2/363 (RC2) <Error> (thread=Cluster, member=n/a): This member is not authorized to join the cluster. Rejected by Member(Id=1, Timestamp=2006-12-18 13:08:33.279, Address=10.20.17.122:8088, MachineId=3962).
    Exception in thread "main" java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:61)

    You can try something like this,
    <authorized-hosts>
    <host-address id="1" system-property="tangosol.coherence.authorized.host.1"></host-address>
    <host-address id="2" system-property="tangosol.coherence.authorized.host.2"></host-address>
    <host-address id="3" system-property="tangosol.coherence.authorized.host.3"></host-address>
    <host-address id="4" system-property="tangosol.coherence.authorized.host.4"></host-address>
    <host-address id="5" system-property="tangosol.coherence.authorized.host.5"></host-address>
    </authorized-hosts>
    Thanks
    Prabhakar

  • Dynamic host name in action link

    Hi All,
    Is there a way to create the dynamic host name in the url in the action link for dashboard? I have tried to use the repository variable to store the hostname from the server in the navigate to webpage. However, the action link is showing the error when I tried to place repository variable in the navigation to webpage in action link. We do not want to manually change the hostname for each migration .
    @{biServer.variables['hostname']}:7001\analytics
    Thanks,
    Sushil

    Thanks Srini,
    I was trying to use the variable value in url of the Action link ( Navigation to webpage). The variable value works inside the report or go url .
    Regards,
    Sushil

  • How to deal with dynamic IP address changes

    I have installed Fodero C3 and Oracle 10g successfully. Oracle 10g use web OEM console to manage database. However, my internet provider only provided me a dynamic IP address. When I installed Fedora C3, Linux server automatically picked a Hostname like " ip12-345-678-90.dc.dc.cox.net". After I created database, all database files also used this hostname. Then Oracle web OEM console worked fine. Due to the dynamic IP address assigned by ISP, their DHCP server changed the first part of IP address(ip12-345-678-90)frequently to another one. After IP address changed, I couldn't start up web OEM console and listener because they couldn't find correct hostname (IP address). I have talked to my ISP. It seems that it can not be solved. Anyone knows how to deal with this problem through 10g and OEM console themseleves. I also think about to configure Linux server to solve the problem. I really need your help. Thanks in advance

    Thank all of you so much to respond my questions. I think I have solved the problem. Since the key point was that Oracle 10g OEM console could not work with the frequent changes of IP address made by my ISP. I just bought a 54G wireless router. Then connecting router to cable modem. The cable modem still gets the dynamic IP from ISP, but the router automatically assigned a static IP address to my Linux system with the range from 192.168.0.0 - 192.168.255.255. This IP was control by my router. It is nothing to do with ISP. So I re-created Oracle database with this new static IP. Then OEM console and listener can startup and connect to database without problem. I do think other guru's methods also will work. I just have no time to try them one by one. Thanks again. Your inputs make me learn many things.

Maybe you are looking for

  • Oracle 9i PE Installation problem on XP

    I am using Windows XP Pro on a 1.8GHz PC, with 80G hard drive. I downloaded Oracle 9i, unzipping to 3 folders, and began installation of the Personal Edition. The first disk installed without problems. However, when directed to the folder labeled Dis

  • Losing Network Connection Constantly

    Tonight my 3G Network keeps losing speed and complete connection when I try download a new app or simply watch a video on YouTube, what's going on? This is new to me.

  • I cannot get my HP officejet 7000 to work with my Macbook Pro?

    I installed the HP Officejet 7000 and at first it worked ok however on rebooting my Macbook Pro I can no longer connect to the printer? This has happened with 2 different HP Officejet 7000 printers. Does anyone have a solution?

  • Oracle 10g Release 2

    Hi Guys... I am currently running Oracle 9.2.0.4 database on Solaris... Our workshop plan to upgrade to Oracle 10g Release 2... I need to find out what are the risks involved in upgrade from Oracle 9i to Oracle 10g Release 2... I will also appreciate

  • Messages quit unexpectedly

    Process:         Messages [246] Path:            /Applications/Messages.app/Contents/MacOS/Messages Identifier:      com.apple.iChat Version:         8.0 (4226) Build Info:      iChat-4226000000000000~3 Code Type:       X86-64 (Native) Parent Process