Wrong utf8  encoding  for one "BAD" cyrillic letter И  ?

Hi everybody!
I have JDeveloper 10.1.2.1.0.
The web server is embeded OC4J server or standalone OC4J container. (10.3)
The database is running in CL8MSWIN1251 character set. (I tried 9.2.0.8 and 10.2 with the the some result).
I generated PL/SQL web-service,
based on the simple packаged procedure:
FUNCTION testConnection RETURN XMLType
IS
v XMLType;
v_session_user VARCHAR2(32);
v_db_name VARCHAR2(32);
v_language VARCHAR2(32);
BEGIN
v := XMLType('<?xml version="1.0" encoding="UTF-8"?>
<root>
<ROW>
<DevelopedBy>'||convert('АБВГДЕ','UTF8','CL8MSWIN1251')||'<DevelopedBy>
</ROW>
</root>
RETURN v;
END testConnection;
It works, and as a responce of the service I get correct XML:
- <ROW>
<DevelopedBy>АБВГД</DevelopedBy>
</ROW>
Problem occurs when procedure must return one special cyrillic letter И (И Capital) UTF-8; d0,98.
For "small" и (UTF-8 d0,b8) everithing is OK.
In case when output must be <DevelopedBy>И</DevelopedBy>
I got an error message:
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.sql.SQLException: Invalid UTF8 encoding.</faultstring> <faultactor>/WebXML/WebService1</faultactor>
</SOAP-ENV:Fault>
In System.out I can see an error stack:
08/01/05 22:48:05 java.io.UTFDataFormatException: Invalid UTF8 encoding.
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2254)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1999)
08/01/05 22:48:05      at oracle.xml.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:331)
08/01/05 22:48:05      at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:300)
08/01/05 22:48:05      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:280)
08/01/05 22:48:05      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
08/01/05 22:48:05      at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
08/01/05 22:48:05      at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:107)
08/01/05 22:48:05      at dbl92.WebService1Impl.testconnection(WebService1Impl.sqlj:85)
So the cyrillic letter И in UTF8 encoding is a spcecial case???
Can somebody help me
Sergey Stoklitskiy,
Moscow

The problem is gone. Kopete suddenly was working again after copying and pasting a text from a website and sending it to one of my contacts.

Similar Messages

  • Force jvm to use UTF8 encoding for properties?

    hi,
    my problem is i cannot display turkish characters that are retrieved from properties file [(key, value) pair].The value may contain turkish characters.
    reference : java toc
    "..When saving properties to a stream or loading them from a stream, the ISO 8859-1 character encoding is used. For characters that cannot be directly represented in this encoding, Unicode escapes are used; however, only a single 'u' character is allowed in an escape sequence..."
    instead of iso 8859-1 or directly representing non-conforming characters in the form of UTF8 encoding , i want to use UTF8 . i dont know is there a way to enforce the encoding to UTF8 .is it possible ?
    note : javac -encoding or java -Djava.encoding has no use..
    thanx in advance

    Hi,
    I did a lot of testing with the method of my last posting and ran into the following problem: each character, that is not available in iso 8859-1 is discarded and replaced by a '?'. So when e.g. loading arabic characters you get just "?????" as your property's value.
    The only possibility to enable other encodings of Property Files is to replace the encoding of the reader to one that is better suited. So I created a customized class, that inherits from java.util.Properties, and supports loading and storing to any encoding. This class I give here:
    * Properties.java
    * Created on 11. Juni 2003, 14:08
    package xy;
    * The <code>Properties</code> class represents a persistent set of
    * properties. The <code>Properties</code> can be saved to a stream
    * or loaded from a stream. Each key and its corresponding value in
    * the property list is a string.
    * <p>
    * A property list can contain another property list as its
    * "defaults"; this second property list is searched if
    * the property key is not found in the original property list.
    * <p>
    * Because <code>Properties</code> inherits from <code>Hashtable</code>, the
    * <code>put</code> and <code>putAll</code> methods can be applied to a
    * <code>Properties</code> object.  Their use is strongly discouraged as they
    * allow the caller to insert entries whose keys or values are not
    * <code>Strings</code>.  The <code>setProperty</code> method should be used
    * instead.  If the <code>store</code> or <code>save</code> method is called
    * on a "compromised" <code>Properties</code> object that contains a
    * non-<code>String</code> key or value, the call will fail.
    * <p>
    * <a name="encoding"></a>
    * When saving properties to a stream or loading them from a stream, the
    * ISO 8859-1 character encoding can be used. For characters that cannot be directly
    * represented in this encoding,
    * <a href="http://java.sun.com/docs/books/jls/html/3.doc.html#100850">Unicode escapes</a>
    * are used; however, only a single 'u' character is allowed in an escape sequence.
    * The native2ascii tool can be used to convert property files to and from
    * other character encodings.
    * </p>
    * <p>
    * This Properties class is an extension of the default properties class an supports the
    * loading and saving from and into other encodings than ISO 8859-1.
    * </p>
    * @see <a href="../../../tooldocs/solaris/native2ascii.html">native2ascii tool for Solaris</a>
    * @see <a href="../../../tooldocs/win32/native2ascii.html">native2ascii tool for Windows</a>
    * @author  Gregor Kappler, extended the class of JDK by
    * @author  Arthur van Hoff
    * @author  Michael McCloskey
    * @version 1.64, 06/26/00
    * @since   JDK1.0
    public class Properties extends java.util.Properties {
        private static final String keyValueSeparators = "=: \t\r\n\f";
        private static final String strictKeyValueSeparators = "=:";
        private static final String specialSaveChars = "=: \t\r\n\f#!";
        private static final String whiteSpaceChars = " \t\r\n\f";
        /** Creates a new instance of Properties */
        public Properties() {
         * Reads a property list (key and element pairs) from the input stream.
         * The stream is assumed to be in the specified character encoding.
         * <p>
         * Every property occupies one line of the input stream. Each line
         * is terminated by a line terminator (<code>\n</code> or <code>\r</code>
         * or <code>\r\n</code>). Lines from the input stream are processed until
         * end of file is reached on the input stream.
         * <p>
         * A line that contains only whitespace or whose first non-whitespace
         * character is an ASCII <code>#</code> or <code>!</code> is ignored
         * (thus, <code>#</code> or <code>!</code> indicate comment lines).
         * <p>
         * Every line other than a blank line or a comment line describes one
         * property to be added to the table (except that if a line ends with \,
         * then the following line, if it exists, is treated as a continuation
         * line, as described
         * below). The key consists of all the characters in the line starting
         * with the first non-whitespace character and up to, but not including,
         * the first ASCII <code>=</code>, <code>:</code>, or whitespace
         * character. All of the key termination characters may be included in
         * the key by preceding them with a \.
         * Any whitespace after the key is skipped; if the first non-whitespace
         * character after the key is <code>=</code> or <code>:</code>, then it
         * is ignored and any whitespace characters after it are also skipped.
         * All remaining characters on the line become part of the associated
         * element string. Within the element string, the ASCII
         * escape sequences <code>\t</code>, <code>\n</code>,
         * <code>\r</code>, <code>\\</code>, <code>\"</code>, <code>\'</code>,
         * <code>\  </code>  (a backslash and a space)
         * are recognized and converted to single
         * characters. Moreover, if the last character on the line is
         * <code>\</code>, then the next line is treated as a continuation of the
         * current line; the <code>\</code> and line terminator are simply
         * discarded, and any leading whitespace characters on the continuation
         * line are also discarded and are not part of the element string. <br>
         * Note:
         * <code>\u</code><i>xxxx</i> is not supported if the encoding is not
         * ISO 8859-1!
         * <p>
         * As an example, each of the following four lines specifies the key
         * <code>"Truth"</code> and the associated element value
         * <code>"Beauty"</code>:
         * <p>
         * <pre>
         * Truth = Beauty
         *     Truth:Beauty
         * Truth               :Beauty
         * </pre>
         * As another example, the following three lines specify a single
         * property:
         * <p>
         * <pre>
         * fruits                    apple, banana, pear, \
         *                                  cantaloupe, watermelon, \
         *                                  kiwi, mango
         * </pre>
         * The key is <code>"fruits"</code> and the associated element is:
         * <p>
         * <pre>"apple, banana, pear, cantaloupe, watermelon, kiwi, mango"</pre>
         * Note that a space appears before each <code>\</code> so that a space
         * will appear after each comma in the final result; the <code>\</code>,
         * line terminator, and leading whitespace on the continuation line are
         * merely discarded and are <i>not</i> replaced by one or more other
         * characters.
         * <p>
         * As a third example, the line:
         * <p>
         * <pre>cheeses
         * </pre>
         * specifies that the key is <code>"cheeses"</code> and the associated
         * element is the empty string.<p>
         * @param      inStream   the input stream.
         * @exception  IOException  if an error occurred when reading from the
         *               input stream.
        public synchronized void load(java.io.InputStream inStream, java.nio.charset.Charset encoding) throws java.io.IOException {
            if (encoding.equals (encoding.forName("8859_1"))) {
                super.load (inStream);
                return;
            java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(inStream, encoding));
         while (true) {
                // Get next line
                String line = in.readLine();
                if (line == null)
                    return;
                if (line.length() > 0) {
                    // Continue lines that end in slashes if they are not comments
                    char firstChar = line.charAt(0);
                    if ((firstChar != '#') && (firstChar != '!')) {
                        while (continueLine(line)) {
                            String nextLine = in.readLine();
                            if(nextLine == null)
                                nextLine = "";
                            String loppedLine = line.substring(0, line.length()-1);
                            // Advance beyond whitespace on new line
                            int startIndex=0;
                            for(startIndex=0; startIndex<nextLine.length(); startIndex++)
                                if (whiteSpaceChars.indexOf(nextLine.charAt(startIndex)) == -1)
                                    break;
                            nextLine = nextLine.substring(startIndex,nextLine.length());
                            line = new String(loppedLine+nextLine);
                        // Find start of key
                        int len = line.length();
                        int keyStart;
                        for(keyStart=0; keyStart<len; keyStart++) {
                            if(whiteSpaceChars.indexOf(line.charAt(keyStart)) == -1)
                                break;
                        // Blank lines are ignored
                        if (keyStart == len)
                            continue;
                        // Find separation between key and value
                        int separatorIndex;
                        for(separatorIndex=keyStart; separatorIndex<len; separatorIndex++) {
                            char currentChar = line.charAt(separatorIndex);
                            if (currentChar == '\\')
                                separatorIndex++;
                            else if(keyValueSeparators.indexOf(currentChar) != -1)
                                break;
                        // Skip over whitespace after key if any
                        int valueIndex;
                        for (valueIndex=separatorIndex; valueIndex<len; valueIndex++)
                            if (whiteSpaceChars.indexOf(line.charAt(valueIndex)) == -1)
                                break;
                        // Skip over one non whitespace key value separators if any
                        if (valueIndex < len)
                            if (strictKeyValueSeparators.indexOf(line.charAt(valueIndex)) != -1)
                                valueIndex++;
                        // Skip over white space after other separators if any
                        while (valueIndex < len) {
                            if (whiteSpaceChars.indexOf(line.charAt(valueIndex)) == -1)
                                break;
                            valueIndex++;
                        String key = line.substring(keyStart, separatorIndex);
                        String value = (separatorIndex < len) ? line.substring(valueIndex, len) : "";
                        // Convert then store key and value
                        key = loadConvert(key);
                        value = loadConvert(value);
                        put(key, value);
         * Writes this property list (key and element pairs) in this
         * <code>Properties</code> table to the output stream in a format suitable
         * for loading into a <code>Properties</code> table using the
         * <code>load</code> method.
         * The stream is written using the ISO 8859-1 character encoding.
         * <p>
         * Properties from the defaults table of this <code>Properties</code>
         * table (if any) are <i>not</i> written out by this method.
         * <p>
         * If the header argument is not null, then an ASCII <code>#</code>
         * character, the header string, and a line separator are first written
         * to the output stream. Thus, the <code>header</code> can serve as an
         * identifying comment.
         * <p>
         * Next, a comment line is always written, consisting of an ASCII
         * <code>#</code> character, the current date and time (as if produced
         * by the <code>toString</code> method of <code>Date</code> for the
         * current time), and a line separator as generated by the Writer.
         * <p>
         * Then every entry in this <code>Properties</code> table is written out,
         * one per line. For each entry the key string is written, then an ASCII
         * <code>=</code>, then the associated element string. Each character of
         * the element string is examined to see whether it should be rendered as
         * an escape sequence. The ASCII characters <code>\</code>, tab, newline,
         * and carriage return are written as <code>\\</code>, <code>\t</code>,
         * <code>\n</code>, and <code>\r</code>, respectively. Characters less
         * than <code>\u0020</code> and characters greater than
         * <code>\u007E</code> are written as <code>\u</code><i>xxxx</i> for
         * the appropriate hexadecimal value <i>xxxx</i>. Leading space characters,
         * but not embedded or trailing space characters, are written with a
         * preceding <code>\</code>. The key and value characters <code>#</code>,
         * <code>!</code>, <code>=</code>, and <code>:</code> are written with a
         * preceding slash to ensure that they are properly loaded.
         * <p>
         * After the entries have been written, the output stream is flushed.  The
         * output stream remains open after this method returns.
         * @param   out      an output stream.
         * @param   header   a description of the property list.
         * @exception  IOException if writing this property list to the specified
         *             output stream throws an <tt>IOException</tt>.
         * @exception  ClassCastException  if this <code>Properties</code> object
         *             contains any keys or values that are not <code>Strings</code>.
         * @exception  NullPointerException  if <code>out</code> is null.
         * @since 1.2
        public synchronized void store(java.io.OutputStream out, java.nio.charset.Charset encoding, String header)
        throws java.io.IOException
            if (encoding.equals (encoding.forName("8859_1"))) {
                super.store (out,header);
                return;
            java.io.BufferedWriter awriter;
            awriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(out,encoding));
            if (header != null)
                writeln(awriter, "#" + header);
            writeln(awriter, "#" + new java.util.Date().toString());
            for (java.util.Enumeration e = keys(); e.hasMoreElements();) {
                String key = (String)e.nextElement();
                String val = (String)get(key);
                key = saveConvert(key, true);
             /* No need to escape embedded and trailing spaces for value, hence
              * pass false to flag.
                val = saveConvert(val, false);
                writeln(awriter, key + "=" + val);
            awriter.flush();
         * changes special saved chars to their original forms
        private String loadConvert (String theString) {
            char aChar;
            int len = theString.length();
            StringBuffer outBuffer = new StringBuffer(len);
            for(int x=0; x<len; ) {
                aChar = theString.charAt(x++);
                if (aChar == '\\') {
                    aChar = theString.charAt(x++);
                    if (aChar == 't') aChar = '\t';
                    else if (aChar == 'r') aChar = '\r';
                    else if (aChar == 'n') aChar = '\n';
                    else if (aChar == 'f') aChar = '\f';
                    else if (aChar == '\\') aChar = '\\';
                    else if (aChar == '\"') aChar = '\"';
                    else if (aChar == '\'') aChar = '\'';
                    else if (aChar == ' ') aChar = ' ';
                    else
                        throw new IllegalArgumentException ("error in Encoding: '\\"+aChar+" not supported");
                    outBuffer.append(aChar);
                } else
                    outBuffer.append(aChar);
            return outBuffer.toString();
         * writes out any of the characters in specialSaveChars
         * with a preceding slash
        private String saveConvert(String theString, boolean escapeSpace) {
            int len = theString.length();
            StringBuffer outBuffer = new StringBuffer(len*2);
            for(int x=0; x<len; x++) {
                char aChar = theString.charAt(x);
                switch(aChar) {
              case ' ':
                  if (x == 0 || escapeSpace)
                   outBuffer.append('\\');
                  outBuffer.append(' ');
                  break;
                    case '\\':outBuffer.append('\\'); outBuffer.append('\\');
                              break;
                    case '\t':outBuffer.append('\\'); outBuffer.append('t');
                              break;
                    case '\n':outBuffer.append('\\'); outBuffer.append('n');
                              break;
                    case '\r':outBuffer.append('\\'); outBuffer.append('r');
                              break;
                    case '\f':outBuffer.append('\\'); outBuffer.append('f');
                              break;
                    default:
    //                    if ((aChar < 0x0020) || (aChar > 0x007e)) {
    //                        outBuffer.append(aChar);
    //                    } else {
                            if (specialSaveChars.indexOf(aChar) != -1)
                                outBuffer.append('\\');
                            outBuffer.append(aChar);
            return outBuffer.toString();
         * Returns true if the given line is a line that must
         * be appended to the next line
        private boolean continueLine (String line) {
            int slashCount = 0;
            int index = line.length() - 1;
            while((index >= 0) && (line.charAt(index--) == '\\'))
                slashCount++;
            return (slashCount % 2 == 1);
        private static void writeln(java.io.BufferedWriter bw, String s) throws java.io.IOException {
            bw.write(s);
            bw.newLine();
    }I hope you can use this class for your needs as I can. For me it supports any characters so far. If you find some bugs on it, let me know
    Regards,
    Gregor Kappler

  • Wrongly payroll run for one employee, who left company several month ago

    Hi all,
    There is one case.
    One employee left company several months ago and his payroll data was also determined in the system. But the month payroll run included this guy not correctly. And also there are not any change found for his info type data with pc00_m16_uaud. But system shows the payroll administer, who run the payroll this month, changed his payroll master data in infotype 3.
    Any suggestion about this case will be appreciated.
    Julian

    Hi Jullian
    A Retro payroll runs if  "Earl.pers. RA date" is changed in Infotype 3. This also changes if there is any master data change in any payroll related Infotype like 8, 14, 15 etc. Please check if any data has changed for the employee to cause Retro payroll run.
    Thanks

  • Planning Error: java.io.UTFDataFormatException: Invalid UTF8 encoding.

    Hi,
    We are getting the below error in the Planning Application logs. Any clues how we can resolve this.
    WatchData: DATE = Nov 30, 2012 1:57:26 AM EST SERVER = EPMServer0 MESSAGE = [ServletContext@849971677[app:PLANNING module:HyperionPlanning path:/HyperionPlanning spec-version:2.5 version:11.1.2.0]] Root cause of ServletException.
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:174)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:201)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:134)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2649)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1177)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3217)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:593)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1766)
    at HspSmartViewServlet.Handle(HspSmartViewServlet.java:2620)
    at HspSmartViewServlet.doPost(HspSmartViewServlet.java:137)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at HspValidationFilter.doFilter(HspValidationFilter.java:10)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Please note that we are using UTF8 encoding for all our product databases.
    Thanks

    Hi..
    Check
    java.io.UTFDataFormatException: Invalid UTF8 encoding translation issueHope this will helpful

  • Problem in Logicpart for a BADI  !! please help me

    hello all ,
    Im writing small code in implementationpart of method for one BADI /SAPSLL/IFEX_SD0C_R3 .
    In the following code Im getting the values into tl_ref2 from the structure present in the method which is having delivery number .
    loop at tl_ref2 into wl_ref.
        move wl_ref-refno to wl_likp-vbeln.
        append wl_likp to tl_likp.
      endloop.
    *C Finding the shipment number from the delivery number
      clear wl_likp.
      if not tl_likp is initial .
    loop at tl_likp into wl_likp.
        select vbeln
                from
                 vbfa
          into corresponding fields of table tl_vttk
         where vbelv = wl_likp-vbeln and vbtyp_n = '8'.
          endloop.
      endif .
    Here for the delivery 80009852 the values exist in VBFA table . But I'm getting sy-subrc = 4 and the table tl_vttk is not filled .
    I have tried all possible ways .i have changed the code into for all entries , declared same data types, but still sy-subrc = 4 even though the values exist in VBFA table .
    Please tell me why tl_vttk table is not filled even though the value exist in VBFA table
    regards
    pavan

    Hi Uma
    Thanks for the reply . the conversion routine is already used in the logic . For VBTYP_N = '8', the values exist .
    Please see the detailed code .
    the value for VBELN exist in VBFA . but im gettng sy-subrc = 4 in the select statement
    please see the code below
    tl_ref1         =  cs_hdr_cdoc-ref.
      LOOP AT tl_ref1 INTO wl_ref WHERE objtp = c_objtp .
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'   " For deleting Leading zero's
          EXPORTING
            input  = wl_ref-refno
          IMPORTING
            output = wl_ref-refno.
        APPEND wl_ref TO tl_ref2.
    *C-There can be case when tl_ref1 has multiple entries so wl_ref is not cleared because in case of single entry it is used further
      ENDLOOP.
      DESCRIBE TABLE tl_ref2 LINES l_n.
      clear wl_ref.
      loop at tl_ref2 into wl_ref.
        move wl_ref-refno to wl_likp-vbeln.
        append wl_likp to tl_likp.
      endloop.
    *C Finding the shipment number from the delivery number
      clear wl_likp.
      if not tl_likp is initial .
    loop at tl_likp into wl_likp.
        select vbeln
                from
                 vbfa
          into corresponding fields of table tl_vttk
         where vbelv = wl_likp-vbeln and vbtyp_n = '8'.
          endloop.
      endif .

  • I was mid facetime call and my phone turned off and wouldnt turn on until i plugged it in. then the date was wrong,it said no service, and wont let me turn wifi on. also it wont stay on for more than a few minutes at a time

    i was mid facetime call and my phone turned off and wouldnt turn on until i plugged it in. then the date was wrong,it said no service, and wont let me turn wifi on. also it wont stay on for more than a few minutes at a time. Help?

    Sounds like a hardware failure.
    Make an appointment at the genius bar and take it in for them to look at. It will probably need to be replaced.

  • XMLReader throws "Invalid UTF8 encoding." - Need parser for ISO-8859-1 chrs

    Hi,
    We are facing an issue when we try to send data which is encoded in "ISO-8859-1" charset (german chars) via the EMDClient (agent), which tries to parse it using the oracle.xml.parser.v2.XMLParser . The parser, while trying to read it, is unable to determine the charset encoding of our data and assumes that the encoding is "UTF-8", and when it tries to read it, throws the :
    "java.io.UTFDataFormatException: Invalid UTF8 encoding." exception.
    I looked at the XMLReader's code and found that it tries to read the first 4 bytes (Byte Order Mark - BOM) to determine the encoding. It is probably expecting us to send the data where the first line is probably:
    <?xml version="1.0" encoding="iso88591" ?>
    But, the data that our application sends is typically as below:
    ========================================================
    # listener.ora Network Configuration File: /ade/vivsharm_emsa2/oracle/work/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = semsa2)
    (ORACLE_HOME = /ade/vivsharm_emsa2/oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = stadm18.us.oracle.com)(PORT = 15100))
    ========================================================
    the first 4 bytes in our case will be, int[] {35, 32, 108, 105} == chars {#, SPACE, l, i},
    which does not match any of the encodings predefined in oracle.xml.parser.v2.XMLReader.pushXMLReader() method.
    How do we ensure that the parser identifies the encoding properly and instantiates the correct parser for "ISO-8859-1"...
    Should we just add the line <?xml version="1.0" encoding="iso88591" ?> at the beginning of our data?
    We have tried constructing the inputstream (ByteArrayInputStream) by using String.getBytes("ISO-8859-1") and passing that to the parser, but that does not seem to work.
    Please suggest.
    Thanks & Regards,
    Vivek.
    PS: The exception we get is as below:
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:187)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2229)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:994)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:2788)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:502)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:205)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:180)
    at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:431)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.readXML(RemoteOperationInputStream.java:363)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.readHeader(RemoteOperationInputStream.java:195)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.read(RemoteOperationInputStream.java:151)
    at oracle.sysman.emSDK.emd.comm.EMDClient.remotePut(EMDClient.java:2075)
    at oracle.sysman.emo.net.util.agent.Operation.saveFile(Operation.java:758)
    at oracle.sysman.emo.net.common.WebIOHandler.saveFile(WebIOHandler.java:152)
    at oracle.sysman.emo.net.common.BaseWebConfigContext.saveConfig(BaseWebConfigContext.java:505)

    Vivek
    Your message is not XML. I believe that the XMLParser is going to have problems with that as well. Perhaps you could wrap the message in an XML tag set and begin the document as you suggested with <?xml version="1.0" encoding="iso88591"?>.
    You are correct in that the parser uses only the first 4 bytes to detect the encoding of the document. It can only determine if the document in ASCII or EPCDIC based. If it is ASCII it can detect only between UTF-8 and UTF-16. It will need the encoding attribute to recognize the ISO-8859-1 encoding.
    hope this helps
    tom

  • Safari tries repeatedly to open a page. The page partially opens but then Safari reports that there's something wrong with page and I get an error message. This is happening at too many web sites for one site to be having issues.

    Safari tries repeatedly to open a page. The page partially opens but then Safari reports that there's something wrong with page and I get an error message. This is happening at too many web sites for one site to be having issues.

    I have a similar problem, Safari cannot load a complet page. It stalls e.g. ["38 of 42"]. sometimes it will complete loading after a long wait. just as often it will never complete the page,
    The same thing happens in chrome and firefox but safari on my iPad works just fine.
    I have the latest version of everything
    I assume there is a system problem but cleaning up permissions does not help

  • My ipod nano gen 4 is stolen! He is my first love with ipod. Can I lock this device by use serial number of the device? I don't want any bad guys use or do anything with my love one. Please let me know if have the way to do thanks.

    My ipod nano gen 4 is stolen! He is my first love with ipod. Can I lock this device by use serial number of the device? I don't want any bad guys use or do anything with my love one. Please let me know if have the way to do thanks.

    zenith_nm wrote:
    My ipod nano gen 4 is stolen! He is my first love with ipod. Can I lock this device by use serial number of the device? I don't want any bad guys use or do anything with my love one. Please let me know if have the way to do thanks.
    Nope!
    http://support.apple.com/kb/HT2526 How to report lost or stolen Apple product

  • HT204053 When updating some apps at the app store under an old apple id I get an error that id or password is wrong. How can one change an old id with a new id for these apps?

    When updating some apps at the app store under an old apple id I get an error that id or password is wrong. How can one change an old id with a new id for these apps?

    1. Launch the App Store
    2. Select Store->Sign Out
    3. Select Store->Sign In and replace the Apple ID with the one you want to use

  • How can we use one badi for mutiple times

    HI,
    I have one badi i want to do some changes to previous badi and that is already implemented in some project.
    is it possible to change that badi?

    Hi,
    The Main feature of the BADI is it can have multiple meanings. So go ahead with one more implementaion.
    Thnks,
    Raghu Posani.

  • Kopete: strange encoding problem after sending cyrillic letters

    I'm currently having a strange problem with kopete. If the message sent contains german umlauts like "äöü" the receiver only sees cyrillic letters "дць".
    The problem occurred after sending a text from a website containing a russian sentence.
    If I send german umlauts and cyrillic letters in the same message all letters are displayed correctly on the receivers side. For example "дць äöü".
    The global encoding for the corresponding icq identity is set to "windows-1252". I already tried other encodings like "utf8" but that didn't work (same result).
    Additionally I tried to set the encoding for the specific user which by default is set to "predefined". Again the same result.
    Finally I deleted kopeterc and kopete.notifyrc (from .kde4/share/config/) and history etc from .kde4/share/apps/kopete and reconfigured kopete with the icq account but again with the same effect.
    Does anybody know where kopete or kde is saving the wrong encoding settings or is there anything else I can try?

    The problem is gone. Kopete suddenly was working again after copying and pasting a text from a website and sending it to one of my contacts.

  • [SOLVED] xfce4 automounting problem on usb dev with utf8 encoded files

    I have problem of auto mounting usb external drive contains utf8 encoded files under xfce4.
    Using hal and dbus for usb device detection.
    Heard that I need to add iocharset=utf8 under fstab or hal fdi configure files and tried them all but didn't work
    usb devices with vfat always got mounted with default charset.
    I found out that exo-mount is the one doing the actual mounting and that it is the one that cannot take all extra mounting options such as iocharset etc.
    Have tried gnome to mount this hard drive and works find with nautilus option that let me set various mount options for each harddrive.
    Is there any way to replace exo-mount with some other alternative mounting tools that work with thunar?
    Any workaround will be helpful as long as I can mount my usb drives with prefer charset so that I don't have to guess all ???marked files.
    Heard that xubuntu replaced that exo-mount with gnome-mount to handle drives with extra mount options such as iocharset.
    but I am pretty new to configuring things and couldn't find the step by step instruction for this so please provide the complete solution.
    Link to the pages that explain workaround would be nice as well.
    Thanks in advance!
    Last edited by axca (2007-10-17 18:24:50)

    Found the patch for exo-mount so that it takes additional mount options HAL suggests.
    https://bugzilla.altlinux.org/attachmen … ction=diff
    Now my usb drive can be mounted with the proper charset.
    Hope this patch helps others with similar situation as well!
    Last edited by axca (2007-10-15 15:41:47)

  • Both After Effects & Adobe Media Encode CC giving are not letting me export.

    Dear All,
    Both After Effects & Adobe Media Encode CC giving are not letting me export movies.
    Some times they will, but after one file both programs give me the following error messages.
    After effects:
    “[file path and name].mov. An output module failed. The file may be damaged or corrupted. (-1610153464)"
    AME:
    "Can't read from source."
    I've went through the forum and found threads & pages discussing the problem.
    E.g.
    http://blogs.adobe.com/aftereffects/2013/08/solutions-for-problems-with-quicktime-files-in -after-effects-cc-12-0-because-of-conflict-with-dvcprohdvideoout-quicktime-component.html
    http://forums.adobe.com/thread/1252092
    After following all the tips and suggestions (from deinstalling quicktime components & audio components to completely reinstalling CC) I'm still experiencing the problems.
    Which leaves me in a bit of a squeeze. I need to export over 144 movies in the coming 2 days and the only way to do this is to quit and open media encoder (or AE) after each single export.
    Not really an option.
    Both problems have the process Adobe QT sever in common, I took this from the console:
    9/26/13 1:02:44.517 PM com.apple.launchd.peruser.501[171]: ([0x0-0x42042].com.adobe.Adobe QT32 Server.application[331]) Job appears to have crashed: Segmentation fault: 11
    9/26/13 1:02:44.672 PM ReportCrash[354]: Saved crash report for Adobe QT32 Server[331] version 7.0.1 (7.0.1.0) to /Users/martijn/Library/Logs/DiagnosticReports/Adobe QT32 Server_2013-09-26-130244_martijns-MacBook-Pro-2.crash
    System information:
    Retina MacBook Pro (Mid 2012) (16gb ram)
    Mac OS X 10.8.5 (12F37)
    Running Adobe CC (for teams), all apps are up-to-date.
    I don't no why Adobe puts out such a buggy piece of software (I know it has to with Apple's poor 32bit quicktime implimentation, but hey, this was known information no?).
    Upgrading to CC has given our office nothing but problems.
    Hope someone can help to find a work around until Adobe realeases a proper update and solves this problem once and for all.
    All help is much appreciated.
    Kind regards,
    Martijn

    Hello Tim,
    Thanks for the really quick response!
    Regarding the crash log: it doesn't reference com.apple.audio.CoreAudio (though it did before, so I followed all the steps in your blog post before I posted to this forum).
    I've uploaded the crashlog to:
    http://martijnlambada.com/TMP/AdobeQT32servercrash.zip
    If you want to inspect it. It mentions the DXV codec (which I also uninstalled), but the crash keeps occuring. Also I need to export to DXV since it's the only codec the d3 media
    server accepts (http://d3technologies.com).
    I followed all the steps in the troubleshooting steps.
    Codecs used: I've tried everything from animation to Apple ProRes (including: h264/motion jpeg/uncompressed). With all codecs the Adobe QT32 server keeps crashing (though I can't always reproduce).
    Export destination: Internal SSD (same as where the OS is installed on) + External raid (via firewire & thunderbolt) + external HD via usb 3.0 (tried everything).
    When does the problem start: Really hard to specify, sometimes a day without crashes, sometimes every export for days on end. Sometime after restarting (tried logging out, restarting, switching off and on the computer). With other programs running and with out. Now checking every process active when exporting, and comparing log files.
    Can you export to other formats: See question 1, sometimes I can, sometimes not.
    When you launch AE and/or AME, is QT32 Server running? At what point does it stop running?  Still runing when I open the program. It crashes when exporting (ofter after finishing the first export).
    What component files are in your Library/QuickTime folder?: Currently the folowing:
    AppleAVCIntraCodec
    AppleHDVCodec.component
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    AppleProResCodec.component
    DesktopVideoOut.component
    DVCPROHDCodec.component
    DVCPROHDMuxer.component
    DVCPROHDVideoDigitizer.component
    DVCPROHDVideoOutput.component
    DVCPROHDVideoOutputClock.component
    FCP Uncompressed 422.component
    iChatTheaterPreview.component
    IMXCodec.component
    LiveType.component
    Hope this helps.
    Cheers,
    Martijn

  • Unknown error compiling movie - tiny sections export fine - no one bad clip

    This week I've been dealing with a huge pain exporting a 6 minute video on my retina macbook pro. The sequence is 720p 24fps (23.976) and contains a mix of 720p & 1080p (scaled) AVCHD footage, a couple of 1080p GoPro shots, some 1080p time-lapse clips (quicktime h.264) and some mp3 files.
    Earlier I was having trouble with playback in premiere, but by replacing one bad clip and rendering the rest in small chunks I am now able to play back the sequence with zero issues within premiere.
    However, when I go to export the whole movie, or even a significant chunk, either the system starts spinning its wheels partway through export or I get "error compiling movie - unknown error."
    The workaround I have found when that happens is to restart premiere (often having to force quit) and then try to export a smaller chunk. (Restarting seems to be necessary after an export has failed). Sometimes the chunks become ridiculously small, but there is no one clip or section that won't export if the clips are small enough. I have also tried cleaning the media cache trashing the preferences, neither of which have changed anything.
    Even when I export using the sequence settings of the sequence (which has already been rendered and plays fine within premiere) the problem persists.
    My first question is: how can there be an issue exporting a video with identical settings to a sequence that has already been rendered and plays back fine?? Am I wrong in understanding that no conversion is required in that case? Clearly there is something about the process that I don't understand.
    My second question is, if no one clip or clips are to blame, are there any likely culprits in my system? Is there perhaps a less time-consuming workaround?
    Finally I want to ask: what good does it do to allow users to put different types of media into one timeline if they can never export it?!?!
    This is super frustrating, thank you for any help or insight.

    So, I ran into this the first time recently. I discovered it when I copied an adjustment layer for quick grading with an RGB Color Corrector and Color Balance effects in it from a rehearsal cut of a short film.The effects worked fine and rendered out without issue. I imported the sequence into my 'final' cut so I could reuse the titles and adjustment layer. I copied the adjustment layer to the new rough cut of the final sequence and ran into this error when I tried to render it, but only after applying the adjustment layer. I found that if I turned off the Color Balance, the sequence rendered fine. I found that if I moved the Color Balance above the RGB Color Corrector, the effect of the RGB effect completely disappeared AND it rendered correctly (both effects turned on) - so reversing the order worked, but effects were weird. I also found that if I added ANY non-GPU accelerated effects to the RGB Color Corrector that I'd get the same compile error (unknown).
    I went through and deleted clips until I got to 0 on the timeline, added a new one back on, and it still wouldn't render. So, I created an entirely NEW sequence, copied all video and audio (not adjustment layer) from the original failing rough cut of the final sequence, and pasted it into this new sequence. I also copied the adjustment layer again from the rehearsal cut into this new sequence and it is rendering just fine.
    HOURS WASTED DOING THIS! It would be awesome if Adobe actually tested their products before releasing them instead of forcing us to do it for them. My project consisted of about 30-40 different clips and audio, all from the same DSLR (Nikon D810), nothing fancy, two effects in an adjustment layer applied to the entire sequence, and Premiere couldn't handle it. Given this and some of the comments I read while troubleshooting this on this forum, gives me pause in trusting Adobe products for any real work that has a deadline (unless, of course, you build in the required Adobe testing time into your budget).
    So, just another data point; something else to try. Create a new sequence, and copy everything from your non-working one to it, and see if this will jump-start Premier. Worked for me. Good luck.

Maybe you are looking for

  • Jump Query

    In my sender query(Sales Cube) I have variable as order creation date (I enter a range as 01/01/2006 to 01/10/2006) and do a jump to get the details of delivery dates (delivery Cube), now the issue is delivery can be as early as 01/01/2006 to current

  • No images Design View

    I upgraded to CS3 today and for some reason I can no longer see images in design view. The images are linked absolute to a server and when previewed in a browser they work fine. The images use to show up fine in DW8 so I'm a little confused as to why

  • Increase the JDBC Thread count

    All, Please let me know how to increase the Max thread count for JDBC adapter from 5 to 10 and let us know if there are any impact on the performence. JDBC_http://sap.com/xi/XI/System.Call.maxConsumers 5 JDBC_http://sap.com/xi/XI/System.Recv.maxConsu

  • How to : auto-delete podcasts from itunes

    How can i make itunes to auto-delete a podcast once i have watched it either within itunes or watched it on the iphone? The file is no longer on the iphone when it has been watched but still is in itunes.I have checked podcast settings and set them t

  • Transit Order proposal

    Dear SAP. I would like to know if it is possible to have a different delivery date, for a Transit Order created from a Sales Order. In the Sales Order processing, I have customized a Item Category which automatically generates a Transit Order proposa