Regarding File adaptor?

Hi @ ,
In my scenarion I am using file adaptor where i need to read the file ,i have one doubt IF while the application is writing the file my adaptor reads the file which is still not written completely by the application as a result XI gets incomplete data how to ensure that this particular coincidence doesn't take place and file adaptor reads only complete data file and not incomplete
Regards,

Hi,
you just need to set:
Msecs to Wait Before Modification Check
then it will work as you need
reference:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
is that what you need?
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

  • File Adaptor....... system command after file processing

    i am creating 2 files with file adaptors..
    lest say a1.txt and a2.txt..
    in the file adaptor i am specifying the path of a batch file which is located at the same location where these 2 files are created......this batch file should run after message processing
    i am using this .bat file to create a file by combining these 2 files and delete these 2 files after that...
    but nothing seems to be happening..after the 2 files are created.
    seems like the command is not getting triggered which it is suppose to after message processing.
    please help

    Hi Tarun,
    Check this blog, Might give u some idea as well...
    <a href="/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions: Command line sample functions</a> By Michal Krawczyk
    <a href="/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi Command - Executing Unix SHELL scripting</a> By Sameer Shadab
    Regards
    San
    Where there is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • Operating system command in file adaptor

    Hi,
    I am doing file to Idoc scenario, can i use the Operating system command in file adaptor to compress the file at FTP server and decompress the file at IE. I don’t know is it possible and if yes then how or is there any other way to handle the big files as the network speed is very low.
    Any clues!!!!!!!!!!!
    Thanks in advance
    Regards
    Swatantra

    Have a look into these threads - they seem to have the solution u need (i havnt tried it though)
    Unzip file using operating system command in file/ftp receiver adapter
    How to zip and unzip xml files dynamically by XI

  • File adaptor not working.

    Hi ,
        I am trying some scenario using file adaptor but it is not working. I tried with Runtime Workbench but my adaptor entry is not there in Adaptor monitoring.
        Can anybody plz tell me how to check whether adaptor is working or not?
        I am new to XI detailed explanation will be helpful.
    Thanks in advance.
    Atul.

    Hi Atul,
    Just adding on to what Shabrish has suggested..
    I Guess you should first see if the file is being picked... for that do the following.
    While configuring your Sender File Adapter, let the mode be DELETE. This way, we will know if the file is being picked by the File adapter. The file will be deleted and you can be sure that it has been picked up.
    In your runtime workbench home, there will be a tab, Component Monitoring, click on it. Select status as all, and click on display. The components will be displayed on ur screen. In that, under Integration Server, there will be a link for Adapter Engine. Click on it. Now, scroll down, and u will see a link to adapter monitoring, there under FILE ADAPTER see the log of the file adapter
    and also, you can see the flow of your message in the integration engine in SXMB_MONI.
    Do this and let us know what is happening...
    Regards,
    Abhy

  • Multiple files in different directory using single FILE adaptor

    Hi Guys,
    How can we handle multiple files having different format(PDF,TXT,EXCEL) and in different directory with the single FILE adaptor.
    I know by using "." we ca get mutilple files, but here tthe files are of different format and in different directory.
    Could you please explain as to how we can handle this scenarios?
    Thanks
    Sahil

    Hi,
    The short answer is - "No".
    The Long Question - "Why do you want to use a SINGLE channel".
    If your idea is to reuse the interface then dont worry... Except for the Senderchannel and Sender agreement all your other objects can be reused ...provided your sender apter converts the different files into the same XML format..
    For TXT you can use the simple file adpater..
    For excel see if you can use save the file as .CSV format...then you can use it directlky by the simple FIle adapter..
    For PDF use conversion agent... Here a blog to get u started on that ->
    /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    regards
    Arvind R

  • File adaptor Debugging?

    HI @,
    I am using a file adaptor which is reading the file and then archiving it after successfull reading .Now what happened that In my scenarion the file got picked up by adaptor and archived also but there is no trace available in the SXMB_MONI
    I need help in debugging the same scenarion How to dedbugg and why this happened
    Regards

    Amit,
    I would recommend looking in the Message Display Tool (http://<xiserver>:<xiport>/mdt) for errors.
    Kind regards,
    Koen

  • File Adaptor-picking after error

    Hi,
    I have a scenario where File adaptor has to pick files where file name is dynamic but the extension is constant e.g <dynamic name>.file
    I have configured the file adaptor for picking up the files, as  *.file but the problem comes when there is some error in the file and adaptor (field content conversion) fails to pick up the file.
    And now on when ever file adaptor polls the directory it again tries to read the same file and fails , irrespective of other  correct files(*.files).
    Is there any way to remove/archive this error file so that file adaptor polls for the next correct files.
    Regards,
    Satish

    hi satish,
    Are u talking about additional files? If so you can use NameA.optional=yes and proceed.
    Regards,
    Divya

  • XML File to Flat File scenario: Reciver file adaptor content conversion

    Hello Friends,
    Currently I am working on XML File to Flat File Scenario.
    I used receiver side File adaptor with content conversion.
    My receiver side adaptor is giving error. Error is given below.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    My content conversion parameters are as:
    row.fieldNames                           Customer_ID,Name,Address,Phone
    row.fieldSeparator                      ,
    row.processConfiguration          FromConfiguration
    row.endSeparator                       'nl'
    Can you please suggest me what kind of error is this?
    Regards,
    Narendra

    Still I am facing below given issue.
    2010-06-08 15:34:25     Error     File adapter receiver channel CC_Customer_FlatFile_Distination is not initialized. Unable to proceed: null
    2010-06-08 15:34:25     Error     Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages

  • File Archive When file adaptor is Receiver

    Hi,
      How to Archive the File when the File Adaptor is Receiver?
      My scenarios is IDOC TO FILE.
    regards,
    Ansar.

    HI,
    1.<i>you can try creating your own adapter module for
    that and use it in the file adapter</i>
       --- How to write Adapter module and where to write?
    2. <i>Add Timestamp, Add Counter , etc .,You can use any of these options? Is this what you are looking at?</i>
    I am looking for to take a backup of the file which was generated by XI through idoc to file scenario.Bcoz this file is will be read and deleted by another application(:: I need to store the file in another folder).
    3. <i>write a script or create a batch file</i> ...
      --- Can u plz give some more information...
    4. <i>create anyother file adapter and place the archive folder path</i>
      ---  I created like that but not working (ie. Receiver determination I am unable to give 2 communication channels..)
    thx,
    Ansar.

  • Reg.File Adaptor scheduling

    Hi,
           I have the follwoing questions for you:
    How can I configure the file adapter so that it can pickup a file at every midnight?
    How can I configure the file adapter so that it can pickup a file on every Thursday(i.e. Weekly once)?
    Is it possible to configure the File adaptor as asked above?
    I would be very much thankful to you if you could answer my question ASAP.
    Regards,
    Murthy

    Hi,
    Note:You will need to have the authorizations of the user group SAP_XI_ADMINISTRATOR with the role modify.
    Go to Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring
    Locate the link Availability Time Planning on the top right corner of your Communication Channel Monitoring page.
    In your case, the requirement is to schedule the Sender file adapter daily once at Specified time.
    In Availability Time Planning, choose the Availability time as daily and say create.
    Provide the details like the time “   “
    Then select the communication channel , goto the Communication Channels tab and filter and add the respective channel (File Sender).
    Once all the above has been done 'Save' the changes.
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Reward Points If Helpful
    Regards
    Sesha

  • File adaptor

    hi, i have a doubt . my requirement is i want to send a flat file as a flat file using file adaptor. in that my structure consists 236 fields, i cant specifiy each and every field in that. it takes more time.
    is there is any alternative for this.

    Hi,
    If both sender and receiver are flat file with content conversion with coma saeparated then there is a way to solve it.
    - first my doubt is , you wat the same file from source to target , no structure modification, is it correct , or you want do some thing in mapping ??
    So-
    create a data type under row as root node with 0..unbound, message type . and create outbound interface and inbound interface with same mt.
    so no need of mapping.if you dont have to do any thing in mapping except one to one.
    and rest of config is same .
    Only you have to give the file cc is
    file record structure ; row
    processing parameters
    ignorerecordset ; true
    row.fieldSeparator : ,
    row.endseparator ; 'nl'
    Regards
    Chilla

  • How to configure the file adaptor so as to send an sample XML message.

    Hi all ,
    I had done the configuration and now i want to test the scenario but i dont now how to do that ?.
    how to configure the file adaptor so as to send an sample XML message to the integration server ?.
    I am totally new to XI.
    please help me out how to do it.
    its an urgent.
    Thanks,
    shuja

    Hi,
    I think you should post your question Process Integration (PI) & SOA Middleware.
    Regards
    Message was edited by:
            Shehryar Khan

  • Difference between  MDM adaptor and File adaptor?

    Hello All,
    Could any one light on the difference between PI Adaptor and File adaptor?
    Thanks
    Rajeev

    Hi,
    >>>Could any one light on the difference between PI Adaptor and File adaptor?
    for MDM <= 5.5
    there was no difference as file adapter was the MDM adapter
    it changed with the latest version as Shabz mentioned
    Regards,
    Michal Krawczyk

  • HOw to set processing sequence of file in File adaptor?

    Hi @ ,
    I am using file adaptor where i need to ensure the files are processed in a particular sequence like a,b,c,d and if c is received before a and b it should not be processed unless a and b are processed
    Please help how to do this .
    Regards,

    Hi,
    you just need to set:
    Processing Sequence (for transport protocol File System (NFS))
    (it only works with NFS)
    and set it: By Date
    reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    is that what you're looking for?
    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>

  • Issue in File Adaptor

    Hi,
    I am using a file adaptor to poll file from a location and process the records and to call an java callout in the same proxy which will accept filename with file path as argument.But this java callout always reurns filenotfound error.I also tried to give stage directory value/archive directory along with file name.But getting the same error.Kindly help me to find the location of polled file(but proxy is still processing).
    Thanks
    Jayanthi

    poll file from a location ... proxy which will accept filename with file path as argumentJava callout will run on the host OSB server is running... File must be in that same host... If it's not you will have to write the file before passing to the java callout... But probably passing the content as a byte array to the java callout would be a better option...
    Cheers,
    Vlad

Maybe you are looking for

  • Problem while creating excise invoice by J1IJ

    Hi Friends I am creating excise invoice from delivery for a depot using T-c0de J1IJ . Problem is every time when I select RG23 in drop down menu after entering delivery no, excise gp and series gp and and save it, system gives error that item is inco

  • How to migrate Mac Pro to MacBook Pro?

    After cloning my Mac Pro Boot Camp XP2 to my MacBook Pro via Netrestore I realized I'm not sure how to deal with the hardware differences. XP boots fine on the MacBook Pro but has no trackpad, and no USB mouse support. I tried to reinstall "Boot camp

  • Allow cell contents to cross page

    Is it possible to allow text in a cell to run over more than 1 page? I have a table with 2 columns and 16 rows, which MUST fit in to 3 A4 pages; unfortunately, it is currently 5 pages long, as all cells are kept on a single page.

  • Version control with concurrent InCopy and InDesign packages

    Hi there, If Editor A uses the "Forward for InCopy" option to create and send an InCopy package (.incp) to Editor B, and then erroneously uses the "Return for InDesign" function to create an InDesign package (.indp) before the Editor B has returned t

  • What is the directory that contains the init directories ?

    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?  I want to install a copy of vmware5