Duplicate File name check

Hi, 
       I need to check whether the incoming file is already processed or not. The files are been placed on XI server. If the file with same file name comes then i dont want to process it. I am polling for files on xi server using file adapter.
regards,
Miten

Hi,
You can check the file name using the lookup. Maintain the table at R3 end, Send the file name at the R3 end and for the first time u update the entry of file name in R3 table.
Now when second time ur scenario runs then send the file name to R3, in the FM check the file name with the file name which is maintained in the table if its not the same then update the table with the new file name and if it is same then pass the false value to XI and it will suppress the root node in message mapping.
If file name is different then pass true value to XI and generate the Root node.
Lookup:
Lookup method from GUI mapping can be called using any of the following ways.
•     RFC lookup using JCO (without communication channel)
      /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
•     RFC lookup with communication channel.
                 /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
The steps are as follows:
•     Develop and test ABAP function module.
•     Develop and test Java method within Integration Repository/message mapping tool.
Thnx
Chirag

Similar Messages

  • When I plug in my ipod it comes up with an error saying, "ipod "Skye" cannot be synced, duplicate file name specified." it wont let me put any songs on my ipod? Help!

    my computer deleted all of my songs off my ipod one time with i unplugged it, i think i unplugged it too soon and it wasn't finished ejecting. now every time i plug it in it gives me an error saying "the ipod 'Skye' cannot be synced, a duplicate file name was specified." It wont let me put any songs on my ipod now.

    Never mind.  I found out how to fix the problem
    - Go to "Computer"
    - Right click on your IPod icon
    - Click "Properties"
    - Go to the "Tools" tab
    - Under "Error -checking" cilck the "Check now..." button
    After doing all of that, ITunes now works like normal for me.

  • Receiving "The Itunes Library file cannot be saved. A duplicate file name was specified".

    Itunes Version 10.5.3.3
    Using Iphone 4 on Windows 7 Proffesional PC.
    Keep getting "The Itunes Library file cannot be saved. A duplicate file name was specified" when trying to sync Itunes with Iphone.
    Have tried the following steps;
    first you have to locate your last library file, you can do this by clicking Edit-preferences-advanced. it will show you the itunes media folder location. then close Itunes
    open your folder and locate the last library (libraries are saved with date names, find the most recent one or the one that was last modified).
    change the name of the library to today´s date following the format it already has. you will have to change the name for libraries: .itl, .xml, genius and extras.
    once you have changed the name to today´s date on the 4 libraries you will have to delete all other libraries existing on the same folder or on a folder named "previous itunes libraries". it is also recommended to delete the itunes "preferences file" .dat (usually 1kb) and the "sentinel" file.
    so, you will have on your itunes media folder only 4 libraries: .itl .xml genius and extras.
    the next step is to click the itunes icon holding the "shift" key . itunes will ask you to either "quit, choose library or create library" click on choose library. then locate the library you just renamed with today´s date and extension .itl
    done, itunes will open with the last saved version of your library. keep in mind that some changes or songs will not be present if you added any while getting the error "itunes cannot save the library file. a duplicate name has been specified" just locate the songs and add them again, if you have the option "copy files to itunes media folder when adding to library" checked. then go to file-add folder or file-and locate the songs missing on the itunes media folder.itunes saves the files on the hard drive but does not save the changes on the library.
    No luck.
    Any help would be greatly appriciated.

    I found the solution:
    first you have to locate your last library file, you can do this by clicking Edit-preferences-advanced. it will show you the itunes media folder location. then close Itunes
    open your folder and locate the last library (libraries are saved with date names, find the most recent one or the one that was last modified).
    change the name of the library to today´s date following the format it already has. you will have to change the name for libraries: .itl, .xml, genius and extras.
    once you have changed the name to today´s date on the 4 libraries you will have to delete all other libraries existing on the same folder or on a folder named "previous itunes libraries". it is also recommended to delete the itunes "preferences file" .dat (usually 1kb) and the "sentinel" file.
    so, you will have on your itunes media folder only 4 libraries: .itl .xml genius and extras.
    the next step is to click the itunes icon holding the "shift" key . itunes will ask you to either "quit, choose library or create library" click on choose library. then locate the library you just renamed with today´s date and extension .itl
    done, itunes will open with the last saved version of your library. keep in mind that some changes or songs will not be present if you added any while getting the error "itunes cannot save the library file. a duplicate name has been specified" just locate the songs and add them again, if you have the option "copy files to itunes media folder when adding to library" checked. then go to file-add folder or file-and locate the songs missing on the itunes media folder.itunes saves the files on the hard drive but does not save the changes on the library.
    hope this is clear enough.

  • Help with iTunes ERROR: duplicate file name specified - where/how?

    When starting up iTunes (version 10.6.1) I get an error message:
    Duplicate file name was specified.
    Needless to say, no clue as to what file name it is referring to. Furthermore, there are 5 songs which I can not play, bought from the iTiunes store. Contacted the iTunes store - they "enabled" the download for those 5 songs. When I connect to the iTunes store, login and check for downloads etc. I get the error message:
    Unable to check for available downloads. Duplicate file name was specified.

    The way to fix this is
    1. Go to Computer
    2. Click Operating System Hard-Drive (C:)
    3. Scroll to Program Files (or) Program Files (x86)
    4. Scroll to iTunes, open it
    5. Find iTunes.exe
    6. Right Click and go to Properties
    7. Click Compatibility you will see something that stats
    Privilege level
    Run this program as an administrator.
    8. Click this and Click Apply and then Ok NOW Open iTunes
    This worked on mine let me know if it doesnt!

  • My Ipod mini will not sync...A duplicate file name was specified.  What does that mean?

    My Ipod mini will not sync.  I get the message that A duplicate file name was specified.  What does that mean and how do I correct it so I can download my new purchases?
    Thank you

    Refer to my earlier reply, but here is a quick fix to the corrupted filesystem, which might work
    Open My Computer
    Right-click your iPod  -> click Properties.
    Click the Tools Tab -> Error Checking ->
    Check "Automatically fix file system error"
    k Start.
    Let the scan complete, eject your iPod and reconnect.
    Good Luck!

  • My Ipod Mini will not sync. I get the message "a duplicate file name was specified".  Does anyone know how to fix this?  I can't get my new songs.  Thank you

    My Ipod mini will not sync.  I get the message "a duplicate file name was specified".  Does anyone know how I can fix this so I can download my new music?  Thank you

    Was the iPod setup via iTunes on this computer?
    Setup via wifi?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method                 

  • How to solve my error is The iPod "VASANTS" connot be synce.A duplicate file name was specified."

    Dear sir/madam,
               Pls check my device error when connecting to windows.
    The iPod "VASANTS" connot be synce.A duplicate file name was specified.

    My ipod connecting via itune after show this error
    The iPod "VASANTS" connot be synce.A duplicate file name was specified.

  • Itunes will only sync a portion of my music since i have installed the newest update.  It keeps telling me it can not sync my Ipod due to a duplicate file name.  Any suggestions?

    I am trying to get some advice as to why my Ipod will not completely sync since I updated Itunes.  Itunes keeps telling me it can not sync my Ipod due to a duplicate file name?  It will sync some of my songs but not all of them.  Any thoughts?

    Most likely the iPod filesystem is corrupted, during a partial sync, that freeze due to a timeout.
    In My Computer, select the iPod, right click Properties->Tools->Check Now
    tick both Fix filesystem and scan.for bad sectors.
    This will fix the duplicate name error.
    Good Luck!

  • Error message "A duplicate file name was specified"

    Every time I open iTunes or attempt to make a purchase, I get the error message "A duplicate file name was specificed. There was an error in the iTunes Stores. Please try again later."
    It started when I tried to download a book a few days ago.
    I do not have any plugins installed, so there are none to remove/disable. I'm running the most recent version of iTunes (11.0.5) for Windows 7 (64-bit). I tried clearing the iTunes cache to no avail.

    Try and unchecking Manually manage music and videos on the summary page in iTunes. To get there, just go to ____'s iPod, scroll down, and it should be there. You can then check any other boxes (or uncheck) that you think might help you. That box might have automatically checked itself after the update. Also, make sure you have the latest version of iTunes by going to the apple in the top left hand corner, and clicking software update.

  • Insane XML Import, Huge Project, Duplicate file names work around...

    I planned on kicking off my journey attempting to edit a massive multi year documentary on FCPX with a nice introduction of the blog I'm going to keep about the experience, but I've run into a bit of a roadblock, or maybe major speed bump at least before even getting to that point. I wanted to share what is working as a work around for me and you guys can tell me how I'm doing it wrong.
    Ok, I will try to explain this as succinctly as possible. I'll write in somewhat stream of consciousness just to try and get through it quicker... Basically, after discovering the work around below, I am now utterly confused on how FCPX handles the relationship between its own database of where media is stored, and the actual media itself. I have plenty experience on FCPX now, probably done 30-40 pro commercial jobs on it over the last year since XML became doable as I'm also a Resolve Colorist and all the FCPX projects where hardcore coloring product spots. For commercial work, I never needed to worry about splitting up footage up over multiple Events. Everything, all in one, FCPX handled it no problem. (well the occasional beach ball, but that seems to be a thing with FCPX in general)
    This will be my 10th feature documentary as an Editor. Every one before it was either on Avid's many flavors over the last 12 years or FCP Studio. When this new film came along, I made the decision a few months ago to use FCPX for a few reasons, but mostly because I'm insane and I like to try to mix it up for myself in a career that can get stale quick if you aren't willing to be that way. The film was shot over 2+ years, every shoot was multi cam 5D (yes i know, looks great, but please kill me), I haven't done the math on length, but there is over 10,000 clips of video (this is actually medium in size compared to what I've dealt with before). Its 5D, so theres external audio for everything. FCPX's syncing is great, but I've learned that theres an unsaid window of heads and tales clips must fall within to sync properly with the nearby clips, if they are too far apart FCPX gives up. One shoot day could have 3 cams, 50 clips each, and 2 audio files to sync to, FCPX simply cannot handle this, so off to Plural eyes they went, no problems.
    Ok, all this is relevant eventually I swear! Again, in the past, all in one event, no problem. I tried for fun to bring all media into one Event on this film. It worked, but there is a 10+ second spinning beach ball for every single move you make, so thats no good. Ok, I'll separate the Events out to, lets say, each shoot month. Well that's dumb, in verite documentary, any shot could be the first, any shot could be the last, you need a command over all searchable footage at all times. Shift selecting all events to search *****, and it actually takes longer for FCP to reload each event each time than it does to just have the one massive one. So no go there. Next hair brained idea... What if make a new Event that is just Compound Clips of all the other Event's contents and do more with Markers and Favorites in logging that I was planning to parse it all out. That way I'm working with and FCPX is dealing with 50-60 clips instead of 10,000+ Quick test, Cmd-A, Opt-G, boom, boom, boom, move all to dedicated to Event, hide huge Event, BEHOLD, that works! FCPX chokes a little bit on the insane length of some of the clips, but searching, and general performance is back on par!
    So your saying to yourself "Ok *********, sounds like you figured it out, what's the problem." Well to you I say, "Not so fast!" Remember, that was just a quick test using the media I had imported into the massive 10,000+ clip Event. To do this project proper, I am having to import Multicam sync'd XMLs from Plural Eyes. And this is where it all starts to fall apart. A little foreshadowing for your eager eyes. 10,000+ files all shot with multiple 5D's over the course of years. What does that mean? many, many duplicate file names!
    FCPX as well all know irritatingly imports XML's as new Events, not into existing ones. This obviously takes a lot of burden off media management because with a new Event comes a new database referencing its own version of the raw media. All well and good, and I'm betting its starting to click for some if you advanced users where I'm finally going with this. So I have 50 or so XMLs to bring in, all done no problem. Now I want to replicate that singular Event like I did with the Compound Clip test and have it all in one place to be my master as extensive logging begins for easy searching once editing begins. Highlight the Events, click Merge Events. NOPE. I get a new "Kill Yourself Now" error (a term I coined for Out of Memory and General Error messages in FCP Legacy meaning there ain't much you can do about it): "Two or more files have the same name. Change the names and try again, because I don't know what the **** to do with them." Ok I made up that last part but that's basically what it's saying. Just take the variable out of the equation, this happens with every which way you could try to get the clips together. Merge Events, dragging events on top of each other, dragging just the Multicam clip alone, nothing gets passed that message. What's worse is that while Batch Renaming seems like a solution, the renames do not populate inside the created clips and there is no way to Batch Rename those. Renaming everything at the finder level isn't so great because then I'd have to resync and theres an offline/online thing going here where the film has to be reconformed eventually.
    Basically, I've found that FCPX handles media management in completely different ways depending on whether you are importing into one Event yourself or doing essentially what is a new import with FCPX moving or merging Events. If you bring in all the media to one Event, on a macro level FCPX goes through file by file making aliases referencing the master file. If it hits a duplicate, it makes a parenthesis counter, and keeps going. And with the genius of FCPX metadata, that file name doesn't even matter, you can change it at the Finder level and FCPX will keep the link intact. BUT for some reason if you try to do this outside the realm of a single Event and combine files after the fact a different process takes over in creating this database system and can't handle the duplicates. I can't totally figure the reason other than it probably is scared to change the originally referenced alias to something else (which it shouldn't be scared of since Merge Events deletes the original anyway).
    This is where it gets INSANE and where I lose all understanding of what is going on, and believe me it was a delicate understanding to begin with. It comes in to play with the work around I figured out. I make the master Event with the 10,000+ clips. Then I import all the XMLs as dedicated Events. Now, I then drag the Multicam clips into the master Event, it WORKS! just takes it, no "Kill Yourself Now" error. Stranger still, now with the switched referenced Event, it even takes into account which aliased duplicate file name it's referencing in the Original Media folder. Somehow, it's taking into account the original file path and saying "Ok, I see 5 instances of MVI_5834.mov. Based on the original file path or maybe creation date or god knows what, it must be MVI_5834 (fcp3).mov." It connects perfectly. I can even remove the old XML imported Event with no problem. Crazier yet, I can now move those again to the dedicated Event I wanted originally that only contains those Multicam or Compound Clips.
    So instead of going straight from A to C, going from A to B to C works even though that actually seems way more complicated. Why can't FCPX handle Merge Events and dragging clips the same way it handles media imported into a single Event. And weirder still, why can't FCPX handle the (fcp1,2,3...) appending in the same scenario. But if the appended links are already there, No Problem. And for the love of god, it'd be nice to important XML's into existing Events and make the correct referencing happen right from the get go, which is really the source of all the above headache. I'd have no problem helping FCPX with a little manual pointing in the right direction just like any other NLE needs.
    Ok, having said all of that crap above, my question is, have I missed something completely simple I should have done instead? Now that I have everything in place how I originally envisioned, I think I will still play around a little bit more to make sure FCPX is really going to be able to handle this project. I'm at a stage right now where going another direction is still an option, although the dare devil in me wants to make this work. Media management aside, once you start editing on a FCPX timeline, its hard to go back to anything else. Apple is going to have to figure out some way not to access to everything at all times to work fluidly or big projects like this are never going to be practical in FCPX.
    Sorry for the long confusing post....

    I'm having the exact same problem, but I know nothing of ruby scripts. I've exhausted my resources with tech support, and after literally hours of work with them it seems I now am faced with either re-rating each individual song, or pointing iTunes to each song that it can't locate. Is yours a solution that could help me? How can I find out more about Ruby Scripts? Thanks for your help, hellolylo (or anyone else who might also be able to help...)
    Kenn

  • HT1414 the iphone software update server could not be contacted.a duplicate file name was specified , please help as this is driving me nuts,does anyone know which file it could possibly be ?

    Hi could anyone help me out? my iphone 3gs keeps restarting itself every two minutes which i think is some kind of software issue,now there are a number of things i have done starting with putting in a new battery.when i charge the phone it resets itself every two minutes or so and the battery indicator stays at 4% so i decided to restore the phone on itunes (which is the latest edition) and when i connect my phone which i have put into recovery mode using the buttons, i get an error message saying :- the iphone software update server could not be contacted.a duplicate file name was specified. i have tried re-installing i tunes and that doesn't solve the issue and i have trawled through the program files to see if i could spot the duplicate but without success ,has anyone had the same issue and resolved it?

    An iPhone 3G cannot be updated beyond iOS 4.2.1...that's the end of the line for your phone.

  • Can't synch iPod classic to iTunes after updating iTunes. a duplicate file name was specified.

    I can't synch my iPod classic. "A duplicate file name was specified." I tried on two different computers on which it had previously worked fine.

    Try deleting the iPod Photo Cache from the nominated folder that you have set up to sync photos to the devices.
    See iTunes: Understanding the iPod Photo Cache folder for more info.
    tt2

  • Error "The IPod cannot be synched. A duplicate file name was specified"

    When I drag a song from my ITunes library to my Nano, an error pops up that says "The IPod cannot be synched. A duplicate file name was specified." I've read on other boards that I should delete the IToner bundle, but there is no IToner bundle in ITunes plug ins, just a Quartz Composer Visualizer. ANy suggestions on how to keep the error message from popping up every time I add a song?

    Hemberger wrote:
    When I drag a song *from my ITunes library* to my Nano,
    Drag the song from Library to the playlist window then drag it to Devices instead of directly from the Library.

  • On windows 8 and itunes 11 i try to sync my iphone and it says a duplicate file name was specified and won't let me sync, what do i do ?

    duplicate file name was specified...... windows 8 and itunes 11...... won't let me sync..... what do i do ?

    OK, read this thread... https://discussions.apple.com/thread/3928453
    tt2

  • HT201262 i keep getting an error message when trying to sync my iphone in itunes, "duplicate file name specified." Anyone have any help?  Please??

    i keep getting an error message when trying to sync my iphone in itunes, "duplicate file name specified." Anyone have any help?  Please??

    You can try going to iTunes with your device connected, select your device, then click view, show duplicate items

Maybe you are looking for

  • Work-around for lack of cut and paste for files in finder

    I am new to Mac and have observed some past but closed discussions about the annoying lack of cut and paste in Finder. I too find it very time-consuming to move a file into the folder where I want it to live - especially from downloads. Using a MacBo

  • Glowing Edges in After Effects

    Hello, I am trying to make a shape appear as if it is glowing. I do not know what effect to use to create glowing edges... The glow emitted by the shape must be able to span very far distances (the glow should take up most of the screen). Any idea? T

  • Workflow of SAP SD in the insurance sector

    *HIi, I have a very important question. i just want to know the workflow of SAP SD in the insurance sector, It will be of great help if any one can solve this query? Because i nevar worked for this sector & didnt get any articles also. Eagerly waitin

  • User exit for greying out fields

    hi all , i would like to greyout certain fields after relase of MO ... any user exit for this ? regrds pushpa

  • Import Image and Transparency

    I am importing an image (GIF) with transparency properties as a drop zone. How do i make the background of this image transparent. This image serves no purpose other than just being an image. It is not a button or has any associated actions. Please h