File got picked up too soon

Hi,
I have a scenario where R/3 is writing a file and posting it in a directory in the application server. XI will poll every 30 seconds for the file in the specified directory. But since file write time is quite long, XI consumed the file much before the file is closed. So, is there any way to handle this issue using XI file adapter?
Thanks for your help.
Arjun.

Arjun,
You could try to use a temporary name in the writing routine at R/3 (I don't know if it's standard). So, the file only will have the name configured at sender file adapter when it's done.
Also, in sender adapter (from xi 3.0 sp11/ pi 7.0), there's the option of using Advanced Mode "Msecs to Wait Before Modification Check". This way, XI checks for modification on the file every pool, before actually reading the file, on a time basis determined by the number of miliseconds in this parameter. For more information, check note 821267, question 3.
Regards,
Henrique.

Similar Messages

  • "Copying Music Failed - File name invalid or too long."  HELP!

    I desperately need to consolidate my music before my computer says goodbye for all eternity. It seems I can't consolidate my music because apparently, the file name is too long or invalid. I even got this program that was supposed to help me seek out the ones with too long file names. So I deleted those songs and it still won't work. And after I got the new iTunes the other day, I set it to add all new songs automatically into the iTunes Music Folder. However, it seems my iTunes is a little screwed up, because whenever I add a song with a long file name, it automatically shortens it down. For example if I add a song with the named "20th Century Masters - The Millennium Collection: The Best of Smokey Robinson & The Miracles - Smokey Robinson & The Miracles - Ooo, Baby Baby", which is obviously a very long name, it will shorten it down to about the first 4 or 5 words. I naturally shorten it down to just "Ooo, Baby Baby" myself, but I'm thinkin this whole error may have something to do with the fact that the library won't consolidate.
    I'm in desperate need of help here - come to my rescue, please!

    Well, aren't you lucky I signed in tonight? Sometimes you just have to be patient and wait until a person who might know an answer shows up.
    I have had problems with Consolidate too, and getting that stupid error message when the file name was not too long.
    The consolidate function starts copying things over by Date Added, with the older ones getting copied first. First in, first out.
    What I finally had to do was look in Windows Explorer for the target (new) drive and see the last file that was successfully copied. Let's call it Carole King.
    Then I went into iTunes and sorted by Date Added to see the file just AFTER the Carole King file. In my case, it was La Bohème and iTunes had filed it in the Compilations folder. I selected all the tracks and unchecked the Compilations box. This made iTunes move it out of the Compilations folder
    The Consolidate worked after I moved that file.

  • Attachment file not picked - File to Mail scenario

    Hi,
    I'm just trying out the file to mail scenario as suggested in blog:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    I created a xml file as the main mail content(main.xml). And I also have an attachment file(txt) placed at the same location. The file adapter picks the mail.xml, but not the attachment txt file. I can see the mail in my inbox, with the mail.xml added as an attachment..
    I have added the "additional files" in the File adapter configuration. Also in mail adapter configuration, I have checked "Keep attachments"
    Are there any other configurations I'm missing out???
    When I check in XI ABAP engine, sxmb_moni, I see the following error:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_Mail_MM_</SAP:P1>
      <SAP:P2>java.lang.NullPointerException</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_Mail_MM_:</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    Thanks for the quick response...
    Prateek,
    the mapping is fine in IR.
    Sanjeev,
    Making the optional parameter created a failure in the communication channel.
    the error the file sender returns in XI runtime workbench is
    "Error: java.lang.Exception: Add attachment: Mandatory additional payload file 'main.txt' not found!" though my attachment name is  "Attachment.txt" . I renamed the attachment file to "main.txt", and made necessary changes in Additional file configurations too...
    I have the attachment in the same location as the main content xml file. Should I specify somewhere the location of my attachment file too?
    Gabriel,
    Very useful link. but I dont see the failure in sxmb_moni now, may be because the failure occurs at the Communication Channel level itself????
    -Ajitha

  • HTMLLoader fires complete event too soon ?

    Hi to all,
    I have following problem i`m displaying pdf in a nativewindow (pdf is around 5 mb so i guess it takes some time to be rendered) I want to show user some custom progress bar until pdf is prepared to be shown in htmlLoader.The problem is that Event.COMPLETE is being dispatched too soon, pdf is not prepared to be shown.I tried with HTML_DOM_INITIALIZE event but same thing happened.
    I don`t want users to see empty window, i want to either progress bar or fully loaded PDF be shown.
    I figure out some workaround : i will download file from the location and open it up with openWithDefaultApplication() option within AIR 2, but i want to now if i can do it the way i wanted at the first place.
    Am i doing something wrong or there is some problem with HTMLLoader ?
    Here is simple code:
    htmlLoader.location = url;
    htmlLoader.addEventListener(Event.COMPLETE,onLoad);
    onLoad (...)
    //hide progress bar

    Dmennenoh, pulling the playSound function out of the other functions worked perfectly!  I should have known better.  Even though everything is working correctly I am now recieving an error stating that "Parameter url must be non-null."  I'm certain this has to do with the sound file urls that I am passing from the xml document... but if the sounds are playing the urls must be non-null already.
    I tried changing the tl["snd"+i] to container_mc["snd"+i] as you suggested but the sounds would not play at that point.  I recieve an error saying: "a term is undefined and has no porperties."  Below is how I built it:
    function buildScroller():void{
         for (var i:Number = 0; i < 55; i++){
            //create movie clips
            var container_mc:container = new container();
            addChild(container_mc);
            container_mc.x = 325 * i;  // set the number here to the width of the movie clip being repeated
            //sound info
            container_mc["snd"+i] = new Sound();       
            container_mc["snd"+i].load(new URLRequest(xmlData.sound.loc[i]));
            container_mc.snd = container_mc["snd"+i];
            container_mc.addEventListener(MouseEvent.CLICK, playSound, false, 0, true);
    function playSound(event:MouseEvent):void {
         event.currentTarget.container_mc.play();

  • File not picking up in FTP server

    Hi SAP-XI experts,
    2 different files are send to same FTP server but one file was picked but other was not picking.
    Error that came while monitoring CC is as below:
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration / structure 'row.': More elements in file csv structure than field names specified!".
    Seeing the error we cross check the content of file present at FTP server. But everything was fine,it contain same no.of fields present in Content conversion and even same length.
    Solution: I added a extra row in Content conversion "row.additionalLastFields   ignore".After that i stop and restart the Communication channel it start picking the file but the Communication channel is still in red.
    Can u please tell me ASAP the reason why the file was not picked first and then after adding extra row it started picking.
    Thanks & Regards
    Vijji

    Hi,
       it is related to some problem with the data only...because i too faced the same issue...i was also not able to see the new line when i try to open the same in notepad++ ... may be some other paramters or data of excel/CSV which is avoiding to display the same..in notepad++
    also try one more thing...enable the new line characters and see if there is any difference...between the processes and failed files...
    HTH
    Rajesh

  • Internet Connect comes up too soon - fix?

    Whenever I restart (using Airport)Internet Connect software comes on before top title bar is loaded, so sees no connection. How to stop it loading too soon. I'm not sure that is problem. I've gone into Airport top menu, open Internet connect and have checked to "remember password in keychain" and it doesn't. I also have opened Airport Utility, and manually put in settings to remember password, but nothing works. I have to keep going into that airport menu top title bar, chooose my network and enter my password.
    -How to keep password there?
    -How to stop airport connect popping open before whole desktop is loaded, maybe that's problem?
    -?Any other ideas? Thanks!

    BD: I went back to terminal (copy/paste your words)to not show hidden files, now all of a sudden I have several new items on my desktop, and some I'm not sure are safe to remove, as looks like items that were in finder, and now are on desktop. Do you know why, and if safe to remove the following:
    Network (rt click choice to "eject" -but hope this won't messup network settings; no "move to trash" avail)
    .localized (can rt click to "move to trash, but will it harm anything?)
    .DS_Store ( can rt click to "move to trash, but will it harm anything?)
    ...and even icon showing my FileVault-ed home folder!(the only real rt-click choice for this is "force quit" and I hope it won't mess up all to do that!)
    PLEASE tell me if it's safe to do what the choices are, and if you know why this happened ..ie: what part of that script I put in for: showing hidden files, then reverting to hiding hidden files, caused this to happen?
    THANKS AHEAD for HELP!
    Message was edited by: Strgzr

  • Ggrrrrr, is there any that bios that fixes the temp issue? [solved]..spoke too soon [NOT SOLVED]

    ive tried
    1.1
    1.2
    1.3
    1.42
    come on msi, give me a fighting chance :(

    Here is the last thing I received from MSI tech support.  I'll give them this much, they are much more responsive than VIA or AOpen ever were when I first got my flakey MVP3 board...lol.  I hope they can figure this problem out!
    Quote
    So far in our own testing, we have not found any High CPU Temperature issues.
    We have gone through the threads you have provided to us and we will co-work with AMD to see if anything needs to be updated from our side with the New Castle Core.
    Once again, MSI appreciates all the findings/reports you have provided to us and we will update you once there is any findings becomes available.
    Sincerely,
    Technical Support Division
    MSI Computer Corp.
    http://www.msicomputer.com
    MSI - Beyond Expectations!  
    1-626-913-0828
    1-626-581-7721 Fax
    Due to high volume of cases daily, we may not be able to answer question promptly. Please kindly provide your name, phone number, model number, state in which you are calling from, a brief description of your problems, and we will try to reply your issue as promptly as possible. Thanks
    The information transmitted is intended only for the person or entity to which it is addressed and contained confidential and privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient are prohibited. If you receive this in error, please contact the sender and delete the material from any computer.
    -----Original Message-----
    From: my email deleted
    Sent: Friday, August 06, 2004 8:51 AM
    To: [email protected]
    Subject: RE: 3 -- Customer Problem Description Form
    I know you guys think you fixed the Newcastle temperature problem.  But there are still a LOT of us out here who are having trouble, using latest BIOS.  People are reporting this all over the MSI forums.  The behavior is as follows, flashing the BIOS might help initially, but soon after the temp shoots way back up.
    Please see the following threads:
    Temps and BIOS 1.42
    ggrrrrr, is there any that bios that fixes the temp issue? [solved]..spoke too soon [NOT SOLVED]
    Possible fix for CPU temp problem found.
    The same old problem with temperatures (K8N Neo Platinum)
    K8N Neo Temps :(

  • How to provide the user with a list of files to pick from...for downloading

    hai..
    I have uploaded the file succesfully.. now we need to download the file...... which has been uploaded..... for that we have implemnted the Query as..
    select max(id) from APEX_APPLICATION_FILES ,here the latest uploaded record will be retrieved and shown.
    Now We want to provide the user with a list of files to pick from for downloading..,Dat is he should be shown the list of files which is available from dat he has to select one file to downlaod ???
    can u plz tell me how to do it....
    anoo

    Hi Anoo,
    Create a report using the following SQL statement:
    SELECT ID,
    FILENAME,
    CREATED_ON
    FROM APEX_APPLICATION_FILES
    ORDER BY CREATED_ON DESCThere are other fields available from the table, but the above gives you a start.
    Then edit the report's Report Attributes.
    Edit the CREATED_ON column and pick a Number/Date Format to use for the display and Apply Changes
    Edit the ID column. In the Column Link section, enter:
    Link Text: &lt;img src="#IMAGE_PREFIX#download.gif" alt="Download"&gt;
    Target: URL
    URL: p?n=#ID#
    Apply Changes and run your report
    Andy

  • Formatting lost in the text file, got after zipping.

    Hello ABAP gurus,
    A text file has to be zipped .I have used the class method CL_ABAP_ZIP-SAVE() to create a zip file in the application server.    The zip file is double clicked and the text file is opened.
    The formatting is lost in the text file, got after zipping.
    Please let me know how I maintain the formatting in the zip file.
    Thanks.
    Edited by: GVVisweswara . on May 5, 2011 5:17 PM

    Hi.,
    Check this link: [Zip text file using Cl Zip|http://www.saptutor.org/?p=59]
    also this wiki., http://wiki.sdn.sap.com/wiki/display/ABAP/CL_ABAP_ZIPusage-ZippingABAPreportoutput
    hope this helps u.,
    Thanks & Regards
    Kiran

  • File Adapter picks up the file but cant see it in MONI/Message Monitoring

    Hi
    I am using FCC in Sender File Adapter and have only one sub structure under Recordset hence I have not used the 'Key Field Name' though ''Key Field Type' by default is 'String(Case-Sensitive)'. Besides the 'fieldNames' heading I have mentioned all the fields of the sub structure in the same order as I have mentioned in the Data Type.
    The problem that I am facing is that even though the file is picked up from ftp successfully still I cant see any traces of it in either MONI or Message Monitoring though
    The error that I receive in the MDT is -
    Success : Entire file content converted to XML format
    Warning : Empty document found. Proceed without sending message
    Success : File "Test.csv" deleted after processing
    and I have data in the file.
    Can u suggest a solution?
    Warm regards,
    Vaibhav

    > Hey
    > >>So I have filled my test excel file with the values
    > A and B in adjacent columns
    > are you picking up some .xls file?if yes,then Content
    > conversion wont work,You have to create adapter
    > module processor and you have to add to your module
    > processor bean to the adapter...Just check the
    > following procedure...
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 1967
    > Thanx
    > Aamir suhail
    Hi Aamir
    I had a look at the blog and according to that I will need to create a module...the prob with that is in the blog he hasnt provided the full steps for that. Also I had tried this thing earlier of using an excel file and saving it in .csv format and it had worked. I cant figure out what the error is this time
    Have u worked on creating amodule for excel files b4?
    Vaibhav

  • In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message "C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on th

    In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message"C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on this pls?

    Even after deleting all files and folders from hard drive i am still getting this error!!

  • File is picked up but never show the XML message in SXMB_MONI

    All,
    I am working on the file to SAP integration scenario issue. High level interface design is,
    File Adapter picks the file from XI application server and send the data to SAP Application system(in this case ECC) to post data as per the business requirement. The scenario is working perfect since long time and we don't have any issues as yesterday.
    This morning, I noticed File adapter picks the file and moved the file to archive folder (based on settings in communication channel) but XML message never shown in SXMB_MONI. I had a look into the RWB to check status of the communication channel. every thing looks fine from communication channel monitoring.
    Did any one come across this scenario? What else to be checked to move forward on this issue?
    Thank you..
    Anil

    Hi Kumar,
    The error message indicates the URL the adapter engine is using to send the data to the integration engine is wrong. The last part of it has somehow become truncated: "type=ent" should read "type=entry".
    In the SLD lookup the XI technical system, under the integration tab check the setting for the "Pipeline URL" field, you should see something like: http://HOST:PORT/sap/xi/engine?type=entry  if not, you can correct it.
    Then go to the XI ABAP client using SAPGUI and in transaction: SXMB_ADM, option "Integration Engine Configuration", check that Corresponding Integ. Server has the same URL, if it has something of the sort of: "dest://...." check in transaction SM59 for that RFC destination name, it should have the correct URL.  Also in the specific configuration (using the same transaction), check the RUNTIME->IS_URL parameter value.
    Hope that helps.
    -Sam.

  • File not picked up strange problem

    Hi all,
    I am doing File to file tranfer .
    my source dir is AL11 and i am ftp the file to reciver system .
    I am encountering strange problem .
    Some times my file adapter pick the file  and tranfer the files sucessfull  and sometimes  it does not pick the file . i trying to pick same files always  i.e *.txt
    in RWB cc it show no error . it gives message  polling sucess but no message id in it .
    i tried to deacitve and active the adapter , but it is of no use .
    if anyone  faced this type of problem please reply
    Thanks

    Hi,
    Some times file adapter will not pick the file it will be strange u cant find any error regarding it..........i thnik u have proper authorization for AL11 because file adapter is picking the file...
    check the processing parameters what is the mode of trasfer is it test or delete.....
    better to have NFS at both the ends or take NFS at sender side...
    Regards,
    Phani

  • Limiting the number of files being picked up by the sender file adapter

    We are running a file adapter to collect xml files from a legacy system in a shared network location.  The files are picked up, information is sorted and mapped, and then sent to a proxy on our CRM system to store the data.  Very simple and not-complex.
    Our initial data load will consist of somewhere in the neighborhood of 900k records, which is killing CRM.
    A co-worker with a bit more experience was telling me that he believes there is a way to limit the number of files that will be pulled per iteration of the file communication channel.  If this is the case, can someone share with me the parameters that need to be set?
    My apologies if this is a duplicate post - I have tried to look for a good answer in the forums and have come up empty.
    We are running PI 7.1, and I believe it is SP 6. 
    Thanks in advance for the help,
    Ben

    Hi Ben,
    There is no standard way to limit the number of files to be processed by the communication channel.
    On the Sender File CC, there is a parameter " Maximum File Size" which restricts the files bigger than the specific size, but this is just a prevention not a solution.
    If you have a single big size file, then somehow you have to create small sized files out of it.
    Thanks,
    Pooja Pandey

  • In Indesign CS6 I export an artboard to  TIFF with the sdk's funtion SnapshotUtilsEx- ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?

    In Indesign CS6 I export an artboard to  TIFF with the sdk's funtion SnapshotUtilsEx->ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?

    An easy example to prove this bug of Indesing CS6:  I create a psd with Photoshop CS6, with width 505 pixels, height 317 pixels and a resolution of 300 pixels per inch. This psd is placed on a page in InDesign CS6. Then I try to export it as a tiff with the functions:
    fSnapshotUtilsEx->Draw(flags,fullResolutionGraphics,greekBelowPtSize,enableAntiAliasing,tr ansparencyQuality,abortCheck,pVPAttrMap,bDrawNonPrintingObjects);
    and
    SnapshotUtilsEx-> ExportImageToTIFF (iStream)
    The resulting tiff has a width of 506 pixels (one pixel more in width). It will happen the same if we start with a width of 507 pixels, etc.
    This error does not occur with Indesign CS5, nor Indesing CC.

Maybe you are looking for