Prevent Sender File Adapter from retrying an error file

Hi,
I have a situation where there a number of source files[100+] to be picked from a source directory. The files are then processed by an adapter module before they are sent to the IE. Now, in the lot to be picked up there are files which do not conform to the input file structure validations in the module and consequently these would not[and should not] be picked. These files could occur anywhere in the input set and presently the adapter is re-trying the processing of these error files, with the result that the subsequent files are not processed.
Is there a method to ensure that the entire input file set is processed regardless of the adapter encountering error files in between?
Thanks,
Anand

Yes,
In your sender communcation channel, you must activate  "Archive faulty source files" flag and indicate a directory for archiving files with errors.
Regards,
Carme

Similar Messages

  • Stopping DB adapter From Retrying.

    Hi,
    We want to stop the DB adapter from retrying when a fault occurs during the db call.
    For that we have set following properties to ZERO
    *<reference name="SampleAPI" ui:wsdlLocation="SampleAPI.wsdl">*
    *<interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/SLK+Application/SLkApiCheckComposite/SampleAPI#wsdl.interface(SampleAPI_ptt)"/>*
    *<binding.jca config="SampleAPI_db.jca"/>*
    *<property name="jca.retry.count" type="xs:int" many="false" override="may">0</property>*
    *<property name="jca.retry.interval" type="xs:int" many="false"*
    override="may">0</property>
    *<property name="jca.retry.maxInterval" type="xs:string" many="false"*
    override="may">0</property>
    *</reference>*
    and tried to deploy the composite but it throwing error such that
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "Cannot parse JCA binding retry property 'jca.retry.count', value '0' due to: Value of JCA binding retry property 'jca.retry.count' must be a positive number".
    The invoked JCA adapter raised a resource exception.
    Can anyone suggest the possible solution to stop the retry in DB adapter.
    Thanks in advance..

    If you want to stop retry, just comment the below properties and deploy, try running.
    <!--property name="jca.retry.count" type="xs:int" many="false" override="may">0</property>
    <property name="jca.retry.interval" type="xs:int" many="false" override="may">0</property>
    <property name="jca.retry.maxInterval" type="xs:string" many="false" override="may">0</property-->
    Thanks,
    Vijay

  • Special characters in sender soap adapter provoke HTTP 500 error

    Hi,
    SAP R3 is sending a SOAP message to PI through SOAP adapter.
    When the payload does NOT contain german characters like ü, it works fine.
    However, when the payload DOES contain special characters, the SOAP adapter replies with an HTTP 500 code error.
    If I use SoapUI to send the soap message, and setting UTF-8 as the encoding in the program options, it will go through fine. If I change to ISO-8859-1 it will fail.
    I'm thinking in two options:
    - Make sure that SAP R3 sends the message in UTF-8 format (I think this is happening currently), as if SoapUI works, then probably R3 is not using UTF-8.
    - Force the adapter to use UTF-8. Is this possible? In the sender SOAP adapter I've added AF_Modules/MessageTransformBean (type local EB), and then Transform.ContentType for parameter name and --> text/plain;charset=utf-8 for parameter value. The sender adapter will fail then for every message, with or without special characters.
    Anyway, in this link (http://help.sap.com/saphelp_nwpi71/helpdata/EN/a4/f13341771b4c0de10000000a1550b0/frameset.htm) it seems to say that the sender soap adapter cannot be extended with modules, so maybe that's the reason why it fails when trying to add a module.
    Thanks

    If I use SoapUI to send the soap message, and setting UTF-8 as the encoding in the program options, it will go through fine. If I change to ISO-8859-1 it will fail.
    I'm thinking in two options:
    Check the use of option 1 ..... the URL which SAP is using to send the data can containe the encoding information.
    Check this SAP note: https://service.sap.com/sap/support/notes/856597
    From the above note:
    Q: What character encoding is supported by the SOAP sender adapter?
    +you can supply the encoding information with the xmlenc variable in the request URL as in+
    Regards,
    Abhishek.

  • Sending mail adapter from Exchange server

    Hi ,
       I need to configure sender mail adapter which needs to forward the mails comes to the Microsoft Exchange server to XI and then to other application..
    MAIL->XI->SAP System..
      We  are using Microsoft Exchange server to send/receive mails..But we need POP3 url to receive mails ..is it possible to receive mails from the Microsoft Exchange server..
        Can anybody help me to find out the solution..

    Anandan,
    Yes it possiable to send mails from MailServer.
    Configuring the Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Mail Adapter scenarios – SAP Exchange Infrastructure
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Also refer these links:
    http://www.microsoft.com/exchange/evaluation/compare/ClientCompare.mspx
    http://www.microsoft.com/exchange/evaluation/whatis.mspx
    http://www.trincoll.edu/depts/cc/documentation/email/IMAP_vs_POP/default.htm
    http://www.imap.org/papers/imap.vs.pop.brief.html
    Also please go through these notes:
    804102
    xi 3.0 mail adapter with pop3 user authentication problem
    810238
    XI 3.0 Mail Adapter for POP3 may not report some errors
    Just an additional info "sender mail adapter is to convert e-mails to XI messages"
    Message was edited by:
            Sreeram Reddy

  • Error while executing the stored procedure through sender JDBC adapter

    Hi All,
    I am getting below error while executing the stored procedure through sender JDBC adapter.
    Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
    what is the problem? any idea to anyone...
    regards
    Ramesh

    hi Dharamveer,
    I am not getting below statement for your reply
    Try to use Refrence Cursor it will return u reference of resultset.
    I mention SP like this
    exec SapgetNextEntity 'SalesOrder'
    SapgetNextEntity -
    > SP Name
    SalesOrder----
    > Parameter I am passing...
    regards
    Ramesh

  • No Source Directory on Sender FTP Adapter

    Hi Guys,
    I am using a sender adapter to poll an external FTP Server. The adapter is able to see the server fine.
    My problem lies in this:
    The company in charge of the FTP server has put a restriction disallowing the 'cd' command on the ftp server.  Now in the sender ftp adapter, the source directory is a mandatory field and therefore if nothing else, I need to put a '.' into the source directory.
    This in effect will do a cd . when it logins into the ftp server.  It is here that I get an error because command cd is disallowed.
    Does anyone know how I can prevent the sender ftp adapter from automatically doing a cd command i.e. have no source directory?
    Thanks,
    Miguel

    Hi,
    I think it is not possible with file adapter .
    Have a look into this SAP note -821267 Question no 27,34.
    It may give some inputs
    Regards,
    Moorthy

  • Sender file adapter conversion Error!!

    Hello every one....
    I am stuck with a problem...in my scenario,, there are possiblities that file may contain more than required paramters... in such case,,, paramters defined in conversion should go ahead and others should be ignored...
    for this very purpose i added the paramter:
    row.fieldSeparator                 ,
    row.fieldNames                     orderno,authcode,status
    row.endSeparator                  'nl'
    row.additionalLastFields      ignore
    the scenario works fine if the file contains thrree comma separated values but it raises an error if no of paramters increase as :
    Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting
    document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration: more
    elements in file csv structure than field names specified!
    we are using PI 7.... does it require some more configuration in additoin to paramter row.additionalLastFields
    any help in this regard would be highly appreciated...
    thanx

    this parameter is already set, and this is the exact behavior i want from adapter engine...  but the problem
    here is different... the exception is raised at communication channel's conversion routine level,,, the retry
    interval is not the one defined in visual admin but infact the interval (polling) time defined in communication
    channel.... the system does'nt stop after 3 attempts,, but infact keep on trying to read it....
    one peice of information i  have found is in sap note:821267 , which states:
    *Q35:*
    Q: I have configured a File Sender channel with File Content
    Conversion or a custom-developed module, which may throw an
    exception. When the File Adapter encounters an invalid file, which
    triggers a conversion error or an exception in a module, the
    adapter will enter a retry interval and upon each following
    processing attempt try to process the faulty file. This basically
    prevents the File Adapter from picking up files that are located
    after the fauilty file according to the configured sort order. How
    can I change this behavior?
    o A: This is by design. When the File Adapter encounters an invalid
    file, manually remove this file from the configured source
    directory. You can configure an alerting rule to get notified each
    time this occurs.
    We are currently evaluating possible solutions that could be used
    to skip this manual interaction.
    now can there be a way around to make communication channel read the file only 3 times (value defined in adapter engine profile in visual admin)
    I have thaught of writing of module.... but the error is raised even before calling module !!
    any further clue ???

  • Sender File Adapter Error reading file

    Hello!
    I have a problem with reading a file using the FTP adapter.
    I have configured everything according to the steps of weblog "FILE to JDBC Adapter using SAP XI 3.0" (/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30).
    I know the sender FTP adapter can connect to the directory and file because:
    1) it has complained about wrong format in the content conversion (has been fixed)
    2) when there is no file for it there to pick up, the FTP flag in the adapter monitor is green
    When I put a file in the specified directory I get the following error:
    - 2006-06-21 09:52:23 CDT: Retry interval started. Length: 10.000 s
    - 2006-06-21 09:52:23 CDT: Error: Retrieving file 'test_file.dat' failed unexpectedly: FTPEx: Public: The system cannot find the file specified.
    - 2006-06-21 09:52:20 CDT: Processing started
    - 2006-06-21 09:52:13 CDT: Error: Retrieving file 'test_file.dat' failed unexpectedly: FTPEx: Public: The system cannot find the file specified.
    - 2006-06-21 09:52:10 CDT: Processing started
    I also get the same error if I skip the content conversion and put a "ready" XML file there.
    There should be no auth problems at all. Public server, and I can log on, get, put, delete etc. Also it can apparently read it since it can complain about the content format. Anyone seen this before?
    Please advise. Thanks!
    Nam

    Hi Nam,
    Is your User Id and User Id/Password is correct ?
    Is connection mode is per file transfer in File Adapter configuration?
    Also you can see the log from Visual Admin..
    Regards,
    Moorthy

  • Sender File adapter - Error after upgrade to SP16 !!

    Hi ,
    After upgrade from SP14 to SP16 , i see this error in Adapter monitor in rwb. The file does not get picked up. Any ideas on how to troubleshoot this ?
    Configured at 2006-04-20 06:50:27 GMT
    History:
    - 2006-04-20 09:55:00 GMT: Retry interval started. Length: 30.000 s
    - 2006-04-20 09:55:00 GMT: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    - 2006-04-20 09:55:00 GMT: Processing started
    - 2006-04-20 09:54:36 GMT: Error: BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    - 2006-04-20 09:54:33 GMT: Processing started
    Is there a patch that will fix this issue ?
    Regards
    matthias isenburg

    thanks for yours tipps...
    here the output of the defaultTrace.trc:
    [EXCEPTION]
    com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:118)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java(Compiled Code))
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.send(File2XI.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java(Compiled Code))
         at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java(Compiled Code))
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sap.engine.lib.jaxp.TransformerFactoryImpl not found
         at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
         at com.euh.FileModule.GetFileNameBean.process(GetFileNameBean.java:76)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:103)
         ... 11 more
    Error during processing local bean localejbs/sap.com/com.euh.FileModule/GetFileNameBean
    Module Exception 'com.sap.aii.af.mp.processor.ModuleProcessorException: Processing Error caused by: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.' found, cause: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    Channel Orders_ftp_sender: Sending file failed with com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback. - continue processing
    Should this traces give me more information?
    mfg,
    matthias

  • File to SOAP,error in sender file adapter

    Hi,
    I am doing a scenario FILE to SOAP where In file adapter I am using Quality od service as Exactly once in order.I am getting the below error.It works fine when I use QOS=Exactly once.Not sure why,can you guys please help me.Can we really use QOS-EOIO for sender file adapter,where exacly do we use it.
    Thanks
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter  -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Edited by: guest xi on Apr 16, 2008 11:55 AM

    Hi,
    Thanks for your replies guys.I diid give the queue name ,I dont know what is causing the error.Now even QOS=EO which was working fine before is throwing an error.I am using the same file name for both
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter   -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Is Sender File Adapter always throws error when there is no file?

    Hi,
    I have a simple question but can't find a straight answer to it. I have a Sender File adapter that configured to pick up file XXX* from FTP server every 1 hour. But a file can come every 2, 3, or 7 hours- no certain time.When there is no file I got "File not found " error. As we use alerts, this behaviour is not acceptable.
    Does this error comes always if there is no file? Any possible way to avoid this error ?
    Thanks for help.
    Nataliya

    Hi Ravi,
    I can see the error in Runtime Workbench under CC monitoring. To be precise it says:
    An error occurred while connecting to the FTP server '1X.1XX.XX.XX:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 552 RMS-E-FNF, file not found, ES4_SAP*'. For details, contact your FTP server vendor.
    My ftp server has the following set up:
    Server: xx.xxx.xx.xx
    Port:21
    Dataconnection:Active
    Timeout:120
    Connection secuirity: None
    User name .... etc set up.
    Connect mode: Per file transfer
    Transfer mode:Text
    QoS:EO
    Pollinterval: 120 (for test purposes)
    Processing Mode: delete
    Can it be that its a ftp server generates error and sends back to XI?
    Thanks,
    Nataliya

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

  • Sender file adapter is not picking the file from windows server

    Hi Experts,
    We have a sender file adapter running on Unix server. Now we have changed the source directory path from Unix to Windows in file access parameters.  It is not picking the files from windows directory and not showing any error.
    In this scenario, input file for sender adapter is *.xml and no content conversion.
    Could any one please let me know is there anything needs to changed in file adapter.
    Thanks in advance,
    Sridhar. M

    Sridhar,
    What do you have in the directory path?
    If it is a shared drive in unix then the directory in windows should also be a shared drive from XI system. Else if it is FTP check the address.
    Regards,
    ---Satish

  • Production issue - Sender File adapter not picking up the files from folder

    Hi Guys,
    Ever since the upgrade from XI 3.0 to PI 7.1, we have come acrossinstances of weird error.
    Thsi time again - now the 3rd time - tandom basis, in our production PI server, we have teh file slying in the source directory folder in the server.
    I can see the files lying there in AL11.
    However, it looks like that the file polling has just stopped and the channel is going blank in channel monitoring.
    I have checked in SXMB_MONI and there are no messages since the morning.
    I have tried craeting a replica of the current channel but it is not working.
    This is teh production server and thsi has alraedy created production issues.
    I ahve checked in the SDN forum but am not able to find the details.
    Plaese help me.
    I am anyway going to raise the issue with SAP now.
    Regards,
    Archana
    <REMOVED BY MODERATOR>
    Edited by: Prateek Raj Srivastava on Jun 8, 2010 4:50 PM

    Hi Prateek,
    I have trying all sorts since the morning and then just checked teh file permissions.
    The file permissions were incorrect as compared ot the other files that were processed successfully today.
    Somehow the permissions were changed on the server and the interface channel was not able to poll the files.
    I got teh permissions changed back to 666 and all the files were pikced up in a minute.
    I got the folder checked and it seems like that the permissions were changed somewhere very early in the morning and we are trying to find out how it happened and who did that.
    However, another question i had - this sender file adapter was polling the source directory and deleting the files from there.
    I would have expected that if the channel had issues with the file permission because of which it was not able to access the file, it would have thrown an error something like the file permissions error.
    But there was not a single error in the channel monitoring.
    How can we configure it in a beter way so that we at least soem kind of error indication?
    Please advice.
    Regards,
    Archana

  • Sender File Adapter  not able to get file via FTP from an external system

    Hi,
    I have a Sender File Adapter using FTP which polls a server every 10 seconds looking for a file ".xml".  The adapter will connect and pick up the waiting file, but sometimes the adapter not able to get file via FTP from an external system. The file is on the server, but despite the polling, the adapter does not pick up it. There is no return error.
    The connect mode is Permanently and the transfer mode is Binary.
    Can you help me?
    Thanks.
    T.

    Hi Teresa,
    does this case appears with a file size higher the others?
    Personally, I do not recommend to have a polling under 1min.
    10s could be too just, if the file is not small and/or if the file server is far (several kilometers) to where the Adapter Engine is, and/or this file server is beside a firewall. Do not forget also that, with previous points, you could have like a conflict, betwen the 1st polling and the 2nd polling, if in less 10s PI adapter has not enough time: to connect to the FTP server (several Km), find the file (perhaps among 100 other files in the directory), go back to the file to Adapter Engine server (several Km again), convert your file to XML message (with a complex Content Conversion), then check the XML structure, and when all that is done, return back to FTP server (several Km), to archive the source file... Well It's my understanding of a FTP exchange with FILE adapter...
    If you really need a 10s polling, that's mean your have a pseudo real time interface. In that case, in my mind file should not be used! but we should use a Web service, JDBC JMS (any exchange without a physical object like a file). For me, it's a non-sens to have a file in that case.
    regards.
    mickael

Maybe you are looking for

  • Save as PSD no longer saves in compatibility mode

    When saving a psd file I can no longer save in "compatibility mode". I'm using a Mac computer with OSX (version 10.8.3)  and Photoshop CS6 (version 13.1.2 x64). I just noticed this problem tonight when I tried to bring a psd file into a MUSE project.

  • Unable to use decimal data in the datasources in the IOP RELEASE 11.1.2.1

    Hi, I have created a datasource of type Database and given an sql query which is fetching some of the decimal data. But when I am checking preview for the sql query, it is showing integer data (rouding off the decimal value) even though the field typ

  • Airline Reservation System

    An Airline wants to design a reservation system based on the following conditions: �h Each Plane has capacity of 10 seats. �h Applet should display the following options at the top of applet window ��Please type 1 for ��Non-Smoking�� ��Please type 2

  • Media Browser Displays Partial Aperture Library

    I have a large Aperture Library (80K photos), but when I use the Media browser in other apps (Pages, Outlook, etc.), only about 1100 of the photos are visible. There are no photos left to process in Aperture. Since the issue impacts both Pages and Ou

  • Solution Manager: Central system administration

    Hi, We need to configure central system administration in solution manager. Could you please provide step by step documents. Regards, Bala.