Exclusion mask in file sender

Hi Frnds,
i have 3 interfaces separately in my environment. 3 interfaces have 3 sender file channels.All 3 channels need to pick the file from same dropzone(abc/xyz/).But file names will differs.
Lets asssume 1st channel will pick the file name starts with A(A*)
2nd channel with B (B*) and C (C*),Then i made exclusion mask A* .Other than A this file will pick up.As of now we will only get 3 file names eighter A,B or C.So i made it like that.
then i have to implement third channel file name starts with D* now.
So can i use exclusion mask in 2 nd channel A*,B*.
But i tried with Above configuration it did n't pick my D* file.As other than A 2 nd channel configured it is picking up the D* file also.
Can some body advice how can i use Exclusion mask for above critiria.
Regards,
Narendra

the answer given by Venkat will work for,No need to go with Exclusion mask option.
Please check the link Configuring the Sender File Adapter - Configuring the File/FTP Adapter in Integration Directory/PCK - SAP Library for a look on Exclusion Mask.
>> But i tried with Above configuration it did n't pick my D* file.As other than A 2 nd channel configured it is picking up the D* file also.
Can you share the configuration part for that channel so that we can rectify the issue.
Regards
Raj

Similar Messages

  • File Adapter Exclusion Mask not working

    Hi all,
    I have a problem with exclusion mask in File Adapter:
    I have two scenarios: PE08 and PR08.
    PE08 have to take files with format L.I21 and PR08 with format L.I21R.
    In system A I use File Adapter with NFS protocol and everything goes ok.
    But in system B I have to use FTP protocol and here exclusion mask doesn't work: I put a file L000249.I21R and XI takes it to scenario PE08, and it must go to PR08.
    My exclusion mask in PE08 Channel are:
    *R
    Sometimes it goes thru PE08 and other times same file goes thru PR08...
    What is happening? any idea?
    Why exclusion names behave diferent in FTP and in NFS?
    Thanks!

    Hi Urzti,
    have a look of my old weblog:
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    Regards
    Mickael

  • Multiple Exclusion Criteria[Exclusion Mask] in Sender File Adapter

    Hello All,
    I have a requirement to specify multiple exclusion criteria in the 'Exclusion Mask' property of a Sender File Adapter, i.e. I need to pick up files that correspond to 111*.txt from a specified source directory, but I would also want to exclude specific individual files that go by the following names:-111ACC.txt, 111INV.txt & 111PUR.txt.
    I have tried the following - Specified 111*.txt in the 'File Name' field and in the 'Exclusion Mask' field specified ACC, INV & PUR - the exclusion criteria separated by commas. But this does not seem to work. All the 111* files are getting picked up.
    Have gone through a couple of weblogs that deal with exclusion masks, but they do not talk about multiple exclusion criteria.
    Is there any other way I could accomplish this?
    Thanks,
    Anand

    Hi,
    Try this config.
    Give  *.txt in filename. and Directory as <YourDir>
    In exclusion mask give 111ACC.txt
    Below this there will be a table. Add two Entries
    Dont add anything to FilenameMask.
    Directory ->FileNameMask--->ExclusionMask
    <yourDir>->--->111INV.txt  
    <YourDir>->--->111PUR.txt
    Try this and get back.
    Regards,
    Sudharshan
    Message was edited by:
            Sudharshan Aravamudan

  • File Adapter Exclusion Mask

    Hi all,
    I'm need to specify a mask to a Sender File Adpater that prevent processing files that contains ? on the file name, example : FileABC??.txt
    Is possible to use regular expression or a advanced filter to this? Because if I put ? on Exclusion Mask the ? will be understood like any character.
    Best regards

    Hi,
    Yes, I've already see it, but my problem is that I need to exclude files that hava the ? character on name, and if I simply put it a exclude mask with ? It will interpreted as one any character.
    I've tried to put a Regular Expression, but it doesn't solve too. (.\?.) In this case the file named TEST-XP??TR?.txt will be excluded.
    Best regards

  • Exclusion mask - multiple exclusions

    Hello Experts,
    I've a folder where 4 types of CSV files will be put in:
    REC.5499740508504.541448800xxxx.<timestamp>.csv
    REC.5499740508504.541448900xxxx.<timestamp>.csv
    REC.5499740508504.54144969999xx.<timestamp>.csv
    REC.5499740508504.541449000xxxx.<timestamp>.csv
    2 of those types must be picked up by the sender adapter:
    REC.5499740508504.541448900xxxx.<timestamp>.csv & REC.5499740508504.54144969999xx.<timestamp>.csv
    So, I filled in my Unix source directory and File Name: REC*
    Afterwards, I filled in the Exclusion Mask: REC.5499740508504.541448800*
    And I added a line:
    Directory: same as source directory
    File Name Mask: same as File Name: REC*
    Exclusion Mask: REC.5499740508504.541449000xxxx.<timestamp>.csv (the other one I filled in with the Exclusion Mask above)
    This does not work. Can I add multiple exclusion masks without explicitly add directory lines?
    Thanks a lot
    Dimitri

    Hi,
    Try this config.
    Give  *.txt in filename. and Directory as <YourDir>
    In exclusion mask give 111ACC.txt
    Below this there will be a table. Add two Entries
    Dont add anything to FilenameMask.
    Directory ->FileNameMask--->ExclusionMask
    <yourDir>->--->111INV.txt  
    <YourDir>->--->111PUR.txt
    Try this and get back.
    Regards,
    Sudharshan
    Message was edited by:
            Sudharshan Aravamudan

  • Get filename from file sender adapter

    Hi Experts,
    I have a question regarding the file/ftp adapter (sender).
    I have a directory with xml and pdf files. for every xml file there is a pdf file with the same filename. for example:
    file1.xml
    file1.pdf
    file2.xml
    file2.pdf
    file3.xml
    file3.pdf
    Now I want to read the xml file with the file sender adapter. afterwards I want to read the related pdf file. for example: If I read the file file1.xml afterwards I want to read the pdf file file1.pdf with the file sender adapter. For this it is nessessary to get the filename from the xml file so that I can read afterwards the pdf file. How can I realise it?
    Thanks and best regards
    Christopher

    Hi srinivas,
    thanks for your quick answer.
    That the file adapter is not able to read pdf files is clear to me. In this case I only want to transport the pdf. that works fine. I tested it.
    the problem is the following:
    I have a xml file with the name "file1.xml". I read the xml file with the sender file/ftp adapter configured with filename "*.xml". Then I want to import the pdf file with the name "file1.pdf". Therefor I need the filename from the xml file.do you know what I mean? So XI has to know the filename of the xml to import the pdf with the same name ...
    regards

  • XSLT mapping to retrieve FileName from FILE SENDER adapter

    Hi
    I have an File Sender adapter scenario where I have switched on Adapter-specific message attributes (FileName).
    In my XSLT mapping program I need to RETRIEVE the filename and map it. Can anyone help please?
    Thx in advance

    Hi Bohamo
    Refer the following link.It provides the required solution for you.
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/83/2200cb50d345c793336d9a1683163e/frameset.htm
    Thanks
    Ram

  • File Sender Content Conversion: Help needed

    Hello Experts,
    i need help with file sender content conversion:
    i have a file which looks like this:
    12329460  24.01.09/07:01  167     Y010122851  136086  43300007            E70115  1L2_96_1
    12329660  25.01.09/07:02  157     Y010122851  136086  43390007            E711J5  1L2_96_1
    as you can see 8 fields, separated with whitespaces
    and i want and xml file which looks like this:
    <DT_DATA_FILESENDER>
      <Recordset>
          <Data> 
            <field1>12329460</field1>
            <field2>24.01.09/07:01</field2>
            <field3>167</field3>    
            <field4>Y010122851</field4> 
            <field5>136086</field5> 
            <field6>43300007</field6>
            <field7>E70115</field7> 
            <field8>1L2_96_1</field8
         </Data>
          <Data> 
            <field1>12329660</field1>
            <field2>25.01.09/07:02</field2>
            <field3>157</field3>    
            <field4>Y010122851</field4> 
            <field5>136086</field5> 
            <field6>43390007</field6>
            <field7>E711J5</field7> 
            <field8>1L2_96_1</field8
         </Data>
      </Recordset>
    Would you please let me know how the datatype has to look like?
    And especially how the FCC has to be configured for this scenario?
    Thanks in advance,
    Chris

    > With fixed lengths i get it working,
    >
    > but with de fieldseparator 0X09 it does not work,
    > would you please tell me the complete FCC config not only the fieldSeparation line?
    Well Christian,
    There is one thing, eithere you can use fieldSeparator or fieldFixedLengths you can not use both together. So in your case do not use fieldSeparator.
    The complete FCC is almost same as given in the blog in my previous reply. See the final output in that blog and create your data type accordingly. e.g.
    Recordset
    ------Item 0...unbound
    --------Field1 0..1
    --------Field2 0..1
    --------Field3 0..1
    --------Field8 0..1
    Regards,
    Sarvesh

  • Need help to Configure FTPS connection for File Sender Adapter

    Hi,
    I want to Configure, FTPS connection (Secured Connection) for File Sender Adapter. Could anyone please guide me, what Information I require to configure. I just want to know what Information should I request the team inorder the configure FTPS so that it can be deployed properly.
    I have checked with [SAP Help Link|http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] and while configuring the communication channel found that I need Keystore and the X.509 Certificate and Private Key.  which needs to be deployed on the J2EE server by using the Visual Administrator.
    Is there anything else, I need to configure.
    Any help would be appreciated in this regard.
    Thanks & Regards,
    Varun.K

    The basic things are Certificate/Keys which you already know. Usually it is enough for running a sceanrio.
    However, if you have additional requirements, like FTPS for "Connection Security" for encryption, then you may need additional details like commands. Rest all settings are same as FTP.
    Regards,
    Prateek

  • Why does File send link not work? Even right clicking on my mouse doesn't work. Is there a fix for this?

    Why can I no longer send links to websites? Clicking File>Send Link doesn't work nor does right clicking on the mouse. Both worked prior to Firefox 6. I also can't send emails to websites that don't spell out their address but instead say "to send an email click here". Everything works fine in Chrome and Safari but not in Firefox.

    OK well after first reverting to an older version of firefox to get my right click menu options back I have since discovered one way that works but at a cost.
    By using the addon menu-editor it is possible to move the EMAIL LINK button from the file menu to the (Main Context Menu) ie the "right click menu" BUT you will loose the file menu button as there is no way to clone the button and only move a copy. Bunch of clowns that decided to do this I really don't know what they were thinking. Very VERY stupid move.
    Here is a link to the only option that works https://addons.mozilla.org/en-US/firefox/addon/menu-editor/
    Can you fellows/chaps <!--buggers--> at least provide a clone and move option in the menu-editor?

  • File sender adapter:FILE to IDOC without BPM, can't see in SXMB_MONI.

    Hi all
    I have a FILE - XI - IDOC Async scenario without BPM.
    I configured FILE sender adapter and IDOC receiver adapter. I made a mapping to transfer file data to the structure of IDOC.
    Now when i am trying to load the file using command prompt, i cud see nothing in the monitoring. Whereas if i go to the communication channel monitoring of runtime workbench, i saw that CC is polling correctly and was reading the file also.
    And also wen i saw in the processed folder which i mentioned in the CC configuration for the ARCHIVE DIRECTORY, i saw that file got transferred to the folder also.
    I don't understand why i cant see anything in the monitoring.
    Could anybody help me to rectify the problem. Is there anything i m missing ?
    Regards
    Naina

    Rajesh/Amar
    TCode:: SXMB_ADM->Integration engine configuration->specific configuration->runtime
    Trace_Level = 3 then you can get all MONI PIPELINE Steps also
    I did this change but cudn't see anything in SXMB_MONI.
    This is how i have configured my process:
    http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
    But instead of IDOC splitting i have simple FILE - XI -IDOC scenario.
    I have configured everything exaclty the same way it is mentioned here. But for me the process is not visible at all.
    I can't even see the first request message in the monitoring.
    This is the message i can see in the communication channel monitoring:
    2010-05-24 09:07:41 Success Channel CC_*: Entire file content converted to XML format
    2010-05-24 09:07:41 Warning Channel CC_*: Empty document found. Proceed without sending message
    2010-05-24 09:07:41 Success File "/xyz/ABC.txt" archived after processing
    Is there any problem with the file and that could be the reason it cant convert the file to the request message MT_REQUEST and thus am not able to see anything in monitoring.
    help me guys....this is a simple process and i m stuck...its frustrating
    Regards
    Naina

  • Dynamic File Name and Directory File Sender Adapter

    Hello gurus,
    I have a question: Is there any way to make the File Name, and Directory Dynamic of a File Sender Communication Channel ?
    For example, taking it as a parameter from a Web Service Request.. (I mean, the only way with this would be a ccBPM). I don't exactly know if there is a way, I just thought about this.
    Please tell me if someone could make Dynamic these 2 parameters while picking a file.
    Regards,
      Juan

    oops,thought i was replying to the PgP question:)
    I think you should be able to achieve this via adapter module but i m not really sure how exactly it will be done .
    Thanks
    Aamir
    Edited by: Aamir Suhail on Jul 28, 2009 1:42 PM

  • File sender adapter Module Error

    Hi Everybody,
    I have developed an adapter module for file sender to rename the file name which is picked from the directory and I am getting an error
    "Attempt to process file failed with java.lang.NullPointerException".
    Can anybody tell me why is this error?
    Thanks,
    Zabi

    Hi,
    first check that module has been succesfully executed or not .This you can check in RWB .
    Secondly go in the file adpater and click on to module tab and check
    1-there will be two things one will be adapter module that you have depolyed. other one will be call sap adapter.
    2- make sure that call sap adapter should come after the module you have deployed. and having the key value less then adapter module (let say your adapter module is having the key value 1 and  call sap adpater is having the key value 0 then you need to change the key value there)
    Thanks
    sachin

  • File Sender Adapter

    Hello All...
    sysinfo:  files to join,  file1, file2, file3    output after joining the files should be sal.txt and the executable file is run.bat
    We have a File Sender Adapter and we are trying to "Run an Operating System Command Before message Processing" where we execute  run.bat, if we execute it  manually this executable run.bat is ok, but if we try to use it from "run operating System command before message processing" it does not work (it does not create the sal.txt file in the operating system)
    we are wondering if that is because file sal.txt in the field "file name" of  "file access parameters" does not exist in the operating system before the file run.bat runs.
    Any clue about this?.
    Regards

    HI Maru,
    Why don't you try to run this command from the sender directory specified in your sender file adapter in your command prompt??
    Does that result in success???
    And also, Instead of using a .bat fie, use the following command
    COPY "C:\MyFolder\file1.txt" + "C:\MyFolder\file2.txt" +"C:\MyFolder\file3.txt" "C:\MyFolder\sal.txt"

  • File sender adapter (FTP) - processing mode "Archive"

    Hello all
    We're polling files from an external FTP server. For this I created a scenario on XI according to this thread:
    When setting processing mode to "Archive" in the file sender adapter (ftp) it polls the file, stores it to the archive directory I specified and then tries to delete the file on the FTP server side. This returns me an error because we're not allowed to delete the retrieved files on the FTP server!
    Because of this error the file adapter stops further processing and does not poll all the other files.
    How can I disable this deletion mechanism while keeping processing mode to "Archive"?!?!?
    We do not want to use processing mode "Delete" or "Test" and we don't see other options to influence this behaviour.
    Thanks for any guideance on this one in advance!
    Kind regards,
    Renaud

    Hi Bhavesh
    Sorry for the late answer. Unfortunately I can't ask the application system to provide file names containing a timestamp within. The files are provided by an external partner and are retrieved by several others as well.
    In the meantime I managed to achieve this:
    In repository I created dummy data types, message types and message interfaces. No mapping programs and interface mappings!
    In configuration I created the necessary communication channels (1 ftp sender, 1 file receiver) and the required receiver and interface determinations as well as the sender and receiver agreements.
    The result of this is:
    I'm able to poll some specific files via ftp from remote host. The file names are file1.arj, file2.arj, file3.arj and file4.arj. All 4 files have the same SourceFileTimestamp (e.g. "20060727T053900Z").
    I'm able to store those 4 files 1:1 in a target directory with the same file names. Until here I did NOT need to follow this blog: <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14: The same filename from a sender to a receiver file adapter - SP14</a>.
    As of this blog it is possible to access adapter specific attributes and make them available in message mapping using user defined functions. This way I'm able to get the SourceFileTimestamp from the polled files and use it in a message mapping. This way I'm also able to use it in variable substitution on file receiver adapter (syntax = "payload:root,1,fileTS,1") in order to dynamically create a directory with this syntax: YYYYMMDD.
    So far so good... but the only remaining BIG problem now is, that as soon as the mapping is activated and assigned in the interface determination, the created files contain the XML payload instead of the original binary content. Where has it gone? How should the target message type look like so that it can carry over the original binary file content?
    BTW: isn't it possible to post screenshots? Would be much more easier to explain things... so sorry to anyone if I wasn't clear enough!
    TIA and best regards,
    Renaud

Maybe you are looking for

  • Problem with Web-Fonts displayed on Windows PCs?

    Hi, I am creating my first site with Muse, and am having problems getting the web-fonts to display correctly on Windows computers. This happens with both Chrome and IE, however you can see the rendering is much worse in IE. On my Mac (that I'm creati

  • New line break and extra blank space characters disappear after submit form?

    Hello, I have a PDF form with a Submit button that is dynamically created in my code to send the form data to the server in HTML format. After the form data is received on the server side, all strings with new line break and extra blank spaces are go

  • How to check in VB code that PXI-system is on and all cards are working.

    My system: Chassis 1010 with MXI8330, 4 x SCXI1129, 2 x PXI2565, 2 x PXI6508 and PXI4021. Problem: I'm trying to write section of code with Visual Basic which initializes PXI cards and gives information about system(Is it on? What kind of PXI or SCXI

  • Thinkpad in the screen does not continue

    Hi, I can't open my thinkpad t400.  When I put the button on what appears is the "thinkpad..." on the screen and it does not proceed to the blue screen where you find the monitor and icons.  Cna someone please tell me what to do, thank you. drexel So

  • ModelLocator & Modules

    I am building a large scale RIA application using Flash Builder 4.  At this point, I have the application separated into 10 modules (there will continue to be more added).  The main module holds navigation and a container to display the other modules