Poll interval for sender file adapter.

I have a 1_sender file NFS file adapter which picks a trigger file from X location in PI application server, this trigger file initiates the unix script present in the sender file adapter.
Unix script brings all the file which starts with 25588* from bank FTP and places in Y location in PI application server then script deletes the "trigger file".
another NFS File adapter  1_receiver file adapter places the trigger file in the X location of PI.
for 1_sender file poll interval given as 86400, that means it should trigger only once a day @ 1:30pm.
But today same sender file adapter had triggered 4 times, could any one let me know the reason why it had triggered 4 times instead of single time.

Vidya,
There are two things :-
1. The polling interval should be 24 hrs;
2. The polling interval should be 24 hrs and it should poll at 1:30 pm every day.
For any reason if the channel is re-started, then with your present configuration, you will never be able to achieve # 2.
So, better use ATP.
But today same sender file adapter had triggered 4 times, could any one let me know the reason why it had triggered 4 times instead of single time.
Might be the connection dropped / failed at the time of polling and the channel re-tried. If you give more details (what time and with how much interval it triggered), someone might be able to help.
Regards,
Neetesh

Similar Messages

  • Required Changes in FCC Paramenters for Sender File Adapter.

    Hi
    I am Doing File-File Scenario.I am using FCC in the Sender File Adapter. I have defined the structure as below.
    My Source Structure
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Source xmlns:ns0="http://city.net/filecopy">
       <Message>
          <Id>123</Id>
          <Head>
             <Id>123</Id>
             <Filename>test.xml</Filename>
          </Head>
          <Body>Helloworld</Body>
       </Message>
    </ns0:MT_Source_FILE>
    So for the above structure, I have defined the FCC Parameters as
    Document Name: MT_Source (Message Type)
    Document Namespace:http://city.net/filecopy(Namespace)
    Recordset Name: Message (root node)
    Recordset Structure: Message,1,Head,1
    Recordset Sequence: Ascending
    Recordsets per message:1
    Keyfield Type: string
    In the Table Rows I have defined
    Message.fieldFixedLengths: 3,10
    Message.fieldNames: Id, Body
    Message.fieldSeparator: ,
    Message.endSeparator: 'nl'
    Head.fieldFixedLengths: 3,8
    Head.fieldSeparator: ,
    Head.endSeparator: 'nl'
    Head.fieldNames: Id, Filename.
    My Input Text file
    123,Helloworld
    123,text.xml
    I am Getting Output as
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_Source xmlns:ns="http://city.net/filecopy">
    - <Message>
    - <Message>
      <Id>123</Id>
      <Body>HelloWorld</Body>
      </Message>
    - <Head>
      <Id>123</Id>
      <Filename>test.xml</Filename>
      </Head>
      </Message>
      </ns:MT_Source>
    I should get Body field after Head Structure as in the Source Structure, So Please what changes do I need to do in the Parameters Specified above to get the desired Output.
    So How should I define the FCC Paramenters For Sender File Adapter ?
    Any Help Would be Appreciated.
    Regards,
    Varun

    Hi Everyone,
    I could Succeed to some extent.
    I have defined the parameters as follows
    Recordset Structure: Message,*,Head,1
    Key Field Name: KZ
    Key Field Type: integer
    In the table, I defined the Parameters as
    Message.fieldFixedLengths:1,3
    Message.fieldNames:KZ,Id
    Message.keyFieldValue:1
    Message.keyFieldInStructure:ignore
    Message.fieldSeparator:,
    Message.endSeparator:'nl'
    Head.fieldFixedLengths:1,3,8
    Head.fieldNames:KZ,Id,filename
    Head.keyFieldValue:2
    Head.keyFieldInStructure:ignore
    Head.fieldSeparator:,
    Head.endSeparator:'nl'
    Message.fieldFixedLengths:1,11
    Message.fieldNames:KZ,Body
    Message.keyFieldValue:3
    Message.keyFieldInStructure:ignore
    Message.fieldSeparator:,
    Message.endSeparator:'nl'
    My source text file
    1,123
    2,123,test.xml
    3,Hello World
    my output is
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_Source xmlns:ns="http://city.net/FileCopy">
    - <Message>
    - <Message>
      <Id>123</Id>
      </Message>
    - <Head>
      <Id>123</Id>
      <Filename>test.xml</Filename>
      </Head>
      </Message>
      </ns:MT_Source>
    I got the output almost correct except I am not getting the value in the Body
    Any help would be appreciated.
    Please correct me If I am wrong.
    Regards,
    Varun
    Edited by: Varun on Sep 2, 2008 12:06 PM
    Edited by: Varun on Sep 2, 2008 12:15 PM

  • FCC Paramenters for Sender File Adapter

    hi
    I am using FCC in the Sender File Adapter. I have defined the structure as below. Fields ID, Filename, Values will be generated at Runtime as I have defined Used Defined Funtions for Both.
    Only I will Pass the value in Body. i.e "Hello".
    So How should I define the FCC Paramenters For Sender File Adapter ?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Source_FILE xmlns:ns0="http://city.net/FILEtoHTTP">
       <Message>
          <Id>123456</Id>
          <Head>
             <Id>123456</Id>
             <Filename>sample.xml</Filename>
          </Head>
          <Body>hello</Body>
       </Message>
    </ns0:MT_Source_FILE>
    In the source text file, Do I need to send only "Hello" value because ID and filename will be generated at runtime?
    Regards,
    Varun
    Edited by: Varun on Sep 1, 2008 6:00 PM

    Hi,
    Refer this link:
    http://help.sap.com/saphelp_NW04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards,
    Nithiyanandam

  • Selective Polling in the Sender File Adapter

    Hi,
    I have the following requirement
    1) File X is placed in the directory which is the source file for the sender adapter to poll
    2) File X is appended regulary with data until it is polled. During this appending the sender adapter should not poll this file
    3) Current process (without PI) they use a control file to stop this happening. i.e. they place a File Y in the directory to show the file is being updated and not to be touched. Once The file is appended File Y is removed and the file should be polled
    So ultimately I have to configure the sender adapter to poll for File X (say every minute) except when there is File Y in the directory.
    Any ideas?

    Hello,
    You can use the "Msec to wait before modification check" feature in sender file adapter to achieve the requirement.
    No need to place the "File Y"...i.e step 3 to perform.
    Check the below link for more details:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/658ac3344a4de0e10000000a1553f7/frameset.htm
    -Rahul

  • Failover solution for Sender File Adapter (FTP)

    Hi guys,
    I have a scenario FTP->Idoc. Is it possible within PI to create a functionality, that if a connection to one FTP fails, it will switch to another FTP?
    Thank you,
    Peter

    Hi,
    You may maintain two seperate Sender adapters with seperate FTP server and fix the polling interval to sequence the calling of file.
    But if the file is available on both the FTP servers then there will be two calls always.
    So you need to maintain the file in any one of the FTP server.
    But this is just the manipulation, not the precise solution. You may go for BPM also
    In communication channel there is no such feasibility. Probably you may need to go for customized adapter modules.
    Thanks
    swarup
    Edited by: Swarup Sawant on Sep 2, 2008 11:42 AM

  • Adapter Module for Sender File Adapter to access a Flat file

    Hi,
    We have a scenario where the source is a flat file.I want to develop an Adapter Module to make a small change to every line in the Flat file.
    Now how do we read a flat file in the Adapter Module?Coz the flat file will be converted to XML file by the Standard Adapter Module of the File adapter.
    Please help me out with this.
    Thank you,
    Anu.

    Hi Anu,
    If you are not using Content Conversion option Standard Adapter Module does not convert the Flat file to XML .
    You can directly access the payload as it is in flat file in the Adapter Module and make changes.
    Use the Standard classes ModuleData & moduleContext to fetch the Payload.
    chk this :
    Customized Sender Adapter Module
    XI: Read data from PDF file in Sender Adapter
    regards
    Ganga

  • Query on FCC for Sender  File adapter

    Hi All,
    Our sender file is like below:
    0191011            2005100007098240081117812600811178126 3            0                                                        
    10001011110112000004389      EUR C000000000224397 EUR9DE   294000945681                                                        
    1000102MARTINSWERK GMBH                   KOELNER STRASSE 110                                                                  
    9000008000001000000000224397                                                                               
    Hence we have created the sender datatype as follows:
    Header (1..1))
    Data1(0..1)
    Data2(0..1)
    Data3(0..1)
    Trailer(1..1)
    During the sender FCC comm channel configuraiton we have provided the recordset as Header,1,Data1,1,Data2,1,Data3,1,Trailer,1
    But since the Data fields are optional it is erroring our in Sender CC stating that XML validation is wrong.
    Can anyone please help us on this
    Thanks
    Suganya,

    hI,
    well... ok.
    other solution: "Header,1,Data1,1,Data2,1,Data3,*,Trailer,1", but that it's only if you always have data1+ Data2 only once (Occurence 1..1), and you have sometime Data3 pour not evereytime (so occurenc 0..N).
    other solution: return to your solution wiih "1" and nt "*" and use the option "keyField to distinguish the different structures.
    - for header, keyField = 0
    - for footer, keyKey = 9
    - and as Data1, Data2 have the same first field = 1, you cannot use it as a KeyField, you shoud use another field like the digit which is just after "100010" (for instance), so "1" for Data1 and "2" for Data2
    Decaclare a KeyField name like "MyKey" for instance, and under under "fieldNames" use the term "MyKey" in the corresponding field. See [sap help|http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/682bcd7f2a6d12e10000000a1553f6/content.htm] for more details.
    regards
    mickael
    Edited by: Mickael Huchet on Nov 19, 2011 7:07 PM

  • EOIO for sender file adapter

    PI picks up the records from a flat file of 500 records and 100 records.
    I have selected EOIO as QoS. Gave the queue name.
    The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
    Can anyone please help me with this? Did anyone face this issue?
    We are on PI 7.0 SP 14.
    reg

    Hi,
    >>>The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
    check if you have specified : Processing Sequence  - by date
    in sender channel
    Regards,
    Michal Krawczyk

  • 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>

  • Sender File Adapter. Fixed Lengths and Field Separator

    Hello guys,
    I have a doubt in Sender File Adapter with Content Conversion.
    I have a text file like:
    a,b,c,,e
    I have the configuration in the adapter:
    Register.fieldNames: a,b,c,d,e
    Register.fieldSeparator: ,
    The question I have is can I format the length of the text when i create the XML?
    I woul like to create the XML like:
    <Row>
      <Register>
        <a>a   </a>
        <a>b  </a>
        <a>c  </a>
        <a>   </a>
        <a>e   </a>
      </Register>
    </Row>
    I would like that when I create the file in Field A I have length = 4, but I have only 1 in the entry, and I want to fill the rest of the length with spaces.
    I tried with FieldFixedLengths but when I test it the fields are not being formatted and take the commas as part of the field.
    I know that this can be done in Receiver File Adapter, you leave for example one field of 5 length and you format it to 12 length with spaces.
    Is this possible for Sender File ADapter?
    Many thanks.
    Regards,
    Xavi.

    hi,
    See the example given in this bog, in this blog the string has been splited into different fields as per the field length, so you may use the same concept to get your output.
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    I hope it helps you.
    Regards,
    Sarvesh

  • Sender File Adapter FCC Question

    Hello folks!!
    I am trying to configure a FCC for Sender file adapter and wanted to consider a Line feed Carriage return line which will look as below to be a empty tag in XML. After Line 4 there will be a blank line which identifies the start of next record.  I tried using Field.MissingLastFields , Field.endSeparator  etc.,  Perhaps I am not using the correct value. Any help appreciated.
    Line1
    Line2
    Line3
    Line4
    Line1
    The expected XML is as below:
    <Record>Line1</Record>
    <Record>Line2</Record>
    <Record>Line3</Record>
    <Record>Line4</Record>
    <Record></Record>
    <Record>Line1</Record>

    Hi Greg
    Thanks for your feedback. I tried and it didn't work. below is the FCC i have in sender adapter
    RecordSetName      =   RecordSet
    RecordSetStructure =    Dummy,*
    Dummy.fieldNames   =  Record
    Dummy.endSeparator = 'nl'
    Dummy.missingLastfields  = add
    Dummy.ignoreRecordsetName = true
    Dummy.fieldSeparator = 'nl'   and also I tried with Dummy.fieldFixedLengths = 255  .
    Still I don't get the empty tag for the blank line in the file, so my output is still same . Please note the blank line doesn't have a space so if I place the cursor and move to next in blank line it will go to next line ( Carriage return and line feed).
    Please suggest .

  • Sender File adapter : Alert are possible.

    Dear All
    i had a Scenario of <u>file to jdbc</u>.I am using FCC(content conversion ) at sender file adapter.
    <b>if the file is not having proper text field,or if its's blank file...
    i want to generate an alert..</b>
    while testing with a blank file , my file sender adapter is giving the error but their are no alert...
    even in alert rule , i had specified file adapter ,Sender/Receive interface also
    Rsalerttest : working properly.
    Rsalertdisp : no dump for sender file adapter error
    <u>for mapping error my other alert rule are woking and generating the alert sucessfully</u>.. for the same interface
    any guess where could be the error..
    Regards
    Ajay Pant
    null
    Message was edited by:
            ajay pant

    HI,
    For alert configuration see the belowlinks,.But in your case if the send message having the empty fields, we can handle this in FCC parameters
    xml.fieldoptional = yes
    Parameter NameA.fieldFixedLengths defined.
    &#9675;       If the inbound structure contains more fields than in NameA.fieldNames or NameA.fieldFixedLengths the conversion is executed.
    Additional fields in the structure are ignored.
    &#9675;       If the inbound structure contains less fields than specified in NameA.fieldNames, conversion is terminated with an error message.
    If the last field only is shorter than defined or is missing completely, the conversion is executed. The contents of the last field are then applied to the XML element as found. Consequently, the value can be incomplete or empty.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    for CCMS
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts - 1
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts -- 2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3
    Chilla

  • Sender File Adapter always "Polling interval started" without complete

    Hi,
    I have problem with sender file adapter suddenlty the status from Communication Channel Log monitoring always with polling started without completed.
    4/25/11 11:40:33 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:23 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:13 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:40:03 AM   Polling interval started. Length: 10.0 seconds
    Normal :
    4/25/11 11:41:50 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:41:50 AM   Processing finished successfully
    4/25/11 11:41:50 AM   Processing started
    4/25/11 11:41:40 AM   Polling interval started. Length: 10.0 seconds
    4/25/11 11:41:40 AM   Processing finished successfully
    4/25/11 11:41:40 AM   Processing started
    I have tried to stop and start the channel but still no luck. This problem only happen for this particular communication channel others channel is working fine.
    Please advise other solution before i need to restart the java engine since this in the production environment. The problem is some of the process was delayed because this issue. CC was delayed to pickup the file.
    Thank You in advance.
    FL

    Hi Abhistek,
    Thank you for your correction. It was typo.
    Which assumption is correct ?
    1. All 3 instance running together in the same time ?  or
    2. Either 1 of the instance running once time manage by clustering setting.
    Example :
    15:01:00   ---> A
    15:02:00  -
    > A
    15:03:00  -
    > B
    15:04:00   -
    > B
    Currently :
    15:01:00   -
    > A    
    15:01:00   -
    > B (lock)
    15:02:00  -
    > A
    15:02:00  -
    > B (lock)
    It seems all 3 instance lose control from clustering ?
    Regards
    FL

  • Sender File Adapter - Restrict number of file polled at each poll interval

    Hi all,
    PI  7.0 SPS16.
    We would like to know whether it is possible to configure a sender file adapter (file conversion mode) in order to restrain the number of file taken at each poll interval and if yes how ?
    Thanks for your future answers.
    Jean-Charles

    Hi Jean
    Standard adapter do not provide functionality to take an input like number of files to be taken at poll interval. But using adapter module you can achieve this.
    SAP PI is having the function to set poll timings and scheduling. You can write adapter module and execute this module using File adapter type communication channel before the standard bean and you can restrict the number of files.
    Check the link given above as well as this How to Guide
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Thanks
    Gaurav

  • Sender file adapter not polling the file

    hi all,
    i have configured a filexifile scenario....
    but the file sender adapter is not polling the file at all....
    i dont c any message either in RWB or in SXMB_MONI
    i checked the adapter framework url at <i>http://<ximachine>;<port>/AdapterFramework</i>....and the status for the file adapter is green...
    but the message it gives there is
    <i>Sender Adapter v1014 for Party '', Service 'TASL_FILE_SENDER':
    Configured at 03:07:24 2006-02-02
    Up and running - no message processing until now
      last poll interval started 04:01:24 2006-02-02
      length 60,000 secs</i>
    y is the sender adapter not polling the file..
    i am using NFS as my File System....i gave the source directory as <i>d:/test_dir/</i>
    is this way of specifying the source directory on a windows machine correct...
    thanks
    pavan

    There is probably something wrong with the File Adapter.  You will need to go to the RunTime Workbench >> Component Monitoring >> Display >> Click on the Adapter Engine >> More information will display and click on the button 'Adapter Monitoring' >> A new window will display and click on the arrow next to your adapter engine.  This displays a list of adapters running on your system.  Green light means good; Red, you have a configuration problem.  Look at the error and try and resolve it.

Maybe you are looking for

  • Airport Express Upgrade (802.11n - wireless n)?

    Does anyone know if Apple plans to upgrade airport express from 802.11g to 802.11n? If so, when. I am not sure if I want to purchase the current version if I know a wireless "n" version is on the way. MacBook Pro   Mac OS X (10.4.6)   1.83Ghz Intel C

  • Smartform output printing character 'u0080' wrongly as '#'

    Hi All, I am trying to show this text "SAS au Capital Social 40.000 €" , reading from LFA1-TELX1 field on my smartform output. But it the last character € is showing wrongly as #. Could any one has idea of this problem ? Thanks in advance. Thank you,

  • Text descenders along with moire patterns

    Photoshop CS2 Microsoft came by with a Vista auto update 10/28 and screwed things up (again). Now the bottoms of all the text on Photoshop CS2@ "file info" is gone. Also, my screen has moire "ripples" (non-moving) on many of the photo displays. The t

  • CC2014 programs to open automatically as the default?

    I have CS6 and CC2014 suites installed. CS6 opens by default. How can I set CC2014 programs to open automatically as the default?

  • Need sql statement

    Hi, My requirement emp_table---table name ename empno ram 1 sham 2 using this select statemnt select * from emp_table where empno in (1,1) But it shows only one entry that is ename empno ram 1 But i wnat to get the output in this format ename empno r