File Adapter - Archive Source Files with Errors.

Hi All,
Could you kindly give the steps as to how to configure sender File Adapter to archive source file which result in error ?.
Cheers,
Kushi

Hi Kushi,
To configure Sender File Adapter what you can do is:
1. Create one Communication and select the adapter as File.
2. Select the radio button Sender.
3. Enter the source directory e.g. /temp
4.Enter File name e.g. xi_test.xml
5. Under Processing parameters Chose the processing mode as "Archive" from
drop down box.
6. Enter the path where you wnant to archive your file.
7. Do not forget to enter the poll intervells. e.g. 60 & Quailty of service "Exactly Once".
8. Enter file type "Binary" if your source file is XML.
9. Check if Adapter status as "Active".
Note: Archiving the file is regardless of erorr in file.
It will archive all the source file.
Regards,
Sarvesh
****Reward Points, if found helpfull.

Similar Messages

  • File Adapter : Archive bad files

    Hi Friends,
    If we select the archive option while configuring the file adapter, following behaviour is seen.
    1. Files that are successfully processed, get archived to provided folder
    2. However, failed/bad files get deleted from source folder and do not get archived
    Is it possible to configure the adapter so that only failed/bad files get archived?
    Thanks,
    Sachin

    Hi Sachin,
    You can configure to handle the rejected messages in different way as given under (11.1.1.6 - check documentation for your version):
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/life_cycle.htm#BABBHJEA
    To achieve archival of only bad files, remove Archive property from your File Adapter and configure only the rejection handler.
    Regards,
    Neeraj Sehgal

  • File Adapter Archiving Issue

    Hi,
    THe file adapter archives the file, it doesn't save the entire contents of the file in the archive folder, but saves the first recordset (row) only in XML format. Did any body face similar issue, and what's the resolution to archive the contents of the file, the way it was sent.
    Thanks
    Pandari

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Archive Source Files with Errors, Option Does not work

    Any one tried "Archive Source Files with Errors" on the
    sender adapter. It shows no effect.
    1.We are on SP19.
    2.Adapter type : FTP adapter.
    Steps for the Reconstruction 
    1. Configure a sender FTP adapter.
    2. choose the option "Archive Faulty source files"
    3. Specify a directory for "Directory for archiving Files with Erroors"
    4. Send a file which can cause File Content conversion errors.
    Regards,
    Raj

    Hi,
    FYI
    I am in PI 7.0 SP 10. It works fine for me. Whenever you have any content conversion problem or module problem, it has created the same input file in specified directory.
    In your case are u getting content conversion error in the Communication Channel ..just cross check it. If not try to get error over there and then test this feature
    Rgds,
    Moorthy

  • Archive Source Files with Errors

    Hi All,
    I need to archive my sending file in repective directory, if it has errors..
    It is mentioned in library that A permanent error occurs either during the conversion of the file content, or in a module in the module processor.
    What is permanent error?
    For example if my input file name is abc.txt which containg 3 fields id,name,address.
    i have configured sending file adapter with FCC .
    now i have given some faulty entries in abc.txt like for example 4 fields separated by comma,
    but this is a error.Asper FCC i have given only 3 fields..
    so this error file has to archive in so and so folder.
    If i check <b>Archive Source Files with Errors</b> parameter in sending file adapter.
    and specified the specified directory.
    but its not working for me. file is not picking but its not coming in the archive folder.
    In library it is mentioned to see message transfer bean link.
    there i found <b>Transform.PermanentErrors: True/False</b>.
    If we have not used message transfer bean then, in that case will this parameter <b>archive source files with errors</b> will work for FCC?
    Please suggest me .
    I would really appreciate if anyone could send a complete blog for this how to archive source files with errors in FCC?
    Thanks in Advance..
    Regards,
    Reehan

    Reehan,
    I am not sure if you are still stuck with your issue of archiving faulty source files but I came across the same issue. Please check your mode of processing. The faulty source files archiving feature will work good in ARCHIVE mode but not in test or delete mode. I haven't check for set for read-only mode.
    Good luck!

  • Use of "Archive Source Files with Errors" for BIC module error

    Hi All,
    I have Edi file to Idoc scenario , where i am using SEEBURGER BICXIADAPTER.MODULE.
    My question is if the input file caught in error with BIC Module e.g
    "MP: exception caught with cause Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: SegmentDescription: checkAndResetChildrenCounter() not enough repetitions of the segment UNH found: 0 instead of 1 offset :80 DESCRIPTION: SegmentDescription Warning: Not enough repetitions of the segment UNH ([not specified]/[not specified])."
    can we move these errornous files to another directory using Processing parameter  "Archive Source Files with Errors" available with Sender File Adapter?
    In File Adpater my Module tab looks like :
    1     localejbs/CallBicXIRaBean     Local Enterprise Bean     bic
    2     localejbs/CallSapAdapter     Local Enterprise Bean     0
    In my scenario  , its not working..  do we have any other option to achive this?

    Hi Jyoti,
    I had a raised a similar case with SAP and came to know that archiving only works if the error raised by the module is so called "Permanent". However, bic doesn't raise permanent error due to which archiving of error files won't be possible. Seeburger haven't came up with a solution yet.
    Regards,
    Prateek

  • "Archive Source Files with Errors"  feature - how to?

    File sender adapter has a feature to  Archive Source Files with Errors.
    I have an adapter module applied to inbound files and in case an error occurs during the processing of the adapter module, I want to make use of this feature , this is because the CC keeps on picking the file with erroneous data after regular specified interval and shows up an error in RWB.
    How can I use the  Archive Source Files with Errors feature with this? Do I have to do anything specific in the adapter module code for this to work?
    Regards,
    Amol

    Hi,
    if you see whats mentioned on the help link
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/frameset.htm
    it says:
    To archive source files where a permanent error occurred during processing, set the indicator.
    A permanent error occurs either during the conversion of the file content, or in a module in the module processor.
    does this not mean it could be used with errors raised in adapter modules? ideally it should be.

  • How to Archive Source Files with error in XI ?

    Hi,
          How to archive source files where a permanent error occurred duing processing? and how to set it?
    Thank you in advance.
    Yinglak

    Hi,
    What exactly u want to do.........If u want to Archive ur sender file then give Archive directory path and if u process the file with error data or success data it will store in Archive directory.
    Archive Directory is used to store the sender files what ever  data ur sending ........not for only error records.
    Regards,
    Phani
    Reward points if Helpfull

  • File adapter - Archive issue with adapter module

    Hi All,
    I have 2 issues here. We are currently using PI 7.11 EHp1 SP02.
    1. Arhival with "add time stamp" wont work. It just gives us an error message saying simpledate format exception.
    I have gone through the OSS note 1265534 and thought this will resolve the issue. But our BASIS team believes this note is only applicable for PI 7.1 SP01. Can you one using PI 7.11 SP02 comment on this?
    Note: Archive option with out add time stamp works fine.
    2. When I use adapter module in my sender file configuration, the archive option itself does not work. Read the official SAP help which says "To archive source files where a permanent error occurred during processing, set the indicator.
    A permanent error occurs either during the conversion of the file content, or in a module in the module processor."
    So the question here is, how do we make the error permanent? The only way to throw error from adapter module is using the ModuleException. It has 4  different constructors. I have used both
    ModuleException me = new ModuleException ("My error Msg"); and
    Module Exception me1 = new ModuleException ("Error String", new Throwable("My error Msg");
    In both the cases, the archival wont happen.
    Any ideas welcome.
    Thanks
    Jai

    Hi,
    I am using NFS protocol here not FTP. Sorry I dint mention that earlier.
    Thanks
    Jai
    Edited by: Jaishankar on Apr 1, 2010 9:55 AM
    Edited by: Jaishankar on Apr 6, 2010 11:10 AM

  • File adapter - archiving files after successful processing & errors

    Hi All
    In sender file adapter, I understand that we can archive files after processing them.
    After successful processing, we can archive the file, and if there are any errors, we can archive the file in a different folder (all files resulting in errors during processing are archived in a seperate folder).
    Now, see this scenario.
    My file is successfully picked up, processed and posted to receiving sap system thru proxy.
    But, if there is any application specific error (ex: duplicate id), because of which this data cannot be processed in the receiving system, how can i move the file which is archived in successful messages folder to the folder where we archive error messages?
    Is it possible?
    This is required because, when there are these kind of errors with incorrect data, we want the corresponding file to be archived in the folder where erred files are archived.
    Please let me know how we can achieve this.
    Many Thanks
    Chandra

    in file sender CC, thr is option to archive and error file store also..
    1)under processing mode - archive.. give the path thr..
    2) To archive source files where a permanent error occurred during processing, select Archive Faulty Source Files
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/658abd344a4de0e10000000a1553f7/frameset.htm

  • Reg:File adapter archive Directory

    Dear team,
    Our requirement is to read a csv file from a directory and archive the file in archive folder specified in the file adapter.
    If any exception is caught,then we need to read the archieve file from archive directory rename the archive file with source file name and place it in source directory.
    On the receive activity we are able to get the source file name and source file directory.
    <receive name="Receive1" createInstance="yes"
    variable="Receive1_Read_InputVariable" partnerLink="fileRead"
    portType="ns1:Read_ptt" operation="Read">
    <bpelx:property name="jca.file.FileName" variable="srcFileName"/>
    <bpelx:property name="jca.file.Directory" variable="srcDrFolder"/>
    How to get the archive file name and archive file directory from the receive activity so that we can store in local variables.
    Pls do help.
    Thanks

    Hi,
    Another way you can accomplish your scenario. Instead of deleting or archiving in beginning just move the file from inbound to archive location after business flow completion.
    In case of error, the file will remain at original position as moving operation is at the end.
    First read the file using read operation, then at the end create a file adapter with sync read operation. Change the entries in .jca generated with below sample.
    Sample jca file.
    <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
    <!-- Below properties are dummy except Type , it will be changed in runtime -->
    <property name="SourcePhysicalDirectory"
    value="srcdir"/>
    <property name="SourceFileName" value="abc.txt"/>
    <property name="TargetPhysicalDirectory"
    value="targetdir"/>
    <property name="TargetFileName" value="abc.txt"/>
    <property name="Type" value="MOVE"/>
    </interaction-spec>
    Then,in you bpel flow at the invoke for sync read add these two properties.
    <bpelx:inputProperty name="jca.file.SourceFileName"
    variable="varInputFileName"/>
    <bpelx:inputProperty name="jca.file.TargetFileName"
    variable="varArchiveFileName"/>
    <bpelx:inputProperty name="jca.file.SourceDirectory"
    variable="varInputDirectory"/>
    <bpelx:inputProperty name="jca.file.TargetDirectory"
    variable="varArchiveDirectory"/>
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Durga

  • File adapter picking up files with wrong content

    Hello, We configured a file adapter to read *.xml files. We also defined the xsd for the files. We expected that the adapter would only pick up files that conform to the xsd. However we found that all *.xml files (even renamed jpeg's) are read. Is this intended behaviour? Or did we miss some configuration setting?
    Richard

    A short follow-up:
    To make matters worse. If I take a completely different file (like the jpeg) and rename it .xml it gets picked up by the file adpater but there is no audit trail of the BPEL process instance. The file is not archived either, so it's completely gone! If I just change one of the elements the file is read and archived. I can also have the file adapter write the file with the wrong content.
    I found a reference to a bug. (bug 5926809 or SR 6327165.994) is this related, is it solved?
    Richard

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • File Adapter not processing Files which has COMMA in it

    Hi Experts,
    I am working on Project in SOA 11.1.1.6.
    I am trying to process a file which has comma in it. for eg - XXXXXXX-XX_XX_XXX11,99.pdf
    I am picking the file using file adapter from SOURCE directory and using another file adapter to WRITE to destination directory. Polling processing is working fine.
    I am picking the file from SOURCE directory as ATTACHMENT and WRITING to DESTINATION folder through File Adapter
    While doing file WRITE its failing. While reading the file the values of Content Type, Character Set and Encoding are NULL for the ATTACHMENT as they are optional properties.
    The error I am getting while File WRITE is
    <remoteFault>
    <part name="summary">
    <summary>java.lang.RuntimeException: Failed to decode properties string att.encoding=null,att.charset=null,att.contentId=AReadFile/XXXXXXXX_XX_XXX11,99.pdf_1352184009640,att.contentType=null,att.partName=attach</summary>
    </part>
    <part name="detail">
    <detail>1</detail>
    </part>
    </remoteFault>

    Comma is usually treated as a separator/delimiter and hence it is not really common to have comma in filename. I think because of this reason File adapter does not support it (have to cross-verify). If you really have a requirement to read/write files with comma in filename then better log a SR with Oracle support.
    Regards,
    Anuj

Maybe you are looking for

  • Can't find printer on print server

    Macbook 10.7.4 PS121 print server from netgear MP500 Canon printer OK I can print from all my xp computers. I can access the print server from Safari I have tried to set up IP printing with the print server ip address 192.168.0.4 and it recognizes it

  • Acrobat Pro 9.5 on OS 10.6.8 - Activation issues - hd migration.

    I use the creative suite 5 installed on a MacPro with os10.6.8. I just changed the hard drive and I transferred all applications with apple migration assistent. Now I have problem with acrobat pro 9.5. When I launch Acrobat, message appears: "Activat

  • No Javadocs in Creator 2

    I'm new to java, attempting to learn after many years experience with C++. I've downloaded Sun Creator 2 and it works fine, except the javadocs seem to be mising. How can I get them integrated into Creator?

  • Screen Flickers in Windows (Bootcamp)

    Hello there ! First of all, sorry for my english, i'm from Romania. I need your help : I have a 2008 Aluminiu Macbook - not PRO - 2.4Ghz, 4GB DDR3, Nvidia GeForce 9400m I recently installed Windows Vista to play some games but after 10 minutes o play

  • HT201210 devise can not be found?

    my daughter gave me her iphone3g when i plug it in to my computer it says her name and devise can not be found?  both her and i have different apple/itunes accounts. I dont know how to sync to my account - it wont let me???? Frustrating! HELP!  PLEAS