Multiple communication channels for file adapter based on user name

I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC.  Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
Thanks,
Dehra

Hi,
you need to create 40 channels if you have users
as dynamically you can only create:
File Name
Directory
File Type
File Encoding
Temporary Name Scheme for Target File Name
with FTP adapter
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Problem of Creating Multiple Communication channels for multiple files

    Hi Everybody
    I have a very basic doubt but this struck me...
    For a file-XI-file scenario,if multiple files are coming from same FTP server but with different names then we have to create multiple communication channels for all the files of different names..but is this a intelligent approach?Can we do something so that only one communication channel can receive multiple files of different names?plz explain in detail if possible ASAP.
    I have another doubt as in File-XI-File scenario how the XI understands that a particular file is from this FTP server  needs to be send to another particular FTP Server?is it only the name of the file which we give in sender comm channel & receiver comm chaneel which determines this????that means this name should always be same?plz explain in detail if anybody knows?

    Thanks Aamir.I understood the solution.
    Correct me if I am wrong.......
    1)If there are multiple files with different names & different extensions in the sender FTP then we use-->
    2)if there are multiple files with different names & different extensions in sender FTP & I want only say files of 2 extension types(say .xml & .txt)then we use-->
    *.xml
    in one comm channel &
    *.txt
    in another comm channel rite??
    Also I wanted to ask that only two kinda files we can pick up through sender comm channel rite?
    .xml  and .txt(File content Conversion).Can we pick files of other extensions also?(say .doc,.xls)If we use as u said
    then files of all other extensions will also be picked up rite?bt hw will xi convert them into xml?plz explain......
    One of my other q is not answered yet.........all these same doubts are there for receiver communication channel.......but you all have not said nething abt the receiver comm channel........plz explain the answers to all these queries for receiver comm channel for a receiver FTP........ASAP......thanks once again.......

  • Sender communication channel with file adapter

    Hi All,
               Here i am facing some error with the communication channel in which i have used FILE adapter. Here i am using PI 7.0. Here i have configured the communication channel. but i didn't checked the "operating system commands". and i checked the " adapter specific message attributes". i dont know whether i have to check these adapter specific message attributes or not. When i have gone to runtime work bench there i saw in adapter monitoring. there it is not showing any error. but in communication channel monitoring it is showing that it is having  -
      "processing  errors" but i am not getting where will be the error.. Any new ideas will be appreciated.
    Thanks in advance,
    Ramana

    Hi Bhavesh and Aaron,
                  Here i viewed the XMl format of the sender file in the mapping. there i found the difference between the file i am trying to pick up by the adapter and the XML instance of the sender interface in mapping. The difference is there in the message type of the <ns0> tag the file i am trying to send is having one message type and name space, where as the XMl instance is having the other message type and same name space.
                 i think that will the problem in processing my file. i am not sure about it.please any of you confirm that if it is th processing error i am facing or not.
                Thanks for your efforts.
    Regards,
    Ramana.

  • Communication channel - Sender File Adapter - File Encoding

    Hello colleagues,
    I'm using a sender file adapter to send flat files to the IE for further mapping and transformation @runtime. The flat files which are received by the file adapter are based on two different codepages:
       -> MS-DOS Codepage 437
       -> Windows Codepage 1252.
    Do you know by chance which kind of file encoding I have to set in the configuration of the respective sending file adapter for these two code pages?
    For the windows codepage 1252 I'm using the file encoding ISO-8859-1, which works quite fine. However, for the input files based on codepage MS-DOS 437, I do not know which kind of file encoding  to use. If anyone could help me with that issue, I would be very glad.
    Best regards
    Stefan

    HI,
    Find below link for more help
    http://www.kostis.net/charsets/trans130/cpdos.htm

  • 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

  • Configuring a Communication Channel for an AE other than the default IS

    Configuring a Communication Channel for an Adapter Engine other than the default engine.
    See:  help.sap.com for Communication Channel http://help.sap.com/saphelp_nw04/helpdata/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm
    It states under 'Adapter Configuration', that you can specify the Adapter Engine you want to use in the Adapter Engine dropdown box.
    I have activated the XI components on my ERP system using transaction SICF, but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    Maybe some background would be helpful:  This is for a scenario that will send a file from an external system to one of the ERP systems in our landscape.  BUT, the system admins have decided to revoke our FTP accounts (because they have their reasons), so I need to create a File Adapter that will drop the file on the file system of that ERP system, due to visibility I want to use the integrated Adapter Engine that comes with the ERP system, but need to know how/what I'm missing in setting up this scenario.

    Hi Anesh,
    >>>>but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    in order to use some other adapter engine you
    have to install it first by dafault only one
    (central) adapter engine is used and it is all
    most clients need
    if you'd like to use some other adapter engine
    (decentralized for example) have a look at thid guide:
    <b>Configuring a Local Adapter Engine to Work with a Central Instance</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/03fd85cc-0201-0010-8ca4-a32a119a582d
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • 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

  • Directory specification for File Adapter

    Hello,
    I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.
    E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.
    So a message would be saved in
    ...\GD\vendor number\file name.
    In case that vendor number directory is not created yet I need to create it.
    I know that in file adapter a directory name is constant and file name can differ based on settings.
    This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.
    Is something similar possible in XI ?
    We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.
    Thank you for your advice.
    Marian Morzol

    Hi Marian,
    You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.
    Cheers,
    Frank

  • Party communication channel for multiple stores with multiple user id and passwords in sap pi

    Hi Exeperts,
    I have a scenario proxy to SAOP . where i am sending some information from my stores to third party company   with single user id and password in communication channel.
    but requirement  is changed now  i have 20 stores  with 20 user id and password for communication channel.how can i achieve this requirement?
    Can i create 20 communication channels  for 20 stores  or can handle through the party based communication ?
    Please  help us achieve the requirement.
    Regards
    Ravinder.s

    Hi,
    In the SOAP Receiver adapter, you can only store 10 userid/password combinations via Authorization Keys. These are called via Dynamic Configuration via technical name TAuthKey. In your case, for it to work, you need:
    1. 2 business components/2 SOAP receiver communication channels.
    2. 1 receiver determination with xPath for username to determine correct business component
    3. 1 interface determination
    4. 2 receiver agreements (one for each cc)
    Hope this helps,
    Mark

  • Multiple keyFieldValue in Sender File Adapter

    Hello All,
    Have a  situation, with reading 2 files a debit and credit file which have the same file structure, But different file names, Example Credit is prefixed with C.txt and Debit is prefixed with D.txt.. I am able read both the files with configuring one communication channel, using advanced Selection for source file.
    The structure of the debit file will look something like below
    <Header>
    *<identifier>1</identifier>*
      <description>Returned Items</description>
      </Header>
    <Details>
      *<identifier>3</identifier>*
      <returnDate>19-07-2010</returnDate>
      </Details>
       <Details>
      *<identifier>3</identifier>*
      <returnDate>19-07-2010</returnDate>
      </Details>
    <Total>
      *<identifier>9</identifier>*
      <itemCount>000000002</itemCount>
      </Total>
    The structure of the credit file will look something like below
    <Header>
      *<identifier>1</identifier>*
      <description>Returned Items</description>
      </Header>
    <Details>
      *<identifier>2</identifier>*
      <returnDate>19-07-2010</returnDate>
      </Details>
       <Details>
      *<identifier>2</identifier>*
      <returnDate>19-07-2010</returnDate>
      </Details>
    <Total>
      *<identifier>9</identifier>*
      <itemCount>000000002</itemCount>
      </Total>
    I am using the identifier field as the keyFieldValue its value will be  '2' in case of the credit file and '3' in case of the debit file.
    Even if 2 keyFieldValues for 2 and 3 are passed as parameters to the Details records, the adapter reads only details records of 3 as it is declared first in sequence.
    I do not want to create 2 communication channels for just for a different keyFieldValue. Can anyone propose any suggestions.
    --Prashanth

    Hi Sheetal,
    have declared the content conversion as below
    Details.keyFieldValue = 3
    Details.keyFieldValue = 2
    On starting the channel with the 2 files on the directory, the adapater reads the debit file correctly but in case of the credit records, it is not reading the Details structure. I get only the Header and Total Structure for the Credit record.
    --Prashanth

  • AE: multiple Communication Channel instances and message re-sending

    Hi All,
    My scenario is as follows:
    We are running the adapter engine on a server cluster. In the RWB, I have multiple instances of the Communication Channels, for theit  various cluster nodes.
    My question is:
    I have a message in the RWB, which is in System Error state in the AE. If I resend this message from the RWB, does it get queued for the same communication channel instance (as last time, when it failed), or can it get assigned to a new instance?
    Hope my question is clear.
    Regards,
    Puloma.

    Hi,
    I realized that, a message will always be handled by the same instance of the Communication Channel.
    But Exception is when an instance is down. In this case the dispatcher will immediately schedule this message for another instance.
    In our scenario, all the instances of the Communication Channel were down, and all the messages were in System Error state, with the error: "Channel not initialized."
    In this case, if the message is resent, will it go to the same instance, or to a different instance?
    Regards,
    Puloma.

  • Communication Channels for IDOC scenario

    Hi!
    I have a conceptual question regarding the communication channels within IDoc scenario.
    Case 1:
    - File_to_RFC scenario
    Here I defined a File communication channel from business system A.
    1a) For which system (business system A or B) do I need to define a IDoc communication channel?
    1b) What is the RFC destination and Port I need here?
    Case 2:
    - IDOC_to_IDOC scenario
    2a) Do I need in this scenario only one communication channel for business system A?
    2b) What is the RFC destination and Port I need here?
    Thank you very much!
    Thom

    >
    Thom Heinemann wrote:
    > Hi!
    >
    > I have a conceptual question regarding the communication channels within IDoc scenario.
    >
    > Case 1:
    > - File_to_RFC scenario
    > Here I defined a File communication channel from business system A.
    > 1a) For which system (business system A or B) do I need to define a IDoc communication channel?
    >  1b) What is the RFC destination and Port I need here?
    >
    in this case no IDoc CC is involved. All you need is a File sender adapter and RFC receiver adapter
    > Case 2:
    > - IDOC_to_IDOC scenario
    > 2a) Do I need in this scenario only one communication channel for business system A?
    >  2b) What is the RFC destination and Port I need here?
    >
    >
    > Thank you very much!
    >
    > Thom
    in this case you will need a IDoc receiver adapter only.
    The basic settings:
    In XI
    SM59 - R3 connection pointing to R3
    IDX1 - define the port with the above dest.
    In R3
    SM59 - R3 connection pointing to XI
    WE21 - define the port with the above dest.
    WE20 - Partner profile type outbound/Inbound
    Further ref:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

  • Logging option on file adapter based JNDI

    Hello,
    While setting up a file adapter based JNDI, I notice under outbound connection, we have logging option where we have rotate logs based on size/time. Could someone please help me understand what does this refers to and how we can use that.
    its under - Deployment -> File adapter -> Outbound connection -->"Select a JNDI created by you" -> Logging.
    my JNDI, represent to a location where I am writing few specific log content in a text file. Can we handle(rotate) that based on this.
    Pls advice.

    Hi,
    you need to create 40 channels if you have users
    as dynamically you can only create:
    File Name
    Directory
    File Type
    File Encoding
    Temporary Name Scheme for Target File Name
    with FTP adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sender Communication Channel for Integration Scenario IDoc - XI - IDoc?

    Hello All,
    One general question. I have to configure an IDoc - XI - IDoc Scenario. For this Scenario I have to configure an Receiver Communication Channel (IDoc Adapter) to the Backend System but what about Sending Communication Channel for the Sending R/3 system.
    Is the (IDoc) Communication Channel from Sending system to XI required to configured?
    Many thanks in advanced!
    Jochen

    Hi Jochen,
    for sending IDOCs from SAP to XI, sender IDOC adapter is not required. when XI will send the IDOC to a SAP system, then receiver IDOC adapter is needed.
    Thanks,
    Rajeev Gupta

  • How to have Secure Connection for File Adapter.Pls help

    Hi All,
    For File to File Scenario
    How to have Secure Connection for File Adapter.
    Pls send links/blogs explaining this scenario.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

Maybe you are looking for