File adapter can I avoid that the file is  deleted when there's an error

Hello,
my bpel process reads files with records and deletes them from the source directory after successful retrieval (using file polling) and then updates the status of that records in a database.
The problem is that it seems like the file is deleted as soon as it is picked up by the BPEL process so if there's an error with the database connection the file was already deleted from the source directory.
How can I avoid this? The file should only be deleted at the end of the bpel process.
Regards,
Lara Fernandes.

Hi Lara Fernandes,
In this case of database being not available after you have picked up the file by polling, rather than allowing the process to fault and close, you can put the process into manual recovery and then the process can be retried from there, without any loss of data.
This would ensure that it would not matter that the file was deleted from the polling directory as soon as the process was initiated.
Hope this helps,
Regards,
Shanmu.
http://www.prshanmu.com/articles/

Similar Messages

  • File Adapter as Sender not picking the files

    We configured the File Adapter as Sender, Transport Protocol =NSF and message protocol as FCC.
    In OS we have folder to read the file, but SAP XI unable to read the file.
    To trouble shoot this issue we copied that file into another location and reverted back to the same location then XI File adaptor is able to read the file.
    Now we have compared the Attributes of the path
    the only difference in file attributes
    Coded character set ID . . . . . . . . :   819      
    CCSID 819 (decimal)
    0333 (hex)
    Name ISO 8859-1 ASCII
    Description ISO 8859-1: Latin Alphabet Number 1Latin-1 countries and regions
    Notes Related CCSID with euro is 923           
    able to read the file attributes:
    Coded character set ID . . . . . . . . :   1252                    
    CCSID 1252 (decimal)
    04E4 (hex)
    Name MS-WIN LATIN-1
    SC Co-existence/Migration
    FMS Subset
    Registration Date 
    Description MS Windows, Latin-1
    Notes CCSID for this code page with euro is 5348
    We have tried to chage the File type as Text and File Encoding with ISO-8859-1even then its not picking the files.
    Please suggest me where i am doing wrong here
    Thanks,
    Venkat.

    Hi,
    Check the file path & file name , Check  the processing mode parameter which you have set?
    Check the folder properties & provide all the permission ...
    Finally check the communication channel status in RWB, If the problem persist try to stop & start the communication channel again..
    Hope it helps...
    Regards,
    Kumar.

  • I am trying to install adobe livecycle designer es4 trial version on my computer and i keep getting the message Error 13.11 Source file not found: c:\  verify that the file exist. I have tried to install on both windows 7 and windows 8 and i still get the

    error 13.11 Source file not found verify that the file exsist

    Try a more recent version of my advice. The "for older video cards version" may work when the default version doesn't.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • How to stop the posting of documents when there is an error in record

    Hi,
    I have one issue with respect to posting of documents.
    In my Exl sheet there are 1900 records which would split into 950 records during run time.
    For each 950 records a document to be created.  Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
    However when  posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
    During execution of  session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
    Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
    In my program  once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
    Any solutions are most welcome.
    Thanks in advance.
    Regards
    Harikrishna
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:45 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:48 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:50 AM

    Hi ,
    Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
    Regards
    Yash

  • File Adapter - In wich order reads the files ?

    Hi, I need to know in which order a File Adapter Reads several files from a directory.
    For example if my communication channel read files with this pattern:  TestFile*.txt
    And in the directory I have...
    TestFile_1.txt
    TestFile_20082312.txt
    etc...
    Wich file it will read first, second, third.....?
    It is by date of creation? it is by name? ascending? descending? Does Anyone knows?
    Thanks!
    Mariano.

    Hi 
      You can use the "Processing sequence" option in the sender file adapter to process files by name or date (timestamp)
    look sap help for more information
    http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regards
    Vishnu

  • When I'm deleting files, I would be told that the file is occupied by some process.

    Can Windows provide a function that tell us which process is using the file?

    Hello,
    There is a Sysinternals tool that may help with this.
    Handle v4.0
    https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
    Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

  • Is there a setting such that the application closes (quits) when the (last) file is closed? Why does the application remain active when there are no files for it open?

    I honestly did try to find my own answer, but cannot.  Not sure why a simple question would have its answer so difficult to find. I'd just like the application to simply close after the last file is closed.  It seems strange to have the application remain active.  Thanks for your help.

    It's also a bit strange that even though I searched throughout the community for questions like this......so that I wouldn't take up space for something already discussed........that immediately after I posted my question, the "
    More Like This" side window comes up that describes questions just like mine. 
    So, sorry to have bothered anyone with having to read another duplicate question.  I see that the answer to my first question is "No", and there's likely not a good answer for "Why".
    Thanks anyway.

  • How can i know that the material already deleted ?

    Hello,
    I'm new in SAP and need a help. In PP if an material is deleted or changed, it is marked as X in the xloek field of the RESB table. And when the order is TECO'd all the materials X'ed as weel. So how can i distinguish a deleted material in the order from the others? Please help.
    Thanks in advance.
    Emre

    Hi,
    I think I've found the answer and i want to share.
    First i take the object number of the material from the RESB table with the objnr field.
    Then look the JCDS table with that value. If an object exist with I0013 status and inact field
    is not X, it is really deleted.
    My query is
    select single * from JCDS where objnr = resb-objnr
                                        and stat  = 'I0013'
                                        and inact <> 'X'.
    The statues can be seen the transaction bs22.

  • 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

  • Sender file adapter - Can I use *.xml for the file name

    Hi Gurus,
    I have some interfaces where I need to pick the file from a directory. The name of the file will have Data<i>time stamp</i> as the naming convention. Can I use *.xml to pick up my files from this directory?
    The help.sap.com documentation says that we can use this naming convention.
    <b>
    &#9679;      File Name
    Specify the name of the file that you want to process. The name can contain placeholders (*, ? (placeholders for exactly one character)) so that you can select a list of files for processing.
    </b>
    I tried using *.xml for my file name in the communication channel, XI is not picking up this file.
    Please let me know if you have the solution.
    Thanks
    Kalyan

    Murthy,
    Thanks for the reply.
    I am using GuildFTP tool as my FTP server. In this tool, all the permissions were given for the file to pick up.
    The status of the file is good.
    Where in the file adapter configuration I have to select 'Read-only'?
    The file adapter is working perfect with the exact name of the file.
    Thanks
    Kalyan

  • I have an SD card that my husband uses for a trail camera. The camera does not have a delete function for the pics, so I put the SD card in our MAC and we can view the pics but when I go to delete them it says that the files cant be deleted. What can i do

    My husband has an SD card he  uses for his trail camera. We put it in our mac book pro and can look at the pictures but when I go to move them to the trash it tells me that the files can't be moved to the trash because they cant be deleted. I have Nikon camera software on my mac and it pics up and asks if you want to import the pics and if you want them deleted from the devices afterwards. I tried that but I get a message afterwards that says that some files were not able to be deleted. When I go to check, none of them were deleted. How can I clean of the SD Card? I do have a camera I could stick it in, it would just be nice to know how to do it from my mac. Also, the files are jpg. if that matters.

    AFAIK cameras offer their own built-in format utility for inserted SD cards.  You should use that.  Otherwise, refer to the manual that came with your camera to determine precisely how your SD cards need to be formatted to work properly.  Personally, I'd suggest Partition Scheme: MBR, and Filesystem: FAT32.
    Try to limit the number of formats you perform on the SD cards, though, as you're reducing their lifespan.  I believe formatting causes re-writes to a portion of the SD card that has fewer read/write cycles than the rest of the card as a whole.

  • I have installed Firefox 4 twice, and each time I get a message that the file is corrupt and can't be opened.

    I ordered a download of PagePlus X5 from Serif in the UK. The program is 706 MB. Several times, only 300+ MBs downloaded. The program had .exe but the partial download had .msi. The message that came up was "Setup was unable to find the msi package or patch . . ." Serif suggested I install Firefox as a web browser to see if the program would download. That is what I tried to do, and that is when I got the message that the file was corrupt. Serif is sending me a disk. Is there a disk for Firefox?

    How large is your iPhone's storage? 16GB, 32GB, or 64GB? You can go to Settings > General > Usage, and that will tell you how much storage you have used and how much you have left. If the storage is truly almost full, then you would need to either delete files from your iPhone, or sync less files from iTunes to your iPhone.
    Hope this helps!

  • My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer

    My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer.

    Maybe this: http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html ?
    Do you have a link to that document?

  • I download a file in the torrent site which is MP4 but unfortunately i tried to delete it but i can not. but all the files that i have is easily to delete only MP4 files i can't delete in the download foldeer please try to help dont know what to do please

    i download a file in the torrent site which is MP4 but unfortunately i tried to delete it but i can not. but all the files that i have is easily to delete only MP4 files i can't delete in the download foldeer please try to help dont know what to do please

    Well you can sync your iPod/iPhone to yur computer or laptop then take the photos off of your iPod like taking photos of of a SD card (from a normal camera) or off of a USB..! Good Luck. plz tick this saying This solved my question if it helps you.

  • Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in monochrome instead of colour? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in

    Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in the same monochrome structure (instead of appearing in colour as it is now when i open in PS, not even monochrome)? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in my 5D)?
    1. Basically I am taking photos with a monochrome setting with my 5D and the screen shows monochrome.
    2. when i import this onto my computer and open with PS, it opens in colour.
    3. when I change this to Monochrome in PS. (It cannot read my monochrome setting with my preference of the greyscale mix when I viewed it on my 5D)
    4. my question is: is there a way so that PS can read the monochrome setting from my 5D and display the same monochrome setting as my 5D instead of a different one from PS.
    Lily

    you need camera raw 6.7 or better.
    i don't know what version of ps you have so i can't say if it can be updated to use that, but update anyway.
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
    if you can't update your cr sufficiently, use the dng converter. DNG Converters:
    Win
    Mac

Maybe you are looking for

  • Use of Tokens in Authorization Management Tool

    Hello, In Mobile Sales (5.0), I'm trying to restrict users from changing data of BP's with an specific Account Group. This means, the sales rep should have only read-access to BP's with Account Group = "001", but read, write and modify access to BP's

  • The padlock under 'Directory Utility' isn't functioning

    Hello everyone. I am the only one who will use my MacBook (running 10.6.2), and my account is 'admin'. If I need to enable the root user, I know I should go to: (1) System Preferences (2) Accounts (3) Login Options (4) Network Account Server: Join...

  • What to do with .m2v file?

    I want to burn this .m2v file that compressor output but when I go to put it into DVD Studio pro it says that "one of the volumes is still in use." This whole process is really really frustrating I just want to make a DVD. Please work!

  • Applicant letter creation reruitment

    Hi All, Applicant letters ( Offer letter, Invitation letter, etc) in standard format that  i need to change as per client requirement, could you all please to share the procedure how to change standard text and put client format on the same.. Please

  • Can we transport.....?

    Hi everyone, Our present BW3.5 system is running on AIX/DB2 and that we are going for LINUX/ORACLE.We have adoubt on what will happen to the transport requests if we replatform...will we be still be able to transport data from AIX/DB2 to LINUX/ORACLE