BizTalk 2006 R2 Receive Location )File - XLS) Being Read Twice?

Scenario: IBM ESB is writing a XLS file to a UNC path that is polled by BizTalk 2006 R2 Receive Location (File) but the file is being processed twice on a few occasions that cannot be reproduced. The polling interval is set to 60 seconds and then the file
is removed. My developed confirmed the duplicate processing via our database that records incoming messages.
Any idea on how to proceed?
-Shawn
Shawn ([email protected])

Update! 
I was able to duplicate this issue but I haven’t determined root cause yet. This one is a bit tricky. I kept processing files until I noticed some warnings in the EventViewer. The BizTalk service became disabled and then re-enabled
causing the message to be processed again. Any ideas?
4:20:59 PM – I re-enabled but this must automatically be done by BizTalk for the duplicate message to be processed
The following BizTalk host instance has initialized successfully.
 BizTalk host name: BizTalkServerApplication
 Windows service name: BTSSvc$BizTalkServerApplication
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
4:20:32 PM
An error occurred that requires the BizTalk service to terminate. The most common causes are the following:
 1) An unexpected out of memory error.
 OR
 2) An inability to connect or a loss of connectivity to one of the BizTalk databases.
 The service will shutdown and auto-restart in 1 minute. If the problematic database remains unavailable, this cycle will repeat.
 Error message: Exception has been thrown by the target of an invocation.
 Error source: mscorlib
 BizTalk host name: BizTalkServerApplication
 Windows service name: BTSSvc$BizTalkServerApplication
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
4:19:48 PM
All receive locations are being temporarily disabled because either the MessageBox or Configuration database is not available. When these databases become available, the
receive locations will be automatically enabled.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
4:19:34 PM
The Messaging Engine failed to retrieve the configuration from the database. Details:"The database cannot be accessed because the system is recovering from an earlier database
failure. ".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Shawn ([email protected])

Similar Messages

  • How to check if a file is being read by another program?

    Hey all,
    I just have a few question for a project I am doing:
    How do I check if a file is being read by another program?
    How do I check how many lines it read?
    How do I get Keyboard input from the user when he is using another program other than mine? Ex: Pressing Ctrl-G to take a screenshot.
    How can I halt another program from reading a file when it already opened it? Ex: The other program opened a file and began reading. Now it is at line 2 and I want to make it skip 10 lines and contontinue.
    Thanks,
    Bluelikeu

    How do I check if a file is being read by another
    program?This is about the only partially sensible question you asked. But the answer is that unless you use some native code, you can't.
    How do I check how many lines it read?It doesn't even make sense to ask this question. First of all, what's a "line" anyway? Files are just sequences of bytes. A "line" is only in the interpretation of those bytes, such as if it contains <cr><lf> sequences an application may choose to render the contents of those bytes as logical "lines" of string sequences. Second of all, why the heck would it matter to you how many bytes have already been read by some other process(es)?
    How do I get Keyboard input from the user when he is
    using another program other than mine? Ex: Pressing
    Ctrl-G to take a screenshot.You want to spy on other applications? Shame on you, Mr. Spyware creator.
    How can I halt another program from reading a file
    when it already opened it? Ex: The other program
    opened a file and began reading. Now it is at line 2
    and I want to make it skip 10 lines and contontinue.Shame on you Mr. Spyware creator.

  • Communication Channel marked all files as being read on FTP

    The Mailbox FTP has all the files flagged as being read when a single file is read through a communication channel.  I manually unflagged the status field so all files had a status of N so none were pulled.  I had 14 files for this test flagged as N.   I turned off all our CCu2019s.  I activated one that was pulling the last file in the list based on the Service Ref# which is unique file name.  I refreshed the dir of the FTP several times as the CC was running.  One by one as the flag was changed to Y (file read) from top to bottom.  It only took a second for each one until it got to three very large files and the status stopped while it was reading the file.  After a minute it continued to change the flag until it read the last one.   All 14 files on the ftp now had the status flag changed to Y.  It appears it actually read the file content one by one and set the flag until it was done.  Do you have any ideas why it would do this?  From a dos prompt I donu2019t have any of these issues so Iu2019m guessing itu2019s something unique in the SAP FTP adapter that is doing it?
    From a dos prompt I can successfully do a get 003520827870964903 c:data.txt and it will only update that ST flag for that one file as being read.  I can also do a get %EDT39A22%W_Z1JI4960 c:data.txt  and it will only flag the four files as being read that have that Mailbox/APRF value.  Now I'm trying to get my CC to do the same but no matter what I try it marks all six files as being read.   I have in my source directory %EDT39A22%W_Z1JI4960 and * for a file name and this will mark all files as being read when activated.   I have entered 003520827870964903 for a file name to further qualify and it still marks all files as being read.  It seems to be getting the file I want cause when I view the communication channel monitor it shows the right data in the payload but it always refers to another file for the archive / delete / test option from the processing tab.  There are no problems having a CC write a file out using similar parms for Mailbox/APRF, but trying to read a single file using the Service Ref # or a collection of files using a Mailbox/APRF mask seem to update the status for all files as being read.  Any suggestions are welcome.
    Mailbox ID           St    APRF                SNRF              Service Ref. #
    CMS                  N     CCR_GRIEF           filekh5LhC0000    003520599937481654
    CMS                  N     CLAIM_STLMNTS       fileza2TBr0004    003520769829611413
    EDT39A22             N     W_Z1JI4960          ileh3s0e60000     003520827846664146
    EDT39A22             N     W_Z1JI4960          fileUfXjR     003520827868994913
    EDT39A22             N     W_Z1JI4960          filePDFfKP0000    003520827870124419
    EDT39A22             N     W_Z1JI4960          fileQ7RFdR0000    003520827870964903
    Edited by: Kenbrown on Jul 28, 2011 9:10 PM
    Edited by: Kenbrown on Jul 28, 2011 9:13 PM

    Have you installed any apps that auto display the emails when they come in? If so the auto read feature may be triggering this, I had a app at one time that showed my emails in the preview window and it made the emails be listed as read... I would check your apps and make sure you are not using something like this unknowingly.

  • Processing Multiple Files for more than 100 Receive Location - File Size - 25 MB each file, file type DML

    Hi Everybody
    Please suggest.
    For one of our BizTalk interface, we have around 120 receive locations.  We are just moving (*.dml) files from the source to destination without doing any processing.  
    We receive lots of files in different receive locations and in few cases the file size will be around 25 MB and so while moving these large files, the CPU usage is varying between 10% to 90+% and the time consuming for this single huge file is around
    10 to 20 minutes.  This solution was already in place and was designed by the previous vendor for moving the files to their clients.  Each client has 2 receive locations and they have around 60 clients.  Is there any best solution for implementing
    this with in BizTalk or outside BizTalk? Please suggest.
    I am also looking for how to control the number of files which gets picked from the BizTalk receive location.  For example, If we have say 1000 files in receive location and we want to pick at a time only 50 files only (batch of 50) then is it possible?
    because currently it is picking all the files available in source location, and one of the process is dropping thousands of files in to the source location, so we want to control  the number of files getting picked (or even if we can control to pick the
    number of KBs).  Please guide us on how we can control the number of files.

    Hi Rajeev,
    25 MB per file, 1000 files. Certainly you got to revisit the reason for choosing BizTalk.
    “the time consuming for this single huge file is around 10 to 20 minutes”
     - This is a problem.
    You could consider other file transfer options like XCopy or RobotCopy etc if you want to transfer to another local/shared drive. Or you can consider using SSIS
    which does comes with many adapters to send to destination system depending on their destination transfer protocol.
    But in your case, you have some of the advantages that you get with BizTalk. For your scenario, you have more source systems (more Receive locations), with BizTalk
    it’s always easier to manage these configurations, you can easily enable and disable them when a need arise. You can easily configure tracking; configure host instances based on load etc. So you can consider following design for your requirement. This design
    would suit you well since you’re not processing the message and just pass it through from source to destination:
    Use a custom pipeline component in the Receive Locations which receives the large file.
    Stores the received file into disk and creates a small XML metadata message that contains the information about where the large file is stored.
    The small XML message is then published into the
    message box db
    instead of the large file. Let the metadata file also contain the same context properties as the received file.
    In the send port, use another custom pipeline component that process the metadata xml file, retrieve the location of the disk where the file is stored, access the file and send it to destination.
    Read the following article on this design..
    http://www.codeproject.com/Articles/180333/Transfer-Large-Files-using-BizTalk-Send-Side
    This way you don’t need to publish the whole message into message box DB which would considerably reduce the processing time and utilises host instance to process
    more files. This way you can still get the advantages of BizTalk and still process large files.
    And regarding your question of restricting the Receive location to handles the number of files from receives location. No it’s not possible.
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • XML file not being read by Accordion Demo

    I had this working last week and it was a beautiful thing. I
    subsequently added many more product items to the products.xml file
    and resent it, now the products.xml file is not being read by the
    index page. I have read all the posts and added all the suggested
    fixes -
    added {useCache: false} to result in var dsProductFeatures =
    new Spry.Data.XMLDataSet("products.xml", "products/product[name =
    '{dsProducts::name}']/features/feature",{useCache: false})
    added <cfheader name="Cache-Control" value= "no-cache">
    <cfheader name="Expires" value="0">
    <cfheader name="Pragma" value="no-cache"> to header
    added var d = new Date();
    var cToday = d.getSeconds();
    var spryURL = "
    http://localhost:8500/SpryMe/Sample1/employees.xml?cacheBuster="
    + cToday; to header
    but my xml file is not being read. The script is running
    because the little fields on the right are moving.
    Any suggestions would be greatly appreciated!

    Hi,
    What's happening if you open the xml page (employees.xml)
    directly in browser. Are you able to see all the records? Is the
    XML valid?
    Regards,
    Dragos.
    PS: do you have a public URL where we can see that?

  • Pdf files not being read in mac

    the pdf files i create in acrobat pro 9 are not able to be read by mac users. can anyone help me out with this?

    How are you sending them to Mac users? If by email, you might try to zip them first. If they are not able to receive zip files in the emails then you might try posting the pdf file to a web or ftp site.

  • Biztalk 2006 r2 - receive one message - send x (nearly) clones according to a field in the original one

    What they want biztalk to do :
    BTS receive a workorder-xml that holds a productionid and a quantity. (f.e. 4)
    What they want is that biztalk sends out 4 (=  the quantity) workorder-xml's that hold all the same info as the original one.
    Except that they want the productionid to be different in each xml  fe productionid-1, productionid-2,etc....
    and that the quantity is 1 in each xml. 
    So originating system sends 1 workorder to produce  x pieces and the receiving system gets x workorders to create 1 piece and make sure the productionorder-ids are unique. (they use the same schema)
    I already see part of it in an orchestration , get that quantity somehow and loop over a send-message as many times as is in the quantity. but what would be the nicest/easiest way to fill those changed fields (all the rest remains the same)
    I'm thinking about mapping two times  schema1-in -> newschema-inbetween -> schema1-out
    But just checking if there is another way
    Kind regards Isabelledc

    Also consider a messaging only solution if performance is a real non functional requirement and drop the orchestration. Sounds like you not doing very much other than changing the production Id. Create a pipeline to split your message and update the production
    ids. 
    If however the splitting of the messaging becomes more complex later then consider a debatching pattern as described in Ashwins blog http://social.technet.microsoft.com/wiki/contents/articles/19644.biztalk-generating-flat-file-schema-for-file-with-tag-identifiers-not-at-the-beginning-grouping-data-by-element-and-debatching.aspx
    Hope that adds to your list of possible solutions. 

  • Office 2013 ADMX files not being read by group policy editor?

    Okay so I'm having a real problem with the ADMX files for Office 2013. First of all we have a mix of 2012 R2 DCs with one 2008 R2 DC. The 2008 R2 is currently the primary DC. Here's what I've done so far:
    Downloaded the ADMX files both 32 and 64bit.
    Copied from my machine (Win7) to 2012R2 DC.
    Downloaded and copied directly to the 2012R2DC policy definitions location
    According to the research I've done, the Office 2013 template is supposed to appear under User Configuration\Policies\Administrative Templates. However it doesn't show up no matter what I do.
    I consider myself fairly knowledgeable with GPOs but I'm stumped on this one. Can someone tell me what I'm missing here?

    Hi, 
    Have you copied the ADML files to the language folder in the PolicyDefinitions folder?
    Checkout the below thread on similar discussion,
    office 2013 admx templates
    Regards,
    Gopi
    www.jijitechnologies.com

  • XML files are being read as PBEM game file format!!

    Hello,
    I am trying to edit some .xml files in Script Editor but everytime I try to open them I am told :
    'Script Editor cannot open files in the "PBEM game file" format'
    (Double clicking the .xml file opens up the Big Bang game)
    Does anyone know how to get round this? also is Script Editor the best application to use? I want to use an editor that has colours.
    Many thanks, rob

    Script Editor has one purpose - editing and compiling AppleScript.
    I can't account for the wording of the error message, but for sure I wouldn't expect it to handle XML files directly.
    You could use AppleScript to manipulate the XML data, but that's probably not ideal either.
    What you need is a text editor. BBEdit would be my first choice, or its cheaper (read: free) sibling TextWrangler.
    Both can handle any type of text file, including syntax highlighting for many structured files including programming source code.

  • Web.xml file not being read

    Hello, I did a quick search but could not find an answer to my specific problem. (this is also my first night tackling servlets) i hope this hasnt been answered before. here goes...
    i'm using Tomcat 4.1 and this is my file structure where i put my servlets:<intstall dir>/webappps/ROOT/WEB-INF/classes/TestPackage.
    this is my code for the servlet
    package TestPackage;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    /** Example using servlet initialization. Here the message
      * to print and the number of times the message should be
      * repeated is taken from the init parameters.
    public class ShowMessage extends HttpServlet
         private String message;
         private String defaultMessage = "No message.";
         private int repeats = 1;
         public void init(ServletConfig config) throws ServletException
              //Always call super.init
              super.init(config);
              message = config.getInitParameter("message");
              if (message == null)
                   message = defaultMessage;
              try
                   String repeatString = config.getInitParameter("repeats");
                   repeats = Integer.parseInt(repeatString);
              catch(NumberFormatException nfe)
                   //do nothing
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws
                                            ServletException, IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              String title = "The ShowMessage Servlet";
              out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
                               "Transitional//EN\">\n" +
                               "<HTML>\n" +
                             "<body bgcolor=\"#FDF5E6\">\n" +
                             "<h1 align=center>" + title + "</h1>");
              for(int i=0; i<repeats; i++)
                   out.println(message + "<br>");
              out.println("</body></html>");
    }my web.xml file is in <intstall dir>/webappps/ROOT/WEB-INF. it looks like:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
      <servlet>
          <servlet-name>
            ShowMsg
          </servlet-name>
          <servlet-class>
            TestPackage.ShowMessage
          </servlet-class>
          <init-param>
            <param-name>
              message
            </param-name>
            <param-value>
              Shibboleth
            </param-value>
          </init-param>
          <init-param>
            <param-name>
              repeats
            </param-name>
            <param-value>
              5
            </param-value>
          </init-param>
      </servlet>
    </web-app>when i access the servlet i get "No message" one time which is the default message. Any ideas as to why its not picking up the init parameters. I've restarted my laptop and started and stopped Tomcat a few times and i always get the default message...i also tried ShowMessage in replace of ShowMsg as the <servlet-name>, to no avail. I also tried removing the package name in the <servlet-class>, still nothing. Is there another web.xml file some where else that i need to update?
    Thanks! (sorry for the long code)
    BB

    The doGet method works if you are sending data from a form using get method. It is better to use service method.

  • Is there anyway to handle an exception when a file is being read?

    Let's say that I have a BPEL process that is initiated when the polling File Reader finds a file (flat file) to process. I've noticed before that if the flat file it finds does not have enough characters in one of the record lines, the reading of the file will fail and an error message appears in the server logs.
    Is there anyway to handle this error/exception and proceed, through BPEL, to send notifications...etc?

    When file is read your main bpel process doesn't come in the picture, it is done via File adapter. If adapter fails to read, you can call second bpel process (rejection handler, which implements specific interface and reads as opaque).
    In nut-shell, you will need one more proccess, but that can be genaric and shared across the enterprise.
    Regards,
    Chintan

  • [SOLVED] firewire camera issue - buffer being read twice?

    Hi,
    I have a firewire camera (Imagingsource DFK 41BF02.h) and I am using Coriander to get images (video) from the camera.  The issue is that on my current Arch Linux build, which is up to date as of right now, the video buffer seems to get played twice.  That is, whatever happens in front of the camera is shown twice.  The period of repetition depends on the size of the 'DMA ring buffer' which I can set in Coriander.
    From my understanding, Coriander is basically a front end for the libdc1394 library.  The issue doesn't seem to be with Coriander, as an application which was developped in house has the same issue when built and run on my machine. If I boot into Ubuntu 12.04 on another partition, the camera works as it should in both Coriander and our application.  That version of ubuntu seems to be using a slightly older version of the libdc1394 and libraw1394.  However, I have tried downgrading these packages in Arch and the issue persisted.  Building both libraries from the latest source also did not solve the issue.
    I'm not really sure what else to try, and I haven't been able to find anything resembling a similar issue that someone else has had.
    Thank you.
    UPDATE:
    Ok, another thing I noticed is that this problem doesn't occur if I put the camera into B&W mode, that is, if I switch the pixel mode from YUV422 to MONO8 (mono 8bpp), then the issue goes away.
    Last edited by ssalenik (2013-06-26 18:26:35)

    Not 100% certain this is Arch Linux's fault, but I've reported this as a bug:
    https://bugs.archlinux.org/task/35931

  • Unable to pick up the file from Receive Location

    BizTalk is  unable to pick up the files from receive location.
    My admin console is working so slow.
    It is showing the problem of snap-in as follows:
    I have checked all my receive location and its masking,it is working fine.
    Actually it is working fine in dev server(snap-in problem is not occuring in dev server ) but when I import MSI and binding in UAT server.
    It is not picking up the file from receive location.
    I want to know one more thing :if my message box database is not working fine,will it receive the files from receive location.
    Prakash

    For files not received by receive location. If the Receive Location is still enabled but files are not processed by Receive Location, then check whether the host instance  configured with your receive location is running. If the host instance is in
    running state, restart the host instance and try.
    Regarding the error in the admin console as shown in the image, people started to see this issue with admin console from BizTalk 2009 onwards. This happens in cases like you have done some activity with console and before its been refreshed it you do more
    activities like expanding the node you will see this error. Sometimes WMI is bit slowly to refresh your admin console screen. Just wait for few seconds untill the WMI screen is rendered completely. Ensure you have all the cumulative updates installed for your
    version of BizTalk and also ensure the service pack for your OS is updated.
    Obviously if message box is not working, files will not be received/processed. But if message box is not in healthy state this would affect all other application not just one and in-fact it would affect entire BizTalk not just Receive Locations.
    To start analysing this file not been processed by Receive Location, start with checking the host instance as mentioned.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to get application name from a receive location?

    Hi all,
    I am trying to do a custom error application, and I want to notify system admin users that "the receive port XXXX has stopped in application YYYYYY".
    Right now I do know which receive location that is being suspended. But I am not being able to get the application name, associated to this receive location (I can also get the ReceivePort, if it matters).
    I've tried 2 ways:
    > using WMI
    > Using SQL (direct query in BizTalk databases - for testing).
    I did not found any solution, even search table by table, i did not found a relation between Applications and receive location..
    Anyone? 
    Thanks in advance
    Ricardo Bessa

    The following SQL query should give you a result of every disabled receive location as well as it's receive port and application:
    SELECT
    RL.Name AS ReceiveLocationName
    , RP.nvcName AS ReceivePortName
    , APP.nvcName As Application
    FROM [BizTalkMgmtDb].[dbo].[adm_ReceiveLocation] AS RL WITH(NOLOCK)
    INNER JOIN [BizTalkMgmtDb].[dbo].[bts_receiveport] AS RP WITH(NOLOCK)
    ON RL.ReceivePortId = RP.nID
    INNER JOIN [BizTalkMgmtDb].[dbo].[bts_application] AS APP WITH(NOLOCK)
    ON RP.nApplicationID = APP.nID
    WHERE
    RL.[Disabled] = -1
    ORDER BY Application ASC
    Christian @ IntegrationAdmin.com

  • Special characters being read from the unicode file for greek language

    Hi All,
    I have a report which would upload a unicode file and then update the vendor master data accordingly.
    The file contains greek characters too.
    when the file is being read in the code, some special characters are being added up to the vendor number which is the first entry. The special characters are not included in the file , but are added up only to the first vendor number and not any other vendor numbers.
    The logic that is being used is as follows :
    TRY.
          IF unicode IS INITIAL.
            IF codepage IS INITIAL.
    *-->      For backward compatibility where this FM might be called from
    *         other dependent objects (FMs/dynamic subroutines)
    *         which donot have access to  user's input w.r.t Unicode parameters
              OPEN DATASET filename FOR INPUT
                   IN LEGACY TEXT MODE
                   MESSAGE msg
                   REPLACEMENT CHARACTER repl_char
                   IGNORING CONVERSION ERRORS
                   FILTER filter.                         
            ELSE.
    *--> System in non-unicode and Unicode Environment (Phases I and II)
              OPEN DATASET filename FOR INPUT
                   IN LEGACY TEXT MODE CODE PAGE codepage MESSAGE msg
                   REPLACEMENT CHARACTER repl_char
                   IGNORING CONVERSION ERRORS
                   FILTER filter.                          
            ENDIF.
          ELSE.
    *-->  Extract File in Unicode format - Phase III
            OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING UTF-8
            MESSAGE msg
            FILTER filter.                                 
          ENDIF.
          IF sy-subrc NE 0.
            MESSAGE e001(zuni) WITH filename sy-subrc
             RAISING file_open_error.
          ENDIF.
    the unicode parameters used are : codepage = 8000.
    An early reply is most appreciated.
    Regards,
    Manu.

    Please check SAP notes for Eastern European Characters in Unicode system. and may be below code helps you
    DATA:
        ltp_bom                  TYPE sychar01,
        ltp_encoding             TYPE sychar01,
        ltp_codepage             TYPE cpcodepage.
    Processing --------------------------------------------------------- *
      TRY.
          CALL METHOD cl_abap_file_utilities=>check_utf8
            EXPORTING
              file_name         = itp_filename
              max_kb            = -1
              all_if_7bit_ascii = abap_true
            IMPORTING
              bom               = ltp_bom
              encoding          = ltp_encoding.
        CATCH cx_sy_file_open .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_open_error.
        CATCH cx_sy_file_authority .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_authority_error.
        CATCH cx_sy_file_io .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_io_error.
      ENDTRY.
      CASE ltp_encoding.
        WHEN cl_abap_file_utilities=>encoding_utf8
          OR cl_abap_file_utilities=>encoding_7bit_ascii.
          CASE ltp_bom.
            WHEN cl_abap_file_utilities=>no_bom.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8.
            WHEN cl_abap_file_utilities=>bom_utf8.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8
                  SKIPPING BYTE-ORDER MARK.
            WHEN cl_abap_file_utilities=>bom_utf16_be.
              ltp_codepage = '4102'.
              OPEN DATASET itp_filename FOR INPUT IN LEGACY BINARY MODE
                BIG ENDIAN CODE PAGE ltp_codepage.
            WHEN cl_abap_file_utilities=>bom_utf16_le.
              ltp_codepage = '4103'.
              OPEN DATASET itp_filename FOR INPUT IN LEGACY BINARY MODE
                LITTLE ENDIAN CODE PAGE ltp_codepage.
            WHEN OTHERS.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8.
          ENDCASE.
        WHEN OTHERS.
          OPEN DATASET itp_filename FOR INPUT IN LEGACY TEXT MODE.
      ENDCASE.
    Edited by: Nilesh Shete on May 7, 2010 5:29 PM

Maybe you are looking for

  • Slow Printing Startup When Using Windows Vista

    My husband just bought a new HP computer with the Windows Vista OS on it. He has an HP LaserJet 1012 printer. The printer did not work until we downloaded the most recent driver for the printer. Now, it prints, but there is about a 20-30 delay after

  • What heart rate monitors will pair with the new iPod nano?

    Are there heart rate monitors that will pair with the new 7th generation iPod nano?

  • Hi it's urgent

    hi genius i need a help in hr madule ,i am developing a report based on the tcode pa20, actually when u are go to the tcode pa20,in that give one personnel number and choose organizational assignment excecute it,you can find a screen consist of datas

  • Differentiate between oa page and iStore page(jsp)

    Hi, How to Differentiate between OA page and iStore pages?

  • Refresh tab is blank.

    Hi, I have installed and configured OBIA 7.9.6... I haven't yet started any data loading... My question is, Will there be any tables displayed before data load in the Refresh Dates tab under Setup->PhysicalDatasources->Datawarehouse Currently my Refr