File Adapter: Advanced selection for source file

Hi Experts,
I am doing file(Idoc format) to IDoc scenario. In my scenario I am getting files in three different formats (ex: abc.dat, xyz.dat, 123.edi). My communication channel (sender file adapter) should poll for every 30 mins, picks up the files and map them to Idoc without any mapping.
Need following clarifications:
     1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
     2. If there is no mapping how should I proceed in this case?
Regards,
Rams

>>1. Should I create 3 communication channels to pick up 3 different type files? Or should I use the Advanced selection for source file to pick up them with only one CC?
Not required.. if all the files are from the same directory then u can specify .  in the file name parameter.. but make sure that only these 3 file types are places in the directory... if this is not the case you can use Advannced Selection... check my Wiki [Single Sender File CC For Multiple Directories|https://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories]
>>2. If there is no mapping how should I proceed in this case?
Mappiing is required only if the source and the target structure are different.. if u send the file with the IDocc XML format mapping is not required...
~SaNv....

Similar Messages

  • Advance select for source file in Sender File Adapter

    Hi
    I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
    My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
    I am running PI 7.02 (NW702_07_Rel)
    Service pack 07
    Has anyone come across this before?
    any suggestions on how to do this?

    Hi,
    In PI7.0 the property exists. I have used it previously. I think SP was 13.
    Regards,
    Nutan
    Edited by: nutan champia on Nov 24, 2011 10:42 AM

  • Advanced selection for source file

    Hi,
    Requirement: One source directory, multiple file names. File needs to be picked up from source directory and send to target directory with same name as source file name.
    Source file name pattern sample: AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm.
    Target file name should be :AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm
    Can we define multiple place holders as :
    Directory    
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt, A35_X.txt, AP5_Y*.txt, AP5_Y*.txt
    When I tried for single place holder, the scenario was working but when I tried adding multiple place holders it was not working.
    How can we achieve the above scenario?
    Thanks,
    Vertika

    Hi Amit,
    Thanks for reply.
    Yes you understood it right.
    I am able to achieve this now. The only change that I did is instead of giving all the placeholders in same line I have given it in different lines and this is working now.
    Sender Adapter Configuration: Checked Advanced selection for source file and used Adapter specific message attributes to keep same file name as source file name.
    File Name Mask
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt
    \\Source
    A35_X*.txt
    \\Source
    AP5_Y*.txt
    \\Source
    A35_Y*.txt
    I am closing this thread now.
    Thanks,
    Vertika

  • Advanced Selection for Source File + SourceFileSize = invalid file size?

    Hi !
    I have a File Adapter using FTP protocol. I've turn on all Adapter-Specific Message Attributes, including SourceFileSize. I've activated the Advanced Selection for Source File, and entered several patterns.
    When I see my payload via the monitor, I get a "-" in the SourceFileSize value.
    <sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">-</sap:Record>
    If I disable the "Advanced Selection for Source File", the file size is ok.
    Is it just me?
    Thanks

    maybe u need to check for some notes

  • Advance selection for source file-Error in communication channel monitoring

    Hi all,
    Referring to the link below:
    <b>/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    I have developed my scenario in the same way.But due to the values <b><NOTHING></b>
    in Mandatory fields Source Directory and Filename,i am facing problem in Communication Channel Monitoring as it shows an error;even though the end-to-end scenario works successfully.
    Plase note that  our scenario is not to exclude the particular file but to pick the files serially after a certain delay.
    Kindly provide some idea about how can we remove the error from Communication Channel Monitoring.
    Thanks & Regards,
    Sudhir Tiwari

    Sudhir,
    In the sender file adapter, you have an option called <b>"Processing Sequence"</b>.
    By selecting ByName or ByDate you can make files get selected sequentially either ByName ( alphabetically ) or by the creation time stamp of the file.
    In the sender file adapter also make the QOS as EOIO and give the QueueName as any value and the files will be processed sequentially.
    Regards
    Bhavesh

  • How to go for Advance selction for source file in J2SE adapter

    Hi all,
               I am doing a file to file scenario using J2SE adapter.I have to pick file from two different directory  we  can easily achieve it in J2EE adapter using advance selection of source file but how to proceed in case of J2SE plain adapter.Please guide me with your knowledge.
    Regards,
    saurabh

    This is not possible. You need different adapters, but you can use the same interface and namespace, so there should be no issue.
    Regards
    Stefan

  • Advanced selection of source file

    Hi All,
    i am working on a scenario in which file needs to be picked up from 3 different directories.say A, B and c
    I configured in CC by giving 3 different directories.... in "Advanced selection of source file" option i have given directory B and C there.
    ....i am using Adapter specific message attributes also for this CC..
    Its is working fine, But my issue is : i want to take the back back up for every directory file, means archive...
    How can i do that???
    please guide me through this.....am i missing any thing?
    Please guide me..
    Thanks,
    Anu-

    Hi Anu,
    select processing mode as Archive and mention the archive directory path if u want to add timestamp to the file check the checkbox Add Time Stamp.
    regards,
    Shekhar.

  • File Adapter Fault Handling for CSV files

    I have been working on a requirement where the file adapter picks up the file and gives to the BPEL for processing the data.
    In my composite, i have configured the file adapter as a service for reading files, and i defined the xsd using the native format builder....
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/ReadFile"
    targetNamespace="http://TargetNamespace.com/ReadFile"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    nxsd:hasHeader="true"
    nxsd:headerLines="1"
    nxsd:headerLinesTerminatedBy="${eol}"
    >
    <xsd:element name="Root-Element">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Student" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="Street1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="Street2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="City" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="State" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="Country" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    If i put some test data like below , the .txt file is being picked up and the valid being passed to the BPEL and its not returning any error for the invalid records. In this case, just want to throw an error and exit the bpel.
    Krish,abcd,abcd,chennai,tnin - comma is missing here
    NP,abcd,abcd,chennai,tnin - - comma is missing here
    Nutan,abcd,abcd,chennai,tn,in - this record being processed successfully.
    Pari,abcd,abcd,chennai,tn,in - - this record being processed successfully.
    Experts, any help is really appreciated..

    Hi,
    its better to opt for seeburger for EDI data processings..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20ed5d5b-b188-2c10-76a2-997a616e48a9
    http://www.cbs-consulting.com/EN/Services/ProcessesApplications/SAP__TechnologyConsulting/OpenPI/OpenPI__n,naviExpand=.html__nnn=true
    Check the above links can be helpful..
    HTH
    Rajesh

  • Sender File adapter not deleting the source file after reading

    Hi everyone,
    In the sender Communication channel i have choosen the "Delete" option after reading the source file. But it is reading the file, but it is not deleting the file. I have checked the file status. it is with full persmission.
    can anyone give solution to this.
    Thanx
    Bala

    Hi,
    1. set the mode to delete
    2. make sure the file is "deletable"
    3. check xiserver:port/MessagingSystem/monitor log to see what happens with the file
    (chec both audit and log in that link)
    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>

  • Receiver file adapter posts multiples for singel source files

    Hi,
    I am using wild character in my input source ftp adapter but my receiver file adapter is creating multiple duplicate files. I am not sure why this happens as QOS is set to "Exactly Once" with archive processing mode. I tried with delete mode and the same error occurs. We had no problems testing it in our Dev environment but in QA its acting so strangely...Any advise is appreciated..
    -Teresa

    Hi,
    2. Homany files you posted at oubound directory?
    1.             You said duplicate files at receiver side, is the files having time stamp? if so those are not duplicate files.
    Thanks,
    Satish.

  • Unable to clone File Adapter receiver channel for parallel processing

    Hi Experts,
    I am using variable substitution for File - RFC - File with out BPM scenario(using request response, oneway bean).
    While i placed the file in the sender FTP folder, the file didnt get picked up, but in communication channel monitoring, i am getting error ' Unable to clone File Adapter receiver channel for parallel processing'.
    Can anybody provide me suggestions to solve this error.
    Note : without variable substitution , the interface is working good.
    Is it due to, i am trying the source structure field in response file adapter?

    Hi,
    In your CC, do you use some additional paramaters ?
    like these one of point 47/48 of [Oss note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter|https://service.sap.com/sap/support/notes/821267]
    Maybe there is conflict with a parallel connexion and the bean used to do asynch-synch bridge...
    Mickael

  • File Dialog (Details View and Multiple Selections for View File Type)

    I would like to use the generic windows dialog box found in the toolbar under:
    File I/O/Advanced File Functions/File Dialog
    What I would like to do is have multiple selections for the file type, for example one menu selection is *.txt, another is *.rtf, another is *.csv, etc. Listing a single type is straightforward.
    Also does anyone know if there is a way to have the dialog open in the DETAILS view automatically?
    Thanks for any help!
    Carlton

    Hi,
    You can do it in following ways:
    1. Write in pattern input the string "*.txt; *.csv; *.rtf". This will show to the user only files with this extensions in the dialog.
    2. Another way is to create ring or menu where user could specify the extension. Depending on this extension you could wire the appropriate string to the pattern input of "File Dialog.vi"
    I have made an example.
    Good luck.
    Oleg Chutko.
    Attachments:
    fileopen.vi ‏42 KB

  • File adapter configuration parameter for "hexadecimal conversion"

    (File adapter for XI 2.0)
    Does anybody know the exact File adapter configuration parameters for reading a file with hexadecimal control characters as seperators. My file has
    3 types of seperators - i.e "2F", "05" & "0D2F"
    Eg: xml.fieldSeparator= "2F"
    When I specify this the file is getting split into fields
    at all the seperators in the file. I guess I am not using the right format in my defination ?
    Dorai

    Is there any special format for reading a file containing hexadecimal control characters?
    The file to be processed has hexadecimal separators:
    Field Delimiter        : '09' or '05'
    End of record delimiter: '0A' or '25'
    End of Table delimiter : '07' or '2F'
    Initially i would like to read the file into XI as it is i.e without any split by using "xml.fieldFixedLengths= "
    However, everytime I process the file(with hexadecimal contol characters), I have noticed that my file is getting split, even when I did not specify anything for field separator(i.e when i used fixed field length).
    Thanks,
    Dorai

  • Unable to configure file adapter using FCC  for Multilevel hierarchy

    Hi Experts,
    Can anyone help me in configuring the Receiver file adapter with FCC for the structure given below
    <Root>
    <Level1>
         <Ele1>
         <Ele2>
         <Level2>
                <Ele2_1>
                <Ele2_2>
                <Level2a>
                        <Ele2a_1>
                        <Ele2a_2>
                </Level2a>
         </Level2>
    </Level1>

    Hi dineshmale,
    I have do this Multilevel hierarchy before. FCC can directly configure this scenario. But I don't know you output format. What my format shown below(here i use '#' instead of space):
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    FCC Parameter:
    Recordset Structure: Level1,Level2,Level3
    Level1.fieldSeparator = (2 spaces)
    Level2.beginSeparator = (some spaces according to the length of the fields in Level1)
    Level2.fieldSeparator = (2 spaces)
    Level3.beginSeparator = (some spaces according to the length of the fields in Level1and Level2)
    Level3.fieldSeparator = (2 spaces)
    Level3.endSeparator = \n
    There are some points:
    1. the endSeparator for Level1 and Level2 doesn't work.
    2. the first begin separator in Level2 and Level3 doesn't work.
    3. The last field of super node and the first field of child node is separated by the (child).fieldSeparator.
    4. ....
    What's more, I have write a blog of FCC For Hierarchical Structure in Receiver Channel just now. So it need two days for Approval. Let me know for any issues.
    Edited by: guKidd on Dec 14, 2010 7:52 AM
    Edited by: guKidd on Dec 14, 2010 7:54 AM

  • I have downloaded an addon in the game Mafia Wars,it works!Since then Firefox asks me evry 2 minutes :select addon source file.later on reload.

    firefox asks me evry time:select mwaddon source file.Why and how to do this?
    then Firefox asks me repeatantly upload your programme, MW???,Why??the addon works perfectly.I donot want to loose things.pls stop asking me too many times the same question.
    '

    Hi,
    Please create a screenshot of the problem you're seeing by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

Maybe you are looking for

  • Searching for best practice recommendations regarding connecting Exchange calendars to SP 2010

    A user has requested assistancing setting up a web part on SP 2010 to display their "on call" calendar from Exchange. When she attempted it, she got the error that says, in part, "[...] This could be due to the fact that the server certificate is not

  • Contacts not shown in messages sent via PC Suite

    Hi all, OS : Windows XP SP2 Connectivity : USB CA 101 Handset : Nokia N 82 Handset details : V 30.0.019 RM-313 Issue : If i send any message from my phone, in sent folder the contact person's name will display whereas for the messages sent via pc sui

  • HT201317 shared photostream appears to have stopped updating

    My shared photostream appears to have stopped updating to other users, any thoughts as to why this may have happened? It has worked for the last 3 weeks with no problems, I still have 4.8gb of iCloud storage and I have only uploaded 83 pictures.

  • EBS Search String for two words separate by other characters

    Hi Is there a way to write a search string which will recognize two words in a string? For example : PAYPAL TRANSFER WTT489798709898BOOK I need a search string which will recognize PAYPAL and BOOK I have tried : (|)PAYPAL + BOOK( |$)    or (|)PAYPAL

  • CProjects - Approval Document for a Task

    Hi, Is it possible to create some approval scenario for a task in cProject. There are some tasks which need cost approval. Can anyone recommend an easy to implement solution using the standard by either reusing approval document or attaching a BW rep