Sender file adapter, file existence check in archive folder if exists rename the same and proceed with current file

Dear SAP Gurus
Interface flow:
File --> File and RFC.
We have a requirment where PI needs to check the file existency in archive folder and if there is a file already exists with same name we need to rename that file and archive the current file as is...
Note* Customer don't want to add time stamp!!!!
For ex today first message processed with file name "UBMO_delta20140626.xml" and archived as is- UBMO_delta20140626.xml
and customer sends a second file on the same day with same name(UBMO_delta20140626.xml) in this case before archiving PI needs to check whether there is a file exists already in archive folder or not if there is, then it should rename the same like(UBMO_delta20140626_1.xml) and proceed with current message processing and archive the same name(UBMO_delta20140626.xml).
Many Thanks in advance...
Nagesh

Hi Nagesh,
I think you can use the feature of run operating system command before message processing. you can refer the below wiki for information.
SAP XI File Adapter OS Command Line Feature - Process Integration - SCN Wiki
regards,
Harish

Similar Messages

  • Is there a way to block Firefox from closing while files are downloading? I don't want to accidentally quit the program and cut off current downloads.

    Basically, I was downloading a game from Game Agent and I accidentally quit Firefox. This stopped the download and I was not allowed to resume it, forcing me to spend $30 to buy the same game AGAIN to get a new download file. Is there a way to add a warning box to Firefox that says something like: "Are you sure you want to quit Firefox? Files are downloading" when I try to quit?

    Untested, but according to http://www.phil.im/2011/04/27/how-to-enable-firefox-download-warning-on-quit/ set browser.download.manager.quitBehavior to 2 in about:config

  • I removed 1 old profile to the d'top, rel. TB, found that it doesn't work so file back to orig. loc. but TB lost e'thing all the same. I still have file. HELP

    Hi, I had 5-6 mailboxes and only wanted to delete the oldest one as I no longer need it. In hindsight this seems to have been the main one as it was the first I installed. Anyway - I thought I had found the solution to getting rid of this mail box as I found it in Thunderbird Profiles where there were two - "pyw8ekrg.default" & "xmw6e2m7.default". I first put "pw8ekrg.default" the bin and then thought better not and so put it back on my desk top. When I relaunched TB I had lost all my inboxes and all my files and e-mails. I thought I would just put the "pw8ekrg.default" back into Profieles and that would solve the problem but even a relaunch of my mac didn't resolve the problem and so I have no longer got access to the folders or any of the mails. in TB. I can of course re-install the mail accounts but will only get a small amout of all the e-mails back. I've tried getting it back via the timecapsule back-up but this didn't help either.
    PLEASE can you help me put my TB back to what it was this morning? Thank you. T

    follow these instructions to tell the program where it's profile is stored. http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird

  • HT203167 i downloaded the latest update ios 7.0.4 and update my iphone 5, but to my surprise i couldnt locate the downloaded file on itunes and i've also checked my itunes folder, still cant see the file. pls anybody who can help.

    i downloaded the latest update ios 7.0.4 and update my iphone 5, but to my surprise i couldnt locate the downloaded file on itunes and i've also checked my itunes folder, still cant see the file. pls anybody who can help.

    The downloaded file is probably stored at C:\Users\<User>\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates. In general it is probably best to "download and install" updates than download and then install later. Note that you cannot revert to the older firmware if you don't like the update, even if you have the old .ipsw files.
    tt2

  • My IPod no longer shuffles songs within playlists that are clearly set to shuffle.  It is about 3/4 full so I thought of maybe compressing the files to get more space.  Do you think that is the problem and if that might help?

    My IPod no longer shuffles songs within playlists that are clearly set to shuffle.  It is about 3/4 full so I thought of maybe compressing the files to get more space.  Do you think that is the problem and if that might help?

    Storage space on the iPod would not affect shuffled playlists or playlist shuffling, though substantially full iPods may wind up skipping songs on larger playlists after a while, and require a restart.  As for compressing the files themselves, you can automatically re-encode files to a lower bitrate by checking the box on the summary page when your iPod is connected to your PC/Mac.
    As for the shuffle problem, after restarting your iPod (hold the center button and Menu for a few seconds, until the Apple logo appears), make sure you're telling the iPod to shuffle the songs in a playlist by repeatedly clicking the center button until the Suffle Menu comes up, then scroll to the right to turn it on.  From that song forward, the playlists' contents should be shuffled every time the playlist ends, or is accessed from a new song.
    Shuffle does sometimes turn itself off, I've found, so double-check the setting is still on.  Also, iPods shuffle by randomly assigning a playlist order for your songs, which is different from traditional shuffle (on, say, iTunes or Windows Media Player, where the new song is determined at random upon the current track ending.  The iPod only chooses a random order of songs when you shuffle, to conserve battery life and queue up songs coming up on the playlist in the event of a shock).

  • How do I eliminate the use and creation of big files in the profile - places.sqlite, urlclassifier3.sqlite, places.sqlite-wal?

    I want to eliminate the use and creation of big files in the profile - places.sqlite (10MB), urlclassifier3.sqlite (5MB), places.sqlite-wal (1MB)?
    Ffor urlclassifier, I tried disabling safebrowsing options (in security menu or in about:config), but file remains. Also if deleted it is still re-created with 5 MB.

    Start at http://www.mozilla.com and download the latest
    version. '''At the completion of the download don't let the setup start Firefox for you, when the setup ends, start Firefox in your normal manner this way you will be less likely to create a new profile.'''
    The extra startup pages are temporary -- read them. The next time
    Firefox comes up you should be back to starting with your normal home page.
    '''Note: Firefox must be down once the install starts. '''
    Close Firefox with File>Exit. Then make sure Firefox is not running --
    On Windows: check the "Processes" tab in the Windows Task Manager.
    '''On Mac: Firefox > Quit then Command+option+Esc, if Firefox running use Force quit'''
    Permission errors on Mac:
    '''If you were getting permission errors on a Mac, download the latest
    Firefox version, then uninstall and reinstall Firefox. Do not remove
    your profile directories and files as they contain your settings,
    bookmarks, history, extensions, passwords, and cookies.'''
    in any case once you are on 4.0 you might want to take a look at "(fx4)"
    * Fx4: Firefox 4.0 Problems and Orientation (#fx4) <br>http://dmcritchie.mvps.org/firefox/firefox-problems#fx4

  • I want to download an invoice template. How can I then fill in the template and place in a file?

    I want to download a template of an invoice. How can I then fill in the template and create a separate file?

    template in Word format? Excel? PDF? a little more information please.

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • HT203180 I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully.

    I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully. Also while watching the same episode on my laptop (Mac Book Pro) it freezes.

    I had this same message appear today when i was putting new music on my ipod touch 4th gen. The only difference is that I wasnt using an external drive. I was using the one on my computer. This is the first time i have had this problem

  • Disk Repair notified me it could not repair the HD.  Iam to reformat the disk and restore backed up files.  OS Utilities give me a "Restore From Time Machine Backup" option.  I have not reformatted the disk;  does this restore option do both?

    Disk Repair reported that it could not repair the HD Disk.  I am to reformat the disk and restore backed up files. OSX Utilities give me a choice of restoring from time machine backup (which I have on MyPassport) but no information on reformatting the disk, which I assume I have to do first.  How do I reformat the HD ...or does the restore from Time Machine do both things?

    Boot OS X Recovery and use Disk Utility.
    If Disk Utility reported the disk cannot be repaired though, you should replace it with a new one.

  • Ability to process several raw files with the same content but with different exposure into the single picture

    Can you add to the Lightroom an ability to process several raw files with the same content but with different exposure into the single picture?
    Base raw files can be given with exposure bracketing during shooting, for example.
    The goal - to get maximum details in darks and lights (if we use the "ligths recovery" or "fill lights" we lose the quality because raw file just have no all required information).
    The similar (but not the same, only the idea) thing - is High Dynamic Range Photography in Adobe Photoshop
    Thank you

    The plugin LR/Enfuse does this already. And of course Photomatix have a plugin available for Lightroom. This essentially amounts to pixel editing, which is beyond the range of Lightroom's metadata editing.

  • Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  Sy

    Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  System Library/Application Support/Adobe.  Any ideas?  I only have 16 days left on the trial and have been unable to get it to work on my Macbook Pro.  This is all I am seeing after Lightroom opens.  Thanks!

    Thanks to both of you for attempting to help.  I finally figured out what was wrong . . . it was a Permissions problem.  Very frustrating, but after scouring the troubleshooting tips I finally found the one that solved my problem.  I had to add a User and give it Read/Write privileges to Lightroom.  The file I had to add the User to was Hidden on my Mac, so that added an even bigger challenge to the mystery.  Only a few days left on my trial version!  I hope I have time to try it out!

  • 'File in Use' message is received when one user is in the report and another user tries to open the Excel template

    ‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?

    Hi Febin,
    In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
    edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
    can then enter the information for their projects in the same workbook.
    Regarding how to do this,
     the following article can be referred to reference.
    Use a shared workbook to collaborate
    http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Best regards,
    Frank Shen

  • I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of so

    I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of something like .mov or mp4.  How can I change the extension after the fact and avoid it in the future?

    You said, "the 4 also has signal and wifi whereas the 5 has only wifi". By "signal", I'm assuing that you mean cellular signal. If so, that means your iPhone 4 is still active on your cellular number and your iPhone 5 is not. Contact your carrier to sort out which phone is active on your account.

  • I have trimmed some R3D flies in Premier Pro and I want to export the trimmed versions in full res to my hard drive, i.e. I want to export the files so that they end up on my hard drive in the same native format. I don't see an option for this in Premier

    I have trimmed some R3D flies in Premier Pro and I want to export the trimmed versions in full res to my hard drive, i.e. I want to export the files so that they end up on my hard drive in the same native format. I don’t see an option for this in Premier Pro when I go to export. Any help would be appreciated. Thanks!Premiere Pro

    Aperture has the ability to work with files in their existing location. They are called "referenced masters." When you import images, you should select the "In their current location" in the "Store Files:" drop down box. Have a read of the documentation for full specifics. Unsure how you can resolve your duplication; might be some work but next time have a read of the manual first
    Information for versions is stored in the Aperture database (library file). The masters can be inside the library file itself, or they can be somewhere else.

Maybe you are looking for