Sender File Adapter should run only when trigger file is found PI 7.1

I am using PI 7.1 . I have a File Sender Adapter communication channel that needs to poll for a trigger file - input.trg  . Only If that is found then it needs to pick up the actual data file -  input.dat   .  The Transport Protocol is  FTP not NFS, so I cannot use standard features like   'Addtional Files'. 
Is there any other workaround for this ? OS Commands etc?
I have also read that I can use BPM for this . Could anyone help me out with the steps and if you have any good blog on BPM.
Thanks !

Hi Dev,
You can use BPM for this. The steps benig
1. Fork with two receive step (one for trigger file and one for dat) . The end condition of fork is when both brach is completed.
2. transformation step
3. send step
you can use a dummy correlation between the two input files (trigger and dat input file)..
Regards
Suraj

Similar Messages

  • Sender file communication channel polling only when the file is written

    Hi guys,
    I have the following scenario:
    I have developed an XI interface that takes a .txt file from SAP R/3's file system, usr/sap/trans/ and delivers it into another ftp location. The problem that we face is that the file is written into source directory from an ABAP program. As a result, XI go and polls into source directory when the file is not completely written, or when it is empty, which blocks the process.
    Is there a way to force XI in order to poll the source directory only when the file is complete?
    We have thought of exporting the file into a name that XI does not expect and as soon as the file is complete to rename the file from inside ABAP program into what XI expects.
    However, the command inside ABAP changed the Code page of the file and we cannot see some special characters in the file that is delivered to the ftp location.
    Any ideas??

    Hi Evaggelos,
    from <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">SAP help: Configuring the Sender File/FTP Adapter</a>:
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
    &#9679;      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed
    Regards,
    Udo

  • 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

  • File adapter should pick a single file at a time

    Hi,
        I have File to RFC scenario.. in my source directory  I'm getting bunch of files with  the same name.  at a time.. but  i want to pick the one by one only. that means.. my file adapater poll interval is 30 seconds.. every 30 seconds it will pick the one file.. even though there are multiple files.. but my file adapter should pick a single file ata time..
    but at present my file adapater was picking all the files ata time..  but i want to make my file adapter should pick single file ata time..
    for this.. any special  configuration we need to do..  or  any  ideas or suggestion  .. will be.. appriciated..
    regards
    Babu

    >>any special configuration we need to do..
    there is no default configuration to achieve this functionality.
    I speculate that any of this should work.
    1. Post the files to a intermediate directory and use a SCRIPT/Batch program to move only one file at a time frame to the source directory.
    2. Uncheck the option Process Read only files in the sender CC to prevent the file adapter to pick the read only files. Use a script that changes the permission of one file at a time so that the file adapter will pick that file alone.
    In both the cases the script needs to be scheduled at the OS level to run every 30 seconds.
    Thanks
    SaNv....

  • File adapter - how to make shure a file is complete for sender/receiver?

    Hi everybody,
    I want to use the file adapter and a question arises for both sender and
    receiver:
    On the sender: How does the PI know when a file is complete for reading?
    Can this be a problem (PI starts reading the file when it is not complete?)
    On the receiver: How does the receiver know when a file written by
    PI is complete? Does PI support some kind of write to tmpfile then rename
    schema?
    Thanks for any suggestions
    Best regards
    Stefan

    Hi Stefan,
    On the sender: How does the PI know when a file is complete for reading?
    Can this be a problem (PI starts reading the file when it is not complete?)
    Yes, it could be a problem: Have a look at below from help.sap
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.
    ●      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
    This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.
    This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
    Regards,
    Carlos

  • How to set password for a zip file and should be checked when reading that

    Hi friends,
    how to set password for a zip file and should be checked when reading that file???
    thanks.
    Praveen Reddy.J

    Heyy man, i think, u did not get my problem.
    all i have to do is:
    i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
    Tanks for reply.

  • The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The Acrobat 9.x product family passed into "End of Support" mid-year of 2013.
    Acrobat 9 support of MS Project via PDFMaker stops with Office 2007.
    For Office 2013 support you must use Acrobat XI (11.0.1) or newer. 
    A good to have reference:
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat Pro and Standard DC are what are currently available for purchase. 
    Be well...

  • File Adapter gets error while deleting the file

    Hi,
    We are running on PI 7.0 SP6. I built a simple integration scenario where a file is picked up from a certain directory on the server (PI server itself) and get processed according to some mapping rules and again put to an other directory. I used the file adapter for picking and putting the file with 2 different communication channels.
    My integration works fine. File is picked up processed and put into its new location.
    But the file adapter cannot work in archiving or deletion mode. So the file (to be picked up by PI) remains in its original location.
    I am getting the following error:
    Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File##com.sap.aii.adapter.file.File2XI.deleteFile(FileHandle)#J2EE_GUEST#0####18a971f3338011dbcde800145e69a8d4#XI AF File2XI[:EBI:File_from_EBI_to_EXS]##0#0#Error#1#com.sap.aii.adapter.file.File2XI#Java###Deleting of file failed - cannot proceed#1#E:
    SCENARIOS
    EBITOEXS
    RFID
    GELEN
    tagdata22082006035719.xml#
    #1.5#00145E69A8D4005B0000004700000A6400041BC49A1D56D3#1156431120046#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File##com.sap.aii.adapter.file.File2XI.processFileList()#J2EE_GUEST#0####18a971f3338011dbcde800145e69a8d4#XI AF File2XI[:EBI:File_from_EBI_to_EXS]##0#0#Error#1#com.sap.aii.adapter.file.File2XI#Plain###File 'E:
    SCENARIOS
    EBITOEXS
    RFID
    GELEN
    tagdata22082006035719.xml' - deleting after processing failed - retry#
    I tried everything but upgrading to a higher SP level and will do so unless anyone has an other suggestion.
    Thanks a lot,
    Murat Gölcü
    [email protected]

    Hi,
    These are a few things you can do:
    Check the permissions of the folder where the file is being Placed. (it will mostly have only read permission, this is what i could understand from your explanation)
    If you are doing Content conversion, please can you just remove it and see if the XML file is getting generated.
    Also, please check if it's picked up by any other application when you place it on the server.
    Regards,
    Abhy

  • File adapter didn't read the whole file

    Hi folks,
    we use the file adapter since 1 year and in the majority of cases it works fine. But sometimes the file adapter didn't read the whole file. In SAP we are missing some parts. Funnily enough in this cases he archive the whole file and not only the executed parts . Know anybody whats the reason of this effect and how we can solve it?
    Kind regards Johann M.

    Johann
    I think you miss understood me/I didn;t explain myself very well....
    If you take the file that doesn't work/process correctly, can you replicate the issue where the whole file is not copied across.
    If you can, you should be able to extend the FTP/File adapter trace file to find the cause if this issue.
    Log onto Visual Admin.
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
    &#61680;     Root Location > com > sap > aii > File
    &#61680;     Set the severity and choose Copy Severity to Subtree
    Run interface and then check the trace file - remember to switch this back to Error...

  • File Adapter: Is it possible to track files?

    Hello XI community,
    I've a scenario where the sender and receiver is the file adapter using NFS. When XI picks up the inbound file from a certain directory with a wildcard name like "T_xxx*" is there any chance to see the original name? In addition I'd like to know how to find out the relationship between the inbound filename and the outbound name which is actually created from the file adapter like "xxxxx_timestamp.xxx". The files I'm using are binaries so I don't use the file content in anyway. They are just passed through XI. But I'd like to track the files to be able to know which input file belongs to which output file. Maybe some of you know where to see this.
    Thanks in advance
    /Michael

    Hi once emore:
    take a look at this document:
    https://websmp201.sap-ag.de/nw-howtoguides
    -> exchange infrastructure -> how to Create Modules for the J2EE Adapter Engine
    it may help you:)
    Regards,
    michal

  • I have difficulty pasting text into the file name field(prefix only) while saving files.

    OS: WinXP sp3
    FF: 3.6.3
    I have difficulty pasting text into the file name field (prefix only) while saving files. example: File name is Pic123.jpg and I want to rename it ABC123.jpg and I have ABC loaded into the WinXPsp3 clipboard. When I highlight\right-click\delete "Pic" then attempt to paste the ABC, I get either no reaction, or upon multiple paste attempts, the ABC is appended to the end of the file, after the extension, as "Pic123.jpgABC". If I delete this unwanted suffix, or repeat the process several times, eventually I can delete the unwanted portion of the prefix and paste the desired text. Sometimes it works fine first try, but mostly it takes several tries. I'm using Firefox 3.6.3 but the problem existed in whatever previous version I had too. This issue only occurs when using the delete/paste; I can always manually change the name by typing. Thank you for your help.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    A possible cause is that the server sends a wrong response header.
    The server may not comply to RFC 5987 and sends a wrong Content-Disposition:attachment; filename header.
    * https://developer.mozilla.org/en/Firefox_8_for_developers#Network

  • File.exists() returns false even when the file exists

    hi,
    the exists() function of java.io.File function returns false even when the file exists on the file system. why is this? i checked the path of the file which gives me the correct path, but exists returns false. can anyone help?

    post some of the code you�re using - then maybe I can help you out
    //Anders

  • Can't save the illustration.  The file may be read only, or the file is in use by another applicatio

    Getting error "Can't save the illustration.  The file may be read only, or the file is in use by another application."  The file is not read only and is not in use by another application.

    The same thing may happen in Windows Explorer, specifically if it is a very big file (physical size), so preparing the preview may take a lot of time.
    In that case it is used by "another application", that is: Explorer.
    By the way, which version of Illustrator are you using, Tetons?

  • Sender File Adapter - Not Running

    Hi,
    I have developed a very simple scenario which uses the File adapter within the sender communication channel. I have done this sort of thing before and it always worked as expected. All that should happen is the file is picked up via FTP and turned to XML using Content Conversion. Easy stuff.
    However, the adapter never appears to run. If an FTP adapter finds a file then you will see an entry in SXI_MONI. If an FTP adapter doesn't find a file then you see nothing. At the moment I am seeing nothing. However, I should be seeing something because all of my Connection/Access parameters are correct. There is a file there but it's not picking it up.
    The question I have is this. Is there somewhere in SAP that I can see the adapter attempting to run. As the adapter polls every 60 seconds to see if a file is in place then surely this poll is logged somewhere in SAP. I would like to find out if the adapter simply isn't running at all or it is and is having issues. Only way to do this is to find a log/screen in SAP which details the adapter polling the sending server. Is this possible ?
    Cheers,
    PaulC.
    Edited by: paul clements on Jun 9, 2011 12:58 PM

    ●      You have started the Runtime Workbench, are in component monitoring, and have selected an Adapter Engine as your component.
    ●      On the Status tab page, you have chosen Communication Channel Monitoring to call the communication channel monitor.
    Regards
    Pothana

  • File Adapter Issue: Not functioning when used with BIC user modules

    Hi! ALL
    We have been experiencing issue with file adapter, when we SeeBurger BIC user modules in sender file - FTP communication channel.
    The regular FTP functionality is working fine if do not have BIC user modules defined under the module tab.However, when put in BIC user module parameters it is not picking up the file.
    Also, we do not see any error logs; even the communication channel monitoring does not show any error log....only show the polling interval success, without the file being picked up.
    This issue started appearing once we deployed our new sda file....as we changed our BIC mapping.
    We can try doing back to our previous sda file....to see it fixes the problem.
    But, before doing that ....we would like to know where the cause of this issue....Can you point us to any error logs we can find on the PI server.
    Your help is greatly appreciated!!
    Thank you,
    Patrick.

    If you configured your logging correctly you should find in the log folders
    ./applications/com.seeburger.jucon/
    ./applications/com.seeburger.bicxiadapter/
    Try to scan those for recent errors - if the no log files can be found you should check the defaultTrace.

Maybe you are looking for

  • Export tables in custom function module

    I am creating a custom function module and want to return a table of contacts i_contacts. In the global data area I created a structure TYPES: BEGIN OF t_contacts,           prsnr       TYPE knvk-prsnr,           contactinfo TYPE adr6-smtp_addr,     

  • Aperture Thumbnails

    Hi All. After upgrading to 2.0 I'm not seeing thumbnails in about 80% of my pictures. I just see an empty box with an outline of where the thumbnail should be. This occurs with both my Mac Pro and my MacBook Pro using an external hard drive as the Ap

  • IPhoto Book "Unable to verify credit card information please try again"

    Can anyone please help me? When trying to order an iPhoto book I keep getting the following message: "Unable to verify credit card information please try again" -One click ordering is enabled Would appreciate someones help on this.

  • Problem in using Office Control to launch ms word

    Hi Armin,                What u said is right, but the data type of both the attributes in view context and controller context are same (binary). I had placed all the code in component controller only and trying to assign the Byte array to controller

  • How do I fix this bookmarks display glitch?

    I'm using Acrobat 9 Pro (9.5.5) on a Mac (10.9.4) and the bookmarks in all of my PDFs have a glitch that makes them unusable. The content is still there, but there is an inordinate amount of space between each marker. Examples of this can be seen on