In Sender File Adapter hw to creat a temp file in srce fldr aftr msg proces

Hi All,
I have a scenario where I am having sender File Adapter(NFS), the steps are like this
1. The input file needs to be processed and get archived with the same name in archive folder.
2. After file get processed I have to generate the blank file with abc.done in source folder
Kindly help me the configuration steps that needs to be carried out in creating the Sender File channel for creating abc.done file after message processing.
Thanks in advance
Harish

That can be done easily with an OS command.
When your PI runs on Windows server, you can use:
cd\ >
<path> \abc.done

Similar Messages

  • 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

  • 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

  • I have file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Ac

    I have pdf file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Acrobat X Pro and Windows -7 platform.

    Yes, I just want to cover up all the pages for those particular area of document numbers.
    Nothing sensitive about it. I just want to show the correct document numbers on all pages in print out.
    So, I wanted to cover up by comments, but commenting on each page will be difficult. So, I wanted to comment the same on all pages.

  • File Adapter does not process the same file twice

    SOA: 11.1.1.4 (non-HA).
    I have a file adapter that triggers when a new file gets to a directory; the file is not deleted after the process triggers.
    The process is supposed to call other services via a mediator and if any remote fault happens it should rollback automatically and re-trigger with the same file at the next polling interval.
    I have literally 3 scenarios:
    1). The file gets picked up once, the process fails and the file is never picked up again.
    Msg in log: The file : /xx/xx/xx/abc.xml is being ignored as it has already been processed
    2). If the mediator only routes to one service after the file gets picked up, it works as expect (that is rollback and restart at the next polling interval). If it has more than one sequential routing rule, I see the same error as above.
    3). File does not get picked up EVEN if I "touch" or rename the file.
    Msg in Log:
    File Adapter ProcessName Poller enqueuing file for processing :/xx/xx/xx/abc.xml
    File Adapter ProcessName Ignoring File : abc.xml as it is already enqued for processing.
    I have already checked, there is no permission issue.
    This is what my .jca file looks like:
    <adapter-config name="getFile" adapter="File Adapter" wsdlLocation="getFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FileAdapter" UIincludeWildcard="*"/>
    <endpoint-activation portType="Read_ptt" operation="Read">
    <activation-spec className="oracle.tip.adapter.file.inbound.ScalableFileActivationSpec">
    <property name="DeleteFile" value="false"/>
    <property name="MinimumAge" value="5"/>
    <property name="SingleThreadModel" value="true"/>
    <property name="PhysicalDirectory" value="/xx/xx"/>
    <property name="Recursive" value="false"/>
    <property name="PollingFrequency" value="20"/>
    <property name="IncludeFiles" value=".*"/>
    <property name="UseHeaders" value="true"/>
    <property name="MaxRaiseSize" value="5"/>
    <property name="ListSorter" value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Thanks for looking into it in advance.
    Any help with the error messages will be appreciated.

    You have to use MOVE operation, if there is any remote exception occured, then move the file to someother folder and again move back to the same folder where the file pickup will start.
    In that way you will be use the same file picked up next time when the polling happens.
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Vijay

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

  • Error Installing/Uninstalling iTunes - Can't create a temp file

    I have tried to upgrade to 8.0.2 and I am having some problems. I have tried to do this several times (after reboots, etc...etc..) and i keep getting a message that says itunes cannot create a temp file that it needs to finish the installation process. I have actually tried to uninstall itunes and i get the same message.... now when i open it - i get an error message that itunes cannot access cd information from the net and that i have to reinstall itunes to fix the problem. Any thoughts?

    Which version of PSE you are on?
    Please try the troubleshooting steps mentioned here : http://kb2.adobe.com/cps/408/kb408940.html
    As a first step, you can try running Organizer directly from its exe in c:\program files or program files x86\adobe\elements organizer Ver\PhotoshopElementsOrganizer.exe by right clicking it >> run as Admin. Now try taking slideshow output. Keep all background processes turned off from Edit >> Pref >> Media Analysis, while taking output.
    Thanks
    Andaleeb

  • I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not enough space?

    I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not there is not enough space for both files files? Do I need to do something to have it continue to update my old file instead of recreating a new one?

    Depending on what version of OSX you're running, and how the data was transferred, you may be out of luck.
    If you're running Lion, and your backups were made to a directly-connected external HD (ie, not a Time Capsule or other network location), you may be able to get Time Machine to "associate" the new disk with the old backups.  See #B6 in Time Machine - Troubleshooting, especially the pink box there.
    If you're running Snow Leopard, you might be able to do a full system restore of your backups to the new HD.  See Time Machine - Frequently Asked Question #14 for detailed instructions.  That should leave a "trail" that Time Machine can follow to "associate" the new drive with the old backups.  Unfortunately, that doesn't always work, and there's no way to do it manually, as there is with Lion.

  • 11g SOA with AIA suddenly creates huge temp files(sar files)!!

    Hi All,
    One of our clients that is on 11g SOA with AIA, the team observed while deploying applications, that it suddenly creates huge temp files(sar files) and the server slows down and then shuts down, has anyone seen such behavior or possible reasons?
    If anyone could share such prior experience would be apreciated!
    Thanks for your time!
    Regards,

    Hi Ajay,
    Could you check the managed server logs on the server you are deploying to? I prefer the soa_server1.out file if its available. Hopefully there is something more telling on that side.
    My gut feeling is that there is a schema required by the ProcessFulfillmentOrderBillingBRMCommsAddSubProcess process has not been deployed (which sometimes happens with this PIP in particular).

  • Sender file adapter to pick up only 2 files at a time

    Hi ,
    I need to configure my sender file adapter in a way so that it picks up only 2 files at a time even though at FTP more files are placed.
    Mudit Mehra

    Hi,
    As said above there is no such option to pick only 2 files at a time, however if possible you can create files in the sender/source directory in a manner that only two files are created at a time.
    Thanks!

  • Using sender file adapter to read the most current file

    Hi,
    in my sender file adapter , i have to read the latest file- all files in  the source directory are named as <filename><timestamp>.txt . I need to read the file with the latest timestamp (i.e. the most current file )
    How do i configure this using file adapter.
    thanks

    Hi Sreeram,
    thanks for the answer- but i found that the option can only be used with NFS transport protocol. what if i am using FTP ?
    alos, by date option means- files are processed according to their time stamp in the file system, starting with the oldest file.
    However in my case i only want to read the latest file and ignore the older files.
    Thanks

  • Sender FTP Adapter, text mode should convert source file?

    Hi !
    We have a Unix file system where systems and people drop files to be captured by XI. XI runs also on another Unix system.
    We configured the Sender FTP comm channel from XI to use the TEXT mode, to have converted the captured file to Unix TEXT (eol = 0x0A), no matter the format of the file used to transfer the source file to the XI polling folder.
    But we noticed that TEXT or BINARY modes in sender FTP adapter works all the same, like binary.
    What are we doing wrong?
    Thanks,
    Matias

    No. to see the difference put a gif and give txt in file adapter you will get an error for the same file u use binary it works.
    their is difference b/w these . if you use special characters like european then you need to use UTF-8 or UTF-16 or bigInidan  if it is binary then you output will junk charaters for these sysmobls
    Message was edited by:
            Sreeram Reddy

  • 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

  • File adapter fails to pickup the complete file

    Hi Guys,
    I have a file to idoc scenario configured.
    Sender is an FTP server and the file type is XML
    Here are the details of my file adapter
    FTP Connection parameters,
    Connect Mode      : Permanently
    Transfer Mode     : Binary
    Processing parameters,
    QoS     : Exactly Once
    Poll Interval     : 15 secs
    Processing Mode     : Archive
    Most of the time my scenario works perfectly fine.
    And sometimes my file adapter fails to pickup the complete xml file and my scenario fails.
    The file is read partially and my mapping throws an error.
    Am i missing any parameter to be set in File adapter???
    Thanks in Advance,
    BBnu

    >>The file is read partially and my mapping throws an error.
    Thats the normal behaviour of XI,if you get a partial file,you will get a error message.
    There are several work arounds for this,first of all have a script independant of XI which is running on FTP server,this script will keep on checking for modifications in file and once the file is completely written,it will rename the file to some other extension(for e.g .dat) and XI file adapter will only pick .dat file,this will make sure that only complete files are picked up.
    Second option is to have a tag all the way in the end of XML which says EOF(of any other character),in your mesage mappin create the root node of target only if this last tag is EOF.Since in incomplete file you will not have this last tag,message processing will stop.
    Thanx
    Aamir

  • Receiver file adapter posts multiples for singel source files

    Hi,
    I am using wild character in my input source ftp adapter but my receiver file adapter is creating multiple duplicate files. I am not sure why this happens as QOS is set to "Exactly Once" with archive processing mode. I tried with delete mode and the same error occurs. We had no problems testing it in our Dev environment but in QA its acting so strangely...Any advise is appreciated..
    -Teresa

    Hi,
    2. Homany files you posted at oubound directory?
    1.             You said duplicate files at receiver side, is the files having time stamp? if so those are not duplicate files.
    Thanks,
    Satish.

Maybe you are looking for