Suspect VBKD inconsistency.

Hi gurus
i have one question to ask . i tried to develop a adhoc report using QUERY and inforset.
i join both table VBAP and VBKD togther with the fields VBAP-VBELN VBAP-POSNR join with VBKD-VBELN VBKD-POSNR
after i search through the SE11 find out that VBKD records seem inconsistency.
Here how it goes ...
i have 2 sales order here 50003 and 50055
50003 got 1,2,3 items
50055 got 1,2,3,,,,,9,10 items
where i search VBAP table with both sales order , it shows out perfectly .
But when i search VBKD table sales order no 50055 only have one record which is VBKD-POSNR = 0000 .
why the VBKD table for sales order 50055 does not contain POSNR = 1 , POSNR = 2 ... POSNR=10
why this happen?
Thanks
Wilson

Hi MONIKA
Thanks for your reply. As i go through the checking the VBKD with few Sales Document No that.
Below are my analysis..
If the line item data is changed and is different from the header data then an entry for that line item will also be made in table VBKD.
I check with one sales order no XXX52 find out that there is a changes of quantity in the item no. This particular sales order got 5 items. Then in VBKD table got 6 records. I understand that.
But when i check another sales order XXX43 find out that no changes in the Sales Order either the data header or the item data. But VBKD table still got 5 records.
why this happen? i am confused.
Some Sales order i find out that changes in the item but in the VBKD not able to appear the item records . POSNR still = 000000.
Edited by: Wei Shen Wilson Low on Mar 25, 2009 7:30 AM

Similar Messages

  • How do I stop my MacBook from ONLY booting in Safe Mode

    I have a new Intel MacBook with 512 Mhz of Memory. My granddaughter loaded about 8 programs from the dock all at the same time. Now, the computer will only boot up in safe maode. Does anyone know how I can get the machine to boot up properly? And yes, I have turned it off and on normally to see if this would fix the problem - but no luck. Help!!
    MacBook   Mac OS X (10.4.8)  

    "Now, the computer will only boot up in safe
    mode."
    In my earlier response I assumed that you booted into
    safe mode by holding down the Shift key during
    startup.
    Upon reconsideration, I'm wondering if you meant
    instead that the computer boots into safe mode by
    itself, without your holding down the shift key. If
    so, this would indicate that the computer suspected
    some inconsistency in the filesystem and is booting
    into safe mode in an attempt to repair the damage.
    This repair can take some time. Are you allowing it
    10-20 minutes to finish the task?
    If so, and it still won't reboot into regular mode,
    then you probably should start the computer from the
    Installation Disc by inserting the Disc before
    shutdown and then holding down the C key during
    startup.
    Don't actually install anything, but use the menu at
    the top to run DiskUtility on the hard drive. Tell it
    to "Repair Disk".
    Sorry I didn't see this post before I responded to your first one. Yes, this is exactly what is happening. I am not holding down any key to force it into safe mode - it's doing that all by itself. I will try the 10 - 20 minute repair time as you suggested. What will I see happening after this period of time has elapsed? Does it matter if my screen goes into "sleep mode" before the 10-20 minute time is up? And then, if this doesn't work, I'll try your other suggestion using my installation disc.
    Thank you!!!!

  • Inconsistent Mac Availability on Network

    Have a situation where my primary Mac (iMac) is inconsistently available to other macs and devices on the network. Screen sharing and File sharing are on in the Sharing preferences. Typically after a reboot is when things work the best, but it doesn't take long before the iMac no longer registers as a "Shared" device in the left hand column of a Finder window on a networked Mac.
    Similarly, on other devices (iPads, iPhones) the iMac is also not "seen" as available. I suspect something might be wrong with Bonjour Services, but I'm unable to isolate for sure. Reboots usually work... as does clicking on the "Airdrop" icon in a finder window of the iMac... almost as if that "awakens" Bonjour services to start advertising the iMac as available for sharing. That should be the case irrespective of Airdrop. Additionally, I've seen that clicking Screen Sharing and File Sharing off and on in the Sharing preference pane usually gets things going again.
    With the advent of iOS 5 wi-fi syncing, I'd love to figure this out so I don't have to manually nudge Bonjour Services into action.
    Anybody have any good suggestions to try?
    Thanks in advance....

    a) Not too sure what you mean by that. Your network is working fine right right now?
    It should do the same after a restart so you should not worry about that.
    I got your question, you mean you are wondering, after a restart, without logging in, if the server is still working fine and all the network functions are working
    It does for me, I'm not too sure if always does but our Mac Pro Server is doing exactly that.
    Sorry for not being a big help regarding that.
    b) ???
    Regarding the auto restart there is an option in the system preferences. It's  'Mac Apple symbol on the top left -> System Prefrences -> Energy saver' -> and then on the bottom right you should see a button that says 'Schedule'.
    There you can define a time the computer is restarting / shutting off / sleeping / waking up / obbting up etc.
    I do it for my 'everyday work'. I let it wake up about 5 minutes before I get to office and scheduled it to sleep about half an houre after I leave work (just in case I have to say longer at times... )
    For disabling the 'autlogin' feature you go again to System preferences -> Users&Groups.
    There should be on the bottom left an options where it says 'Login Options' (It might be locked so you needs the admin password).
    As soon as you click on 'Login options' you'll see on the middle right an option where it says 'automatic login'. There you can either define a certain user to log in, or simply turn it off, so that nobody get's logged in automatically.
    Are you being helped?

  • Recover SQL Server database from SUSPECT mode

    Hi Expert DBAs,
    As I know the database should be restored from backup and logs reapplied. That’s the first and generally recommended approach any time a DB is suspect, whether it’s from log or data file corruption.
    But if I have no backups then we follow below steps ( after Googling I found these steps on most of the websites ):
    1.EXEC sp_resetstatus ‘yourDBname’;
    2.ALTER DATABASE yourDBname SET EMERGENCY
    3.DBCC checkdb(’yourDBname’)
    4.ALTER DATABASE yourDBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE
    5.DBCC CheckDB (’yourDBname’, REPAIR_ALLOW_DATA_LOSS)
    6.ALTER DATABASE yourDBname SET MULTI_USER
    Now my question is, 
    1. If after executing DBCC CHECKDB at 3rd step, it shows inconsistency.Then I will execute SET SINGLE USER WITH ROLLBACK & if after executing DBCC CHECKDB at 3rd step, no errors found. Then what will be the steps?
    2. When we execute DBCC CHECKDB (' DBNAME ', REPAIR_ALLOW_DATA_LOSS) how can we recover lost data during process.As far as I know some data will loss and if it will happen then business will get suffered.
    3. Why run DBCC CHECKDB() WITH REPAIR_ALLOW_DATA_LOSS if there are no consistency errors in the database?
    I am stucked in these questions....
    Regards,
    Yashwant Vishwakarma | SQLOcean.com
    Yashwant Vishwakarma | www.sqlocean.com

    There is no easy or same steps, it all depends on what error and what caused suspect. 
    Example is below:
    http://www.sql-server-performance.com/2015/recovery-sql-server-suspect-mode/
    2) Straight answer would be no you cant recover if no backup. Again it all depends what error checkdb returns and some things can be tried as explained earlier but no guarantee.
    The REPAIR_ALLOW_DATA_LOSS option is not the best option for bringing a database to a physically consistent state. If successful, the REPAIR_ALLOW_DATA_LOSS option may result in some data loss. In fact, it may result in more data lost than if a user were to
    restore the database from the last known good backup. Microsoft always recommends a user restore from the last known good backup as the primary method to recover from errors reported by DBCC CHECKDB. The REPAIR_ALLOW_DATA_LOSS option is not an alternative
    for restoring from a known good backup. It is an emergency “last resort” option recommended for use only if restoring from a backup is not possible.
    Certain errors, that can only be repaired using the REPAIR_ALLOW_DATA_LOSS option, may involve deallocating a row, page, or series of pages to clear the errors. Any deallocated data is no longer accessible or recoverable for the user, and the exact contents
    of the deallocated data cannot be determined. Therefore, referential integrity may not be accurate after any rows or pages are deallocated because foreign key constraints are not checked or maintained as part of this repair operation. The user must inspect
    the referential integrity of their database (using DBCC CHECKCONSTRAINTS) after using the REPAIR_ALLOW_DATA_LOSS option.
    https://msdn.microsoft.com/en-us/library/ms176064.aspx

  • Deleting all special GL can cause Database inconsistency?

    Hi Expert,
    With reference to the subject, I wonder deleting special GL indicators can cause database inconsistency.
    My Case:
    I deleted all of the SAP special GL indicator, and recreated those I want with my own naming convention, which some of them same with the standard come with SAP.  I did it in client 100, and not yet SCC1 to sandbox (client 120).
    After the deletion, when I run FB01, FB03, etc, I faced error:  Inconsistency in the length of DDIC data type "FBSEG ...
    I faced both problem in client 100 and 120 (I have not changed anything here).
    Question:
    Is it my deletion cause the database inconsistency?
    Why client 120 also have same error?
    Now, basis is figuring the problem, and suspect also the database issue, and not my special GL deletion.
    Kindly advise.
    Thanks and regards,
    sbmel

    Dear expert
        Instead of deleting special G/l indicator you can follow  "use transaction FB00, under Document Entry tab there is General Entry Option where select No Special G/L transaction"
    1329034 - "Correcting inconsistency
    check notes 707715, 929259
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f0d1446011d189700000e8322d00/frameset.htm
    Regards
       Ajeesh.s

  • Smooth Text causing inconsistent font thinkness.

    Using Adobe Acrobat 9 Pro Version 9.0.0, I have "Preferences -> Page Display -> Rendering -> Smooth Text" set to "For Laptop/LCD screens." This setting initially give me a beautifully rendered ArialMT/TrueType. This is the "Actual Font" used for Helvetica in a PDF I am reading. As I scroll through the document however, later pages render the font with a heavier line thickness, making them look bolder. I find that if I resize the program window then the thinkness returns to the initial width and looks good. I can repeat this cycle. In the end the work-around is for me to resize the program window for each page I read. This is a bit tedious. I don't have the behavior with Smooth Text turned off. I am running Vista with an ATI Mobility Radeon HD 2400 XT. The "Use 2D graphics acceleration" option does not affect the behavior so I don't know that the graphics card is a factor here.
    Has anyone else experienced this inconsistency with the line thinkness of the font smoothing? Is there a fix or something I should look at to debug?

    It seems that this problem is limited to a specific PDF file. This leads me to suspect that it is the font that causes the problem. Based on the Font properties reported by Acrobat it seems that it is using the standard Arial font which should work reliably. Is there a way to get more detailed information about the fonts being used by Acrobat for the file?

  • "R" and "N" inconsistency

    "R" will move you from both Library and Develop module into the "crop mode," which I nickname
    "Rotation" for easy association with the shortcut. You automatically land in Develop module, repeat "R" and you will stay in "D" view of the develop module, thus there is no memory of the previous mode. You can use "R" in both Grid view "G", and lupe view "E" (which I nickname
    "Enlarge" for association.)
    Not so with the "N" heal and speckle removal tool. If you are in the "D" view, "N" will bring you in and out the heal tool and keep in the "D" view. However in the "G" or "E", "N" does something else, what I still have not discovered what is it precisely. Image will be enlarged, like in the "E" mode, but shown in a white think frame and with a [X] icon on the right bottom. I suspect, its the Survey Mode, but I might be wrong, the more that it is really difficult to associate N with "survey."
    I believe that this is a bug in design. All tools and their shortcuts should behave identical.

    They are modal short cuts, so what seems like inconsistency is a deliberate thing.
    Survey Mode is a sort of Lightbox
    Richard Earney
    http://inside-lightroom.com

  • Initialization order inconsistency with override

    Initialisation order is inconsistent depending on whether a variable is overridden or not.
    Two questions -
    1. Is this supposed to be the case, or is it a bug?
    2. If it is supposed to be the case, why did Sun decide to make it work like that?
    For example, try the following code:
    package javafxapplicationtest;
    class Super {
        public-read var overriddenVar = "zero";
    class A extends Super {
        public-read var b = B {}
        public-read override var overriddenVar = b.value;
        public-read var newVar = b.value;
    class B {
        public var value = "one"
    var a = A {};
    println("b {a.b}");
    println("b.value {a.b.value}");
    println("a.overriddenVar {a.overriddenVar}");
    println("a.newVar {a.newVar}");It produces:
    b javafxapplicationtest.Main$B@175093f1
    b.value one
    a.overriddenVar
    a.newVar oneNote first that a.overriddenVar and a.newVar get different values. Note also that a.overriddenVar is neither the value from the superclass nor the naively expected) value from the assignment.
    I suspect this is an initialisation order issue -- the override causing b to be assigned when newVar is set, but not when overriddenVar is set. However it is stunningly unintuitive, as it breaks the natural "happens before" expectation of each line happening before the next line within the same context.
    As well as being anti-intuitive, it is also hair-pullingly irritating. How many use cases are there where you want the overridden variable assignment to deliberately try to "catch the null" and get in there before the variable it is referencing gets initialised/assigned even though it is written afterwards?
    For a concrete case, consider the code on [my blog post|http://wbillingsley.blogspot.com/2010/03/javafx-initialisation-craziness.html]: You have a custom control and want to wire mouse events through to your custom skin's Behavior. The events aren't wired because onMousePressed is an overridden variable.

    This is hair-pulling irritating. I just spent hours trying to figure out why the following wouldn't work until I came across your post:
    public class MyStage extends Stage {
        def myTextBox: TextBox = TextBox {
            text: "Test"
        override var scene = Scene {
            width: 1024
            height: 768
            content: [
                myTextBox
    }It looks like the answer is that overridden members are initialized before other members of the same class. Specifically, the overridden scene member is initialized before myTextBox. I too would love to know why it works this way, since it seems backwards. It would be nice if the compiler at least told you it was going to ignore your code, instead of just doing it silently.
    I suppose the solution could be something like this, but I'd love to hear of cleaner alternatives:
    public class MyStage extends Stage {
        def myTextBox: TextBox = TextBox {
            text: "Test"
        def localScene = Scene {
            width: 1024
            height: 768
            content: [
                myTextBox
        init {
            scene = localScene;
    }<sarc>
    Or I suppose I could create my UI in a single giant FX script file, like a lot of the examples out there.
    Hey, at least it's using declarative syntax so it's cool, right?
    </sarc>

  • Inconsistent ArrayIndexOutOfBoundsException using SwingWorker worker thread

    On occasions I will get the following exception thrown whenever I happen to be using SimpleBrowser.this.processor.processTask() method to run a SwingWorker<Void, Void>-based class Task worker thread (within doInBackground()) :
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
            at javax.swing.text.BoxView.getOffset(BoxView.java:1076)
            at javax.swing.text.BoxView.childAllocation(BoxView.java:670)
            at javax.swing.text.CompositeView.getChildAllocation(CompositeView.java:215)
            at javax.swing.text.BoxView.getChildAllocation(BoxView.java:428)
            at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(BasicTextUI.java:1978)
            at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(BasicTextUI.java:1954)
            at java.awt.Container.layout(Container.java:1432)
            at java.awt.Container.doLayout(Container.java:1421)
            at java.awt.Container.validateTree(Container.java:1519)
            at java.awt.Container.validateTree(Container.java:1526)
            at java.awt.Container.validateTree(Container.java:1526)
            at java.awt.Container.validate(Container.java:1491)
            at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:639)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:127)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I haven't found much reliable online information to illustrate this issue any further so I'm a bit in the dark. Following is my code that runs within the aforementioned worker thread which I believe throws the exception:
             * Use {@link #setWebBrowserURL} using a local {@link com.ppowell.tools.ObjectTools.SwingTools.Task}
            protected void processTask() {
                Task task = new Task() {
                    public Void doInBackground() {
                        int progress = 0;
                        while (!SimpleBrowser.this.builder.hasLoadedWebpage && progress < 100) {
                            SimpleBrowser.this.statusBar.setMessage("Attempting to load " + SimpleBrowser.this.getURL().toString());
                            this.setProgress(progress);
                            progress++;
                        SimpleBrowser.this.setWebBrowserURL();
                        try {
                            Thread.sleep(2500);
                        } catch (InterruptedException ignore) {} // DO NOTHING
                        if (SimpleBrowser.this.builder.hasLoadedWebpage) {
                            SimpleBrowser.this.statusBar.setMessage("Done");
                        return null;
                task.addPropertyChangeListener(SimpleBrowser.this);
                task.execute();
            }Is there a way I might at least be able to suppress this error (the GUI application browser functions just fine in spite of it), or, even better, solve this inconsistent problem?
    Thanks
    Phil

    I suspect that you need to "clean" your html priorto
    calling super.setText(). My guess is that you're
    yanking nodes from beaneath Swing while it'strying
    to render.
    In addition to that, you may want to use JTidy to
    clean up your html, and convert it to xhtml --again
    prior to calling super.setText().Problem is that however I clean up the HTML, the
    moment I try to reinsert back into the JEditorPane
    using setText(), I get EmptyStackException or I'll
    get NullPointerException or it just might work - same
    problem, different exception(s).Ok this time I am simply using setText() instead of setPage(), but the results are, while consistent, they are consistently completely wrong. The browser appears blank every time, no HTML can be retrieved (you get a NullPointerException if you try), all the while I can verify that that original HTML from the remote site is correct, it never, ever, inserts into JEditorPane.
    Here is my code:
    * SimpleHTMLRenderableEditorPane.java
    * Created on March 13, 2007, 3:39 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package com.ppowell.tools.ObjectTools.SwingTools;
    import java.io.*;
    import java.net.*;
    import javax.swing.JEditorPane;
    import javax.swing.text.html.HTMLEditorKit;
    * A safer version of {@link javax.swing.JEditorPane}
    * @author Phil Powell
    * @version JDK 1.6.0
    public class SimpleHTMLRenderableEditorPane extends JEditorPane {
        //--------------------------- --* CONSTRUCTORS *--
        // <editor-fold defaultstate="collapsed" desc=" Constructors ">
        /** Creates a new instance of SimpleHTMLRenderableEditorPane */
        public SimpleHTMLRenderableEditorPane() {
            super();
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param url {@link java.lang.String}
         * @throws java.io.IOException Thrown if an I/O exception occurs
        public SimpleHTMLRenderableEditorPane(String url) throws
    IOException {
            super(url);
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param type {@link java.lang.String}
         * @param text {@link java.lang.String}
        public SimpleHTMLRenderableEditorPane(String type, String text) {
            super(type, text);
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param url {@link java.net.URL}
         * @throws java.io.IOException Thrown if an I/O exception occurs
        public SimpleHTMLRenderableEditorPane(URL url) throws IOException
            super(url);
        // </editor-fold>
        //----------------------- --* GETTER/SETTER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Getter/Setter
    Methods ">
         * Retrieve HTML content
         * @return html {@link java.lang.String}
        public String getText() {
            try {
                 * I decided to use {@link java.net.HttpURLConnection} to
    retrieve the
                 * HTML code from the remote site instead of using
    super.getText() because
                 * of the HTML code return constantly being stripped to
    primitive HTML
                 * template formatting irregardless of the original HTML
    source code
                HttpURLConnection conn =
    (HttpURLConnection)getPage().openConnection();
                conn.setUseCaches(false);
                conn.setDefaultUseCaches(false);
                conn.setDoOutput(false); // READ-ONLY
                BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        conn.getInputStream()));
                int data;
                StringBuffer sb = new StringBuffer();
                char[] ch = new char[512];
                while ((data = in.read(ch)) != -1) {
                    sb.append(ch, 0, data);
                in.close();
                conn.disconnect();
                return sb.toString();
            } catch (IOException e) {
                return super.getText(); // DEFAULT TO USING
    super.getText() IF NO I/O CONNECTION
         * Overloaded to fix HTML rendering bug Bug ID: 4695909.
         * @param text {@link java.lang.String}
        public void setText(String text) {
            // Workaround for bug Bug ID: 4695909 in java 1.4
            // JEditorPane does not handle the META tag in the html HEAD
            if (isJava14() && "text/
    html".equalsIgnoreCase(getContentType())) {
                text = stripMetaTag(text);
            super.setText(text);
        // </editor-fold>
        //--------------------------- --* OTHER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Methods ">
         * Clean HTML to remove things like <link>, <script>,
         * <style>, <object>, <embed>, and <!-- -->
         * Based upon <a href="http://bugs.sun.com/bugdatabase/view_bug.do?
    bug_id=4695909">bug report</a>
        public void cleanHTML() {
            try {
                setText(cleanHTML(getText()));
            } catch (Exception e) {} // DO NOTHING
         * Clean HTML
         * @param html {@link java.lang.String}
         * @return html {@link java.lang.String}
        public String cleanHTML(String html) {
            String[] tagArray = {"<LINK", "<SCRIPT", "<STYLE", "<OBJECT",
    "<EMBED", "<!--"};
            String upperHTML = html.toUpperCase();
            String endTag;
            int index = -1, endIndex = -1;
            for (int i = 0; i < tagArray.length; i++) {
                index = upperHTML.indexOf(tagArray);
    endTag = "</" + tagArray[i].substring(1,
    tagArray[i].length());
    endIndex = upperHTML.indexOf(endTag, index);
    while (index >= 0) {
    if (endIndex >= 0) {
    html = html.substring(0, index) +
    html.substring(html.indexOf(">", endIndex)
    + 1,
    html.length());
    upperHTML = upperHTML.substring(0, index) +
    upperHTML.substring(upperHTML.indexOf(">",
    endIndex) + 1,
    upperHTML.length());
    } else {
    html = html.substring(0, index) +
    html.substring(html.indexOf(">", index) +
    1,
    html.length());
    upperHTML = upperHTML.substring(0, index) +
    upperHTML.substring(upperHTML.indexOf(">",
    index) + 1,
    upperHTML.length());
    index = upperHTML.indexOf(tagArray[i]);
    endIndex = upperHTML.indexOf(endTag, index);
    // REF: http://forum.java.sun.com/thread.jspa?threadID=213582&messageID=735120
    html = html.substring(0, upperHTML.indexOf(">",
    upperHTML.indexOf("</HTML")) + 1);
    // REF: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5042872
    return html.trim();
    * This actually only obtains the URL; this serves as a retriever
    for cleanHTML(String html)
    * @param url {@link java.net.URL}
    * @return html {@link java.lang.String}
    public String cleanHTML(URL url) {
    try {
    HttpURLConnection conn =
    (HttpURLConnection)url.openConnection();
    conn.setUseCaches(false);
    conn.setDefaultUseCaches(false);
    conn.setDoOutput(false); // READ-ONLY
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    conn.getInputStream()));
    int data;
    StringBuffer sb = new StringBuffer();
    char[] ch = new char[512];
    while ((data = in.read(ch)) != -1) {
    sb.append(ch, 0, data);
    in.close();
    conn.disconnect();
    return cleanHTML(sb.toString());
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    * Determine if java version is 1.4.
    * @return true if java version is 1.4.x....
    private boolean isJava14() {
    if (System.getProperty("java.version") == null) return false;
    return System.getProperty("java.version").startsWith("1.4");
    * Workaround for Bug ID: 4695909 in java 1.4, fixed in 1.5
    * JEditorPane fails to display HTML BODY when META tag included
    in HEAD section.
    * Code modified by Phil Powell
    * <html>
    * <head>
    * <META http-equiv="Content-Type" content="text/html;
    charset=UTF-8">
    * </head>
    * <body>
    * @param text html to strip.
    * @return same HTML text w/o the META tag.
    private String stripMetaTag(String text) {
    // String used for searching, comparison and indexing
    String textUpperCase = text.toUpperCase();
    int indexHead = textUpperCase.indexOf("<HEAD ");
    int indexMeta = textUpperCase.indexOf("<META ");
    int indexBody = textUpperCase.indexOf("<BODY ");
    // Not found or meta not inside the head nothing to strip...
    if (indexMeta == -1 || indexMeta < indexHead || indexMeta >
    indexBody) {
    return text;
    // Find end of meta tag text.
    int indexHeadEnd = textUpperCase.indexOf(">", indexMeta);
    // Strip meta tag text
    return text.substring(0, indexMeta - 1) +
    text.substring(indexHeadEnd + 1);
    // </editor-fold>
    Instead if you try
    browser.getText()
    You will get a NullPointerException
    If you try
        public void setText(String text) {
            // Workaround for bug Bug ID: 4695909 in java 1.4
            // JEditorPane does not handle the META tag in the html HEAD
            if (isJava14() && "text/
    html".equalsIgnoreCase(getContentType())) {
                text = stripMetaTag(text);
            System.out.println(text); // YOU WILL SEE CNN'S HTML
            super.setText(text);
            System.out.println(super.getText()); // SEE BELOW
        }You see only this:
    <html>
      <head>
      </head>
      <body>
        <p style="margin-top: 0">
        </p>
      </body>
    </html>

  • OPEN_INTERFACE_REJECTS- INCONSISTENT SUPPL SITE

    Payables Open Interface Import program is throwing INCONSISTENT SUPPL SITE, when a third party vendor site code and third party vendor site id is passed along with matching PO number for creating an invoice for third party vendor site.
    Can any one let me know, how to resolve this issue.
    Thanks in advance

    Hi,
    this could be due to passing values which are not correct for the vendor_site_id field ....do compare this transaction with other transactions that are imported successfully past, so that we can narrow down on the data which is different ...
    Reference:
    Expense Report Export Rejects Expense Reports With 'Supplier Site Id And Supplier Site Code Do Not Match' [ID 1408830.1]
    Regards,
    Ivruksha

  • Hard drive array losing access - suspect controller - zfs

    i am having a problem with one of my arrays, this is a zfs fielsystem.  It consists of a 1x500GB, 2x750GB, and 1x2TB, linear array. the pool is named 'pool'.    I have to mention here, i dont have enough hard drive to have a raidz (raid5) setup yet, so there is no actual redundancy to so the zfs cant auto repair itself from a copy because there is none, therefore all auto repair features can be thrown out the door in this equation meaning i believe its possible that the filesystem can easily be corrupted by the controller in this specific case which i suspect.  Please keep that in mind while reading the following.
    I just upgraded my binaries, therefore i removed zfs-fuse and installed archzfs.  did i remove it completely?  not sure.  i wasnt able to get my array back up and running until i fiddled with  the sata cables, moved around the sata connectors, tinkered with bios drive detect. after i got it running, i copied some files off of it from samba thinking it might not last long.  the copy was succesfull, but problems began surfacing again shortly after.  so now i suspect i have a bad controller on my gigabyte board.  I round recently someone else who had this issue so im thinking its not the hard drive. 
    I did some smartmontools tests last night and found that ll drives are showing good on a short test, they all passed.  today im not having so much luck with getting access.  there is hangs on reboot, and the drive light stays on.  when i try to run zfs and zpool commands its stating the system is hanging.  i have been getting what appears as HD errors as well, ill have to manually type them in here since no copy and paste from the console to the maching im posting from, and the errors arent showing up via ssh or i would copy them from my terminal tha ti currently have open to here.
    ata7: SRST failed (errno=-16)
    reset failed, giving up,
    end_request I/O error, dev sdc, sector 637543760
    ' ' ' ' '''' ' ' ''' sector 637543833
    sd 6:0:0:0 got wrong page
    ' ' ' ' ' '' asking for cache data failed
    ' ' ' ' ' ' assuming drive cache: write through
    info task txg_sync:348 blocked for more than 120 seconds
    and so forth, and when i boot i see this each time which is making me feel that the HD is going bad, however i still want to believe its the controller.
    Note, it seems only those two sectors show up, is it possible that the controller shot out those two sectors with bad data?  {Note, i have had a windows system prior installed on this motherboard and after a few months of running lost a couple raid arrays of data as well.}   
    failed command: WRITE DMA EXT
    ... more stuff here...
    ata7.00 error DRDY ERR
    ICRC ABRT
    blah blah blah.
    so now i can give you some info from the diagnosis that im doing on it, copied from a shell terminal.  Note the following metadata errors JUST appeared after i was trying to delete some files, copying didnt cause this, so it apears either something is currently degrading, or it just inevitably happened from a bad controller
    [root@falcon wolfdogg]# zpool status -v
    pool: pool
    state: ONLINE
    status: One or more devices are faulted in response to IO failures.
    action: Make sure the affected devices are connected, then run 'zpool clear'.
    see: http://zfsonlinux.org/msg/ZFS-8000-HC
    scan: resilvered 33K in 0h0m with 0 errors on Sun Jul 21 03:52:53 2013
    config:
    NAME STATE READ WRITE CKSUM
    pool ONLINE 0 26 0
    ata-ST2000DM001-9YN164_W1E07E0G ONLINE 6 41 0
    ata-ST3750640AS_5QD03NB9 ONLINE 0 0 0
    ata-ST3750640AS_3QD0AD6E ONLINE 0 0 0
    ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 ONLINE 0 0 0
    errors: Permanent errors have been detected in the following files:
    <metadata>:<0x0>
    <metadata>:<0x1>
    <metadata>:<0x14>
    <metadata>:<0x15>
    <metadata>:<0x16d>
    <metadata>:<0x171>
    <metadata>:<0x277>
    <metadata>:<0x179>
    if one of the devices are faulted, then why are they all 4 stating online???
    [root@falcon dev]# smartctl -a /dev/sdc
    smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.9.9-1-ARCH] (local build)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF INFORMATION SECTION ===
    Vendor: /6:0:0:0
    Product:
    User Capacity: 600,332,565,813,390,450 bytes [600 PB]
    Logical block size: 774843950 bytes
    scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
    scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
    >> Terminate command early due to bad response to IEC mode page
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    my drive list
    [root@falcon wolfdogg]# ls -lah /dev/disk/by-id/
    total 0
    drwxr-xr-x 2 root root 280 Jul 21 03:52 .
    drwxr-xr-x 4 root root 80 Jul 21 03:52 ..
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-_NEC_DVD_RW_ND-2510A -> ../../sr0
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST2000DM001-9YN164_W1E07E0G -> ../../sdc
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3750640AS_3QD0AD6E -> ../../sde
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3750640AS_5QD03NB9 -> ../../sdd
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 -> ../../sda
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 wwn-0x5000c50045406de0 -> ../../sdc
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 wwn-0x50014ee1ad3cc907 -> ../../sda
    and this one i dont get
    [root@falcon dev]# zfs list
    no datasets available
    i remember creating a dataset last year, why is it reporting none, but still working
    is anybody seeing any patterns here?  im prepared to destroy the pool and recreate it just to see if its bad data.But what im thinking to do now is since the problem appears to only be happening on the 2TB drive, either the controller just cant handle it, or the drive is bad.  So, to rule out the controller there might be hope.  I have a scsi card (pci to sata) connected that one of the drives in the array is connected to since i only have 4 sata slots on the mobo, and i keep the 500GB connected to there and have not yet tried the 2tb there yet.  So if i connect this 2TB drive to the scsi i should see the problems disappear, unless the drive got corrupted already. 
    Does any experience in the arch forums know whats going on here?  did i mess up by not completely removing zfs-fuse, is my HD going bad, is my controller bad, or did ZFS just get misconfigured?
    Last edited by wolfdogg (2013-07-21 19:38:51)

    ok, something interesting happened when i connected it (the badly reacting 2TB drive) to the scsi pci card.  first of all no errors on boot.... then take a look at this, some clues to some remanants to the older zfs-fuse setup, and a working pool.
    [root@falcon wolfdogg]# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    pool 2.95T 636G 23K /pool
    pool/backup 2.95T 636G 3.49G /backup
    pool/backup/falcon 27.0G 636G 27.0G /backup/falcon
    pool/backup/redtail 2.92T 636G 2.92T /backup/redtail
    [root@falcon wolfdogg]# zpool status
    pool: pool
    state: ONLINE
    status: The pool is formatted using a legacy on-disk format. The pool can
    still be used, but some features are unavailable.
    action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
    pool will no longer be accessible on software that does not support
    feature flags.
    scan: resilvered 33K in 0h0m with 0 errors on Sun Jul 21 04:52:52 2013
    config:
    NAME STATE READ WRITE CKSUM
    pool ONLINE 0 0 0
    ata-ST2000DM001-9YN164_W1E07E0G ONLINE 0 0 0
    ata-ST3750640AS_5QD03NB9 ONLINE 0 0 0
    ata-ST3750640AS_3QD0AD6E ONLINE 0 0 0
    ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 ONLINE 0 0 0
    errors: No known data errors
    am i looking at a bios update needed here so the controller can talk to the 2TB properly?
    Last edited by wolfdogg (2013-07-21 19:50:18)

  • SAP System inconsistency for Inbound delivery / MIGO and a "sap note"

    Hello Friends ,
    After following SAP instruction on how to remove the inconsistency between posting GR through MIGO (Inv. mang.) and the reflection of the goods movement status in the inbound delivery document - done that using sap note 570991
    the problem is that the system start behaving in a weird way throwing unjustified Error messages for any suggested goods receipt using MIGO with reference to inbound
    for example after creating an inbound delivery document and trying to post it via migo , an error will pop up
    - Inbound delivery storage location cannot be changed to here Message no. VLA316
    the thing is i didn't even maintain any storage location entry up to that point and yet i cannot post any stock !!
    also another error  like
    - Inbound delivery batch cannot be changed to *** here
    which doesn't make any sense because there is not batches in the inbound document !!
    i think this behavior is coming from the "Document Flow Update for Stock Postings" inbound  indicator  at the shipping parameter at client level customization
    i need help on  how to overcome this annoying SAP Bug/Problem specially i am in a post go live critical situation

    Hi,
       The messages you mentioned were introduced to avoid inconsistency between inbound delivery and IM, through the note:  1050944 - GR for inbound delivery using inventory mgmt as of ECC 6.00
       If the messages are issued incorrectly, then you may check for SAP notes (I couldnt find anything relevant) or raise an OSS ticket to SAP.
    Regards,
    AKPT

  • A dozen+ Kernel Panics, suspect system issues - what to try?

    Hello!
    Well, in the last few weeks, my poor little Powerbook has lost its mind. I keep having Kernel panics for no apparent reason. Here's the story so far:
    1. I upgraded to Leopard (archive/install) from Tiger, in November.
    2. In early January, I had at least one kernel panic. Not sure what happened. By the middle of January, I had 3 or 4, and on (about) the 15th, I had three kernel panics in the span of an hour - and the lower ram card wasn't being recognized. I took it to the Apple store, where the tech said that it was the infamous "lower ram-slot issue" that plague my model Powerbook.
    3. Once I got the powerbook back from the shop, it seemed to work quite well - fast, stable, panic-free. This week, however, I've had at least 6 or 7 kernel panics - at least 4 of them in the last 24 hours. A few of these weren't the usual "you need to restart your mac" window, but rather a long list of console-like text from the BSD subsystem itself
    It seems to be related to the software - or perhaps Dashboard. Dashboard client has been running out of control this week - and started to go nuts about when the kernel panics started to occur. In fact, one of these "BSD" panics said that the dashboard client hung the computer. Thus, I moved all of my user (non-apple) widgets out of the library folder - effectively removing them from dashboard. This has prevented dashboard client from going nuts, but hasn't stopped the kenel panics. The ones that have occurred since seem to occur when using Safari or MS Word 2004, and one (another BSD panic) said that Window Server hung.
    I've repaired permissions many times, used Disk Utility to verify the boot volume (it was OK), and zapped the PRAM and PMU - no luck.
    I've had some other hardware and software issues:
    First, Spotlight crashes when I attempt to search for something with a common name and have my 4 external hard drives attached... (One with Time Machine backups, one with other backups, and the rest with large volumes of video editing files). This issue probably isn't related to the kernel panic issue though, since it only occurs if I spotlight gets really bogged down - say, I search on "mac" and get 5000 returns...
    Sometimes, if I have the power adapter plugged in and then boot up or wake the Mac, it sometimes won't recognize the adapter and thus run off battery. The solution? Unplug the adapter from the Mac and the wall, then plug both sides in. This occurs at least once a day, having become a much worse issue since sending it into Apple. This makes me think that I may have a issue with the power supply system in the Powerbook, and may be one of the causes of the panics. Again, zapping the PMU and PRAM, hasn't helped. Nor has deleting every power-related plist file.
    The ram issue seems to have stopped, and I'm not sure the power issue could cause this - so I don't know what to do about this. It's happening a lot, but it's not exactly predictable - it would be difficult to reproduce for the Mac Genius, should I run to the Apple store. Since I suspect it's a software issue, I'm also not sure they can do anything about it. If Apple can't do anything about it, I plan on doing an Erase-install of Leopard, then carefully installing software - one thing at a time - to see if I can find the culprit. If worst comes to worst, I'll downgrade to Tiger...
    So then, the questions, summed up are:
    1. Do you have any idea what could be going on?
    2. Can apple do anything about a software-related kernel panic issue?
    3. If Apple can't fix it, and an erase-install won't work, when else can I try?
    Sorry for the long post, and thanks a bunch for the help, I appreciate it.
    -Dan

    K, well i'll try to find the log on the backup clone I made - the Powerbook is currently in the Apple store for diagnostics. Hopefully, then can figure out what the deal is, but it will likely require an archive/install.
    When I was there, he opened one of the logs in console - and it showed literally thousands of errors - all from "kernel". Wow, i have no idea what happened. He said that it may be bit-rot on the part of some of my applications, but there's probably not much they can do if it's not a hardware problem. sigh
    Anyway, I'll look for the log on the backup volume when I get a chance. Thanks, I suppose you're right about you being forced to guess without the log. Didn't think about that... O:-)

  • Inconsistency between catalog authoring tool & Search engine

    Hi,
    We are on CCM2.0 and SRM5.0 with catalog deployment in the same client as SRM.
    In our implementation we are using master catalog and product catalog. We have very recently deleted around 65 items from our product catalog which is mapped to mater catalog and hence those 65 items are not found anymore in master catalog in CAT (Catalog authoring tool).
    This master catalog when published, we expect that these 65 products should not be available for end users.
    But end users can still see the deleted items through CSE (Catalog search engine). Thus there is data inconsistency between CAT & CSE.
    Has anyone faced similar issue before if yes can you please share the same with us.
    Edited by: Manoj Surve on Mar 24, 2009 7:05 AM

    Run TCODE SE38 program /CCM/CLEANUP_MAPPING to look for errors/orphaned records in test mode.
    If you want to clear out orphaned records uncheck the Test Mode but:
    Warning: This program can slow down a production system as it clears out the memory buffers for user catalog searches and these have to be built up again by the users doing searches.  This can be  hours to days depending upon the size of your system and the number of users.
    In Dev or UAt no problem.
    Hope this helps?
    Regards
    Allen

  • Inconsistency between get-childitem -include and -exclude parameters

    Hi,
    Powershell 2.0
    Does anyone else consider this a minor design bug in the Get-ChildItem command?  
    # create dummy files
    "a","b","c" | % {$null | out-file "c:\temp\$_.txt"}
    # this "fails", returns nothing
    get-childitem c:\temp -include a*,b*
    # this "works", returns desired files
    get-childitem c:\temp\* -include a*,b*
    # this "works", excludes undesired files
    get-childitem c:\temp -exclude a*,b*
    # this "fails", excludes undesired files BUT RECURSES sub-directories
    get-childitem c:\temp\* -exclude a*,b*
    I'm writing a wrapper script around the GCI cmdlet, but the inconsistency between the two parameters is problematic.  My end user will surely just type a path for the path parameter, then wonder why -include returned nothing.  I can't unconditionally
    add an asterisk to the path parameter, since that messes up the exclude output.
    I'm just wondering why Microsoft didn't make the parameter interaction consistent???  
    # includes desired files in the specified path
    get-childitem -path c:\temp -include a*,b*
    # excludes undesired files in the specified path
    get-childitem -path c:\temp -exclude a*,b*
    # combine both options
    get-childitem -path c:\temp -include a*,b* -exclude *.log,*.tmp
    # same as above, the asterisk doesn't matter
    get-childitem -path c:\temp\* -include a*,b*
    get-childitem -path c:\temp\* -exclude a*,b*
    get-childitem -path c:\temp\* -include a*,b* -exclude *.log,*.tmp
    # same as above, but explicitly recurse if that's what you want
    get-childitem -path c:\temp\* -include a*,b* -recurse
    get-childitem -path c:\temp\* -exclude a*,b* -recurse
    get-childitem -path c:\temp\* -include a*,b* -exclude *.log,*tmp -recurse
    If I execute the "naked" get-childitem command, the asterisk doesn't matter...
    # same results
    get-childitem c:\temp
    get-chileitem c:\temp\*
    If this isn't considered a bug, can you explain why the inconsistency between the two parameters when combined with the -path parameter?
    Thanks,
    Scott

    The Get-ChildItem cmdlet syntax is horrific for advanced use. It's not a bug in the classic sense, so you shouldn't call it that. However, feel free to call it awful, ugly, disastrous, or any other deprecatory adjective you like - it really is
    nasty.
    Get-ChildItem's unusual behavior is rooted in one of the more 'intense' dialogues between developers and users in the beta period. Here's how I recall it working out; some details are a bit fuzzy for me at this point.
    Get-ChildItem's original design was as a tool for enumerating items in a namespace -
    similar to but not equivalent to dir and
    ls. The syntax and usage was going to conform to standard PowerShell (Monad at the time) guidelines.
    In a nutshell, what this means is that the Path parameter would have truly just meant Path - it would not have been usable as a combination path specification and result filter, which it is now. In other words
    (1) dir c:\temp
    means you wanted to return children of the container c:\temp
    (2) dir c:\temp\*
    means you wanted to return children of all containers inside
    c:\temp. With (2), you would never get c:\tmp\a.txt returned, since a.txt is not a container.
    There are reasons that this was a good idea. The parameter names and filtering behavior was consistent with the evolving PowerShell design standards, and best of all the tool would be straightforward to stub in for use by namespace
    providers consistently.
    However, this produced a lot of heated discussion. A rational, orthogonal tool would not allow the convenience we get with the dir command for doing things like this:
    (3) dir c:\tmp\a*.txt
    Possibly more important was the "crash" factor.  It's so instinctive for admins to do things like (3) that our fingers do the typing when we list directories, and the instant failure or worse, weird, dissonant output we would get with a more pure Path
    parameter is exactly like slamming into a brick wall.
    At this point, I get a little fuzzy about the details, but I believe the Get-ChildItem syntax was settled on as a compromise that wouldn't derail people expecting files when they do (3), but would still allow more complex use.  I think that this
    is done essentially by treating all files as though they are containers for themselves. This saves a lot of pain in basic use, but introduces other pain for advanced use.
    This may shed some light on why the tool is a bit twisted, but it doesn't do a lot to help with your particular wrapping problem. You'll almost certainly need to do some more complicated things in attempting to wrap up Get-ChildItem. Can you describe some
    details of what your intent is with the wrapper? What kind of searches by what kind of users, maybe? With those details, it's likely people can point out some specific approaches that can give more consistent results.

Maybe you are looking for

  • Output as Grid in HTML

    I need a report in grid form (atleast the presentation of grid) in my report. I make by repeating frames with border lines as black. It shows perfectly fine in the live previewer of the Report Builder 3.0. But as my requirement is that the output is

  • [JS CS3] Weird grouping behaviour

    Hi, I am facing a weird trouble. Assuming mypicgp may be either a ungrouped pageitem or a group, mybtn is a button, mylabel a textframe. i mypage.groups.add([mypicgp,mybtn,mylabel]); line works fine if mypicgp is ungrouped object. It creates a group.

  • Oracle SQLJ not working in WebLogic

    Mybe its a little off topic here, but the JDBC and SQLJ runtime comes with JDeveloper. I try to deploy my application to WebLogic 7.0.0.1 and cannot get SQLJ code running. I loaded all jars (JDBC: classes12.jar, nls_charset12.jar; SQLJ: runtime12.jar

  • How is this program?

    would you recommend it? Im still using 1.5 and having problems with it. Dont ask me why Im upgrading. Actually aside from a couple things it lacks I like audition, its just hard to get setup right and stay working. So is 3 any better?

  • The software update badge does not show on the settings app on iphone 4s?? How to fix it?

    Hi , I have a new iphone 4s and since i have baught , the new software update badge does not show on the settings app icon in my phone , Though the new update shows in the software update menu. Any idea how to make the icon show the badge ???