Problem with OHD Inserted Records

Hi All,
I have one OHD which is fetching the data from Master Data (Text) Info Object by using DTP.
If I run the full DTP, 1,20000 records have been inserted into OHD table.
But If I go to monitor section of that DTP and If I go to Header, there I am able to see that only 140 records got inserted.
Even data base table "rsbkrequest_v"  is having 140 records for that particular DTP request.
Could you please tell me why this count difers

I think 1,2000 is the total no of records in your OHD.
whereas the 140 is the count of records updated to the OHD by the last DTP load.
Please check....
--- Thanks...

Similar Messages

  • Problem with  Creating Info Record

    Hello Gurus,
    I've problem with Creating Info Record
    i tried to create info record for Plant Specific/Purchase Org
    The first Screen General Data is OK
    i entered all the data in the next screen ie
    Purchase Organization Data screen but i'm getting error
    <b>Make an entry in all required fields</b>
    but there is Mandatory Textbox ie "VALID TO" which im unable to select Bcos its Disabled
    pls help me regarding this
    thanks in advance

    Hi
    Have u given the net price. <b>VALID TO</b> is the date until which the price shown in the info record is valid.
    If there is no price that is valid on the current date, the last-valid price is displayed and the date field contains the day before the start of the next validity period (this may be 12.31.9999 if there is no further validity date). If all validit periods lie beyond the current date, the price of the next period is displayed. The date field then contains the end date of this period.
    These validity periods we will maintain Purchse data CONDITIONS while creating info record. Check the validity period for the conditions.
    Hope this will helps u
    Ravi
    Ravikumar Bolla

  • Problem with updating a record method in a database

    I've searched for the forums for info on this to no avail.
    I am connecting to Access database, using the sun.jdbc.odbc.JdbcOdbcDriver.
    I'm trying to be able to update 2 fields in a record (cost & quantity).
    I have an addrecord method, an update method.
    I can use the addrecord and it works great.
    But (yep, there's always a but!), when I try to update only the 1 or 2 fields on a record, I get a message that says "syntax error in UPDATE statement"
    I've written, deleted and re-written code & I'm going nuts.
    Here are my database methods and the actionPerformed where it calls those methods. Is the error message regarding my UPDATE (sql) syntax?
    Why does it work for adding, but not updating?? It seems my 1st if statement under my "update button" is never gone to... so maybe it's just a problem with my "if" statement.
    Please help me before I go crazy! Thanks!
    //flags
    //snippet of code
    private void enableButtons(boolean flag1)
        boolean flag2 = false;
        if (flag1 == false)
           flag2 = true;
        jbtUpdate.setEnabled(flag2); // was flag1 wouldn't work.
        jbtDelete.setEnabled(flag1);
        jbtAdd.setEnabled(flag1);
        jbtFirst.setEnabled(flag1);
        jbtNext.setEnabled(flag1);
        jbtPrev.setEnabled(flag1);
        jbtLast.setEnabled(flag1);
    //...actionperformed(ActionEvent e)
    else if (e.getSource() == jbtAdd)
        jtfItem.requestFocus();
        enableButtons(false);
        jtfItem.setText("");
        jtfDescription.setText("");
        jtfQuantity.setText("");
        jtfCost.setText("");
        addFlag = true;
      else if (e.getSource() == jbtUpdate)
        double quantity1 = parseInt(jtfQuantity.getText());
        double cost1  = parseCurrency(jtfCost.getText());
        Item itemUpdate = new Item(jtfItem.getText(), jtfDescription.getText(),
        cost1, (int)quantity1);
        System.out.println("update button was clicked");
        //first "if"
        if ((jbtUpdate.isEnabled()) && (addFlag == false))
          InventoryDB.updateField(itemUpdate);
          currentItem = itemUpdate;
          System.out.println("it's going to first if stmt");
        //2nd "if"
        if (addFlag == true)
          InventoryDB.addRecord(itemUpdate);
          currentItem = InventoryDB.moveFirst();
          addFlag = false;
          System.out.println("it's going to 2nd if stmt");
        currentItem = itemUpdate;
        performItemDisplay();
        enableButtons(true);
        System.out.println("it's going to last of update code");
    //method snippets  for database manipulation
    public static void addRecord(Item item) throws SQLException
        String query = "INSERT INTO Items (ItemNumber, ItemDescription, UnitCost, Quantity)  " +
            "VALUES ('" + item.getItem() + "', " +
               "'" +        item.getDescr() + "', " +
            "'" +         item.getCost() + "', " +
               "'" +     item.getQuantity() + "')";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();
      public static void updateField(Item item) throws SQLException
        String query = "Update Items SET " +// Items (ItemNumber, ItemDescription, UnitCost, Quantity) " +
          "VALUES ('" + item.getCost() + "', " +
          "'" +     item.getQuantity() + "', " ;
    //      "WHERE ItemNumber  = " ItemNumber "'"
    //       "WHERE ItemDescription = " ItemDescription "', ";
          Statement statement = connection.createStatement();
          statement.executeUpdate(query);
          statement.close();
          close();
          open();
       public static void updateRecord(Item item) throws SQLException
        String query = "UPDATE Items SET " +
            "ItemNumber  = '" +      item.getItem() + "', " +
            "ItemDescription = '" + item.getDescr() + "', " +
               "UnitCost =  '" +        item.getCost() + "', " +
            "Quantity = '" +     item.getQuantity() + "', " +
            "WHERE ItemNumber = '" + item.getItem() +  "'";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();
      public static void deleteRecord(String ItemNumber) throws SQLException
        String query = "DELETE FROM Items " +
            "WHERE ItemNumber = '" + ItemNumber + "'";
        Statement statement = connection.createStatement();
        statement.executeUpdate(query);
        statement.close();
        close();
        open();

    not familiar with this syntax,
    public static void updateField(Item item) throws
    s SQLException
    String query = "Update Items SET " +// Items
    ems (ItemNumber, ItemDescription, UnitCost, Quantity)
    " +
    "VALUES ('" + item.getCost() + "', " +
    "'" + item.getQuantity() + "', " ;
    // "WHERE ItemNumber = " ItemNumber "'"
    // "WHERE ItemDescription = " ItemDescription
    public static void updateRecord(Item item) throws
    ws SQLException
    String query = "UPDATE Items SET " +
    "ItemNumber = '" + item.getItem() + "', " +
    "ItemDescription = '" + item.getDescr() + "', " +
    "UnitCost = '" + item.getCost() +
    etCost() + "', " +
    "Quantity = '" + item.getQuantity() + "', " +one ',' too many
    "WHERE ItemNumber = '" + item.getItem() + "'";

  • Problem trying to INSERT records

    Hi friends... I have an old application (really it is not my) developed with VB6.0 the function is so important for my job, it process CDR files that receive each 30 min; the problem was that some records were not inserted...
    <br><br>
    I was probing the application and when use the database with SELECTs so expensive <em>(statistics about CDRs to compare different traffic between the current trafic/table and old trafic/tables)</em>, the app fails and dont insert a lot of records maybe some "timeout" cause that; the chain to connect with oracle is: "Provider=OraOLEDB.Oracle;User ID=MyUser;Password=MyPassword;Data Source=MyDataSource;FetchSize=200;"
    <br><br>
    Please, How do I fix that?
    <br><br>
    Thanks

    This is certainly in a transaction but from what you
    are saying this means that jdbc is not capable of
    handling constraints, also when I execute this in a
    sql window(i use toad for this) with autocommit off.
    The queries work perfectlyno i am saying it might not be capable of handling constraints in transactions.
    could you just try it without the transaction and see what happens?
    either one of two things will happen...
    1) it will work and you will know it is the transaction that is the problem
    2) it won't work and you'll know the problem is something else
    either way you'll be able to move forward to fixing your problem.

  • Problem with SQL Insert

    Hi
    I am using Flex to insert data through remoteobject and using
    SAVE method generated from CFC Wizard.
    My VO contains the following variables where id has a default
    value of 0 :
    public var id:Number = 0 ;
    public var date:String = "";
    public var accountno:String = "";
    public var debit:Number = 0;
    public var credit:Number = 0;
    id is set as the primary key in my database.
    I have previously used MySQL which automatically generates a
    new id if I either omitted the id value in my insert statement or
    use 0 as the default value.
    However, now I am using MS SQL Server and the insert
    generated this error:
    Unable to invoke CFC - Error Executing Database Query.
    Detail:
    [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert
    explicit value for identity column in table 'Transactions' when
    IDENTITY_INSERT is set to OFF.
    Strange thing is that I dont see this problem with another
    sample application. I compared with that application (it has the
    same VO with default value of 0 for id) and everything looks
    similar so I can't understand why I have this error in my
    application.
    This is SQL used to create the table:
    USE [Transactions]
    SET ANSI_NULLS ON
    SET QUOTED_IDENTIFIER ON
    SET ANSI_PADDING ON
    CREATE TABLE [dbo].[Transactions](
    [id] [int] IDENTITY(1,1) NOT NULL,
    [date] [datetime] NULL,
    [accountno] [varchar](100) NULL,
    [debit] [int] NULL,
    [credit] [int] NULL,
    CONSTRAINT [PK_Transactions] PRIMARY KEY CLUSTERED
    [id] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =
    OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,
    ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    Has anyone encountered this problem before with insert
    statements dealing with a unique id (with MS SQL Server)?

    Change "addRecords =
    connection.prepareStatement("
    to "addRecords =
    connection.preparedStatement("
    -BIGD

  • Problem with Retrieving Parent records

    Hi
    I am facing some problem with Relation ship tables
    I am able to retrieve all child relation record by using Parent record id, but the other why around is not working that is
    I am unable to retrieve  all parent records by using a child record.
    Please can you help out this..
    find the below sample method which i was trying
    public HashMap<String, Record[]> getMemberRecords(Record[] rec,
                   RetrieveRelationshipsCommand relation,
                   RepositorySchemaEx repositorySchema, String code,
                   HashMap<String, Record[]> returnMap) throws MDMException {
              LOG.debug("calling getMemberRecords");
              HashMap<String, Record[]> returnVal = returnMap;
              LOG.debug("Assigning returnType to default HashMap.");
              try {
                   for (int recordCount = 0; recordCount < rec.length; recordCount++) {
                        LOG.debug("For recordCount = " + recordCount);
                        Record tempRec = rec[recordCount];
                        relation.setAnchorRecord(tempRec);
                        LOG.debug(" setting AnchorRecord = " + tempRec);
                        relation.setLoadRecords(true);
                        LOG.debug(" setting LoadRecords = " + true);
                        relation.setGetChildren(false);
                        LOG.debug(" setGetChildren has setup with  = " + true);
                        relation.setAnchorRecordId(tempRec.getId());
                        LOG.debug(" setting AnchorRecordId = " + tempRec.getId());
                        relation.setRelationshipId(repositorySchema
                                  .getRelationshipId(code));
                        LOG.debug("Before execution relation execute.");
                        relation.execute();
                        LOG.debug("After execution relation execute.");
                        RelationshipGroup group = relation.getRelationshipGroup();
                        LOG.debug("Retrieved Relationship Group.");
                        Relationship[] relat = group.getMembers();
                        LOG.debug("Length = "+relat.length);
                        Record[] tempRecords = null;
                        if (relat != null) {
                             int length = relat.length;
                             LOG.debug("Length = "+length);
                             tempRecords = new Record[length];
                             for (int count = 0; count < length; count++) {
                                  tempRecords[count] = relat[count].getMemberRecord();
                        if (tempRecords != null) {
                             LOG
                                       .info("Records size is not equal to Null So Calling recursive getMemberRecords.");
                             returnMap = getMemberRecords(tempRecords, relation,
                                       repositorySchema, code, returnMap);
                        LOG
                                  .debug("Setting HashMap Value Values with Parent ID, records[]");
                        returnVal.put(tempRec.getId().getString(), tempRecords);
              } catch (SessionException se) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(se.getMessage());
                   ec.setErrorCode("MetadataException : " + se);
                   LOG.fatal(se, se.getCause());
                   se.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              } catch (IllegalArgumentException iae) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(iae.getMessage());
                   ec.setErrorCode("MetadataException : " + iae);
                   LOG.fatal(iae, iae.getCause());
                   iae.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              } catch (CommandException ce) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(ce.getMessage());
                   LOG.fatal(ce, ce.getCause());
                   ce.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              LOG.debug("Before returning from getMemberRecords");
              return returnVal;

    Hi
    I am facing some problem with Relation ship tables
    I am able to retrieve all child relation record by using Parent record id, but the other why around is not working that is
    I am unable to retrieve  all parent records by using a child record.
    Please can you help out this..
    find the below sample method which i was trying
    public HashMap<String, Record[]> getMemberRecords(Record[] rec,
                   RetrieveRelationshipsCommand relation,
                   RepositorySchemaEx repositorySchema, String code,
                   HashMap<String, Record[]> returnMap) throws MDMException {
              LOG.debug("calling getMemberRecords");
              HashMap<String, Record[]> returnVal = returnMap;
              LOG.debug("Assigning returnType to default HashMap.");
              try {
                   for (int recordCount = 0; recordCount < rec.length; recordCount++) {
                        LOG.debug("For recordCount = " + recordCount);
                        Record tempRec = rec[recordCount];
                        relation.setAnchorRecord(tempRec);
                        LOG.debug(" setting AnchorRecord = " + tempRec);
                        relation.setLoadRecords(true);
                        LOG.debug(" setting LoadRecords = " + true);
                        relation.setGetChildren(false);
                        LOG.debug(" setGetChildren has setup with  = " + true);
                        relation.setAnchorRecordId(tempRec.getId());
                        LOG.debug(" setting AnchorRecordId = " + tempRec.getId());
                        relation.setRelationshipId(repositorySchema
                                  .getRelationshipId(code));
                        LOG.debug("Before execution relation execute.");
                        relation.execute();
                        LOG.debug("After execution relation execute.");
                        RelationshipGroup group = relation.getRelationshipGroup();
                        LOG.debug("Retrieved Relationship Group.");
                        Relationship[] relat = group.getMembers();
                        LOG.debug("Length = "+relat.length);
                        Record[] tempRecords = null;
                        if (relat != null) {
                             int length = relat.length;
                             LOG.debug("Length = "+length);
                             tempRecords = new Record[length];
                             for (int count = 0; count < length; count++) {
                                  tempRecords[count] = relat[count].getMemberRecord();
                        if (tempRecords != null) {
                             LOG
                                       .info("Records size is not equal to Null So Calling recursive getMemberRecords.");
                             returnMap = getMemberRecords(tempRecords, relation,
                                       repositorySchema, code, returnMap);
                        LOG
                                  .debug("Setting HashMap Value Values with Parent ID, records[]");
                        returnVal.put(tempRec.getId().getString(), tempRecords);
              } catch (SessionException se) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(se.getMessage());
                   ec.setErrorCode("MetadataException : " + se);
                   LOG.fatal(se, se.getCause());
                   se.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              } catch (IllegalArgumentException iae) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(iae.getMessage());
                   ec.setErrorCode("MetadataException : " + iae);
                   LOG.fatal(iae, iae.getCause());
                   iae.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              } catch (CommandException ce) {
                   MDMException exception = new MDMException();
                   ErrorContext ec = new ErrorContext();
                   ec.setErrorMessage(ce.getMessage());
                   LOG.fatal(ce, ce.getCause());
                   ce.printStackTrace();
                   exception.setContext(ec);
                   throw exception;
              LOG.debug("Before returning from getMemberRecords");
              return returnVal;

  • Problem with picture insertion in a form created with LiveCycle

    I created a form with a picture field. Yet, no matter which size attribute I give to the field, (e.g. keep original size, adjust to the whole field or adjust proportionaly to the field (my version is in French so I am not sure what the English text is exactly for those attributes)) once in the form, the picture keeps streching to the whole field! (I'll let you imagine what results it can give...). Am I missing something?

    Well, it's someone els's picture. I would feel very much unconfortable to post it publicly. Can I send it to you by email? I have the same problem with all the pictures....

  • Problem with non-matching records

    I have 3 tables - TBL1 is a list of Conditions; TBL2 contains collected data; and TBL3 contains referenced details on the data in TBL2.
    TBL2 contains some matching values from TBL1.
    Ex.
    TBL1
    Condition
    01 Test A
    02 Test B
    03 Test C
    TBL2
    Name, Condition, Value
    Host101, 01 Test A, Yes
    Host101, 02 Test B, No
    Host101, 03 Test C, Yes
    Host102, 01 Test A, No
    Host102, 03 Test C, Yes
    I have them linked TBL1 Left Outer to TBL2 and TBL2 Left Outer to TBL3.
    My desire is to get the complete list of Conditions in TBL1 for each record in TBL2, even where there is no matching TBL1 value in TBL2 - so the report results of the above table data would be:
    Host101
    01 Test A     Yes
    02 Test B      No
    03 Test C      Yes
    Host102
    01 Test A     No
    02 Test B
    03 Test C      Yes
    So even though there is no data returned in TBL2 for Host102, 02 Test B, the record for that entry in TBL1 is still returned in the report.
    Currently I have the report structured as follows -
    {TBL2 Name}
    TBL1 Condition     TBL2 Value
    Seems quite simple, but I must be missing something somewhere, as I am only able to get the data where the records match, so, in the example above, I am getting only -
    Host102
    01 Test A     No
    03 Test C      Yes
    Any assistance would be much appreciated.  Thanks!
    Also, I tried doing a simple new report using just TBL1 & TBL2 and still get the same results (also tried a Full Outer join as well).
    Frustrating .......
    Edited by: Dragon77 on May 17, 2010 2:05 PM

    As I said, I have even tried removing TBL3 to make things even simpler - TBL1 & TBL2 Left Outer joined on the common field.
    I have tried every combination that I can think of.  We're talking on 4 fields in the report -
    Group Header 1 = {TBL2 Name}
    Group 2 = {TBL2 Unique Field}
    Detail = TBL1 Condition     TBL2 Value
    Group Header 1 = {TBL2 Name}
    Group 2 = {TBL2 Unique Field}
    Group 3 = {TBL1 Condition}     {TBL2 Value}
    Detail Suppressed
    No matter what I try, I only get matching records.
    I've gone so far as to just have the minimal 3 fields
    Group Header 1 = {TBL2 Name}
    Group 2 = {TBL2 Unique Field}
    Detail = TBL1 Condition
    Group Header 1 = {TBL2 Name}
    Group 2 = {TBL2 Unique Field}
    Group 3 = {TBL1 Condition}
    Detail Suppressed
    The tables only have the 1 field in comon {TBL1, TBL2 - Condition)
    This just doesn't make sense.  {TBL1 Condition} should have ALL of its entries returned along with any matching records from {TBL2 Condition} - not just where they are equal.

  • Problems with update/insert and the ON clause

    I have two rather identical mappings, both supporting SCD Type II. One of them works, the other one doesn't.
    As in the SCD whitepaper, I have a split, that ultimately ends in a union, and then UPDATE/INSERTs into the target dimension. My problem is, that though using the matching_id for matching in one mapping, it is not allowed in the second mapping. The error is ORA-38104: The columns refererred in the ON-Clause cannot be updated "MyTable.MyId" (all loosely translated).
    I just don't understand it, as it should be able to match the ID, and if not found, create a new record using INSERT.
    I found a description of the error that sounded like this (https://cwisdb.cc.kuleuven.ac.be/ora10doc/server.101/b10744/e38001.htm):
    ORA-38104: Columns referenced in the ON Clause cannot be updated: string
    Cause: LHS of UPDATE SET contains the columns referenced in the ON Clause
    Action: none
    I just don't understand how this can be a problem, since I have to carry the surrogate key along, in order to assure that the proper records gets updated...
    Anyone who can enlighten me on this one?
    Regards
    Kim

    Oh yes :) I was a quite active participant. What puzzles me is, that I cannot get mapping #2 to work. I have tried to do everything virtually alike, with regards to the surrogate key, and the extra mapping column.
    My setting for the keys are as below:
    Surrogate Matching
    Load column when inserting: yes no
    Load column when updating: yes no
    Match column when updating: no yes
    Load column when deleting: no no
    Table best viewed in notepad :)
    It "feels" like it's trying to update the surrogate key, instead of actually matching.
    Regards
    Kim

  • Problems with the "INSERT" button.

    Hi,
    I have a problem in my homework. I am required to do the following:
    'original numbers' array contains zeros. Let LabVIEW fill an array "original numbers" by random integers from 10 to 90 at a rate 1 number/0.5 seconds by replacing each zero at a time from top to bottom. (DONE)
    user fills in 10numbers in an array 'numbers to be probably inserted'. Then the user decides if he needs to change a generated number that he doesn't like by changing the 'Insert' array.
    Then he presses the INSERT button and a resulting array would appear containing the elements the user changed......
    This video might clarify:
    http://www.youtube.com/watch?v=dDXo2ABqNM4
    The problem I am facing is the INSERT button. In the video, the moment it is switched the program will continue to the last part.
    I am attaching the vi. I think there are no logical mistakes in the program except the INSERT case structure.
    Thank You.
    P.S. The version is LabView2010 ; I'm getting error trying to save to previous versions sorry.
    Solved!
    Go to Solution.
    Attachments:
    INSERT.vi ‏18 KB

    A.A.A. wrote:
    What does it mean to disable auto-indexing?
    I didn't understand why we used the reshape array palette. What are the dimensions of the input and the output? Very nice way how you made a length 10 zero array. (i'll use that when i figure the solution of the dimension problem.)
    Did you use the 100ms wait in order not to affect computer performance or for other reason?
    How where you able to connect the 'changed numbers' array to Not Equal Palette?
    From where did you get the "replace" button? I think my "insert" button does the oppositeof what it should do.
    Your code sitll has major flaws. Your questions are very basic and I recommend to do a few tutorials.
    If you wire an array across a loop boundary, the tunnel can have two modes (plain (solid square) or autoindexing (contains a small set of square brackets)). In your case, you are autoidenxing the 1D array, creating a 2D array (double-line) at the output of the first loop. You are generating 10x too much data! (create an 10x10 indicator on the 2D array to see what you are actually doing!). You can right-click a tunnel to switch between indexing modes. A plain tunnel transports the array data unchanged. An autoindexing output tunnel, creates an array with a higher dimension, in your case a 2D array from a 1D array with one new row per iteration. If you autoiindex a scalar, you get a 1D array with one element per iteration. An autoidexing input tunnel does the reverse. If you wire a 1D array to a FOR loop using autoindexing, you get a scalar per iteration and the FOR loop will stop once the array runs out of elements. Is it equavalent (with some important differences) to wiring without autoidenxing, then using "index array" with the index wired to [i] as you currently do. In your case, you chould get the 1D array from the shift register of the first loop, it has all the information(!), and disable autoidexing at the boundary of the second loop and the outcome would be the same, except you use only 10% of the memory.
    Once you are autoidexing at a loop boundary, a FOR loop iteration count will be determined by the size of the smallest autoindexing array. This would be a problem if you later want to change the code to operate on e.g. 20 elements, because the other two arrays in my code would force the loop to stop after 10 iterations. "Resize array" can be used for padding/trimming arrays and in this case we are forcing them to be the lenght on the main array to ensure that the FOR loop does not stop prematurely. In your case, the replace and switch arrays are empty by default, so the loop would not spin at all unless you would enter some values. "resize array" brings them up to size.
    Yes, you need a small wait either inside the other case or elsewhere in the while loop. Without a wait, the basically empty loop will spin millions of times per second, consuming all CPU in the process while doing nothing. No human can click a button with that kind of time resolution, so a 100ms wait is not noticeable, but will drop the CPU use to negligible levels. Your computer has dozens of processes running at any given time. Imagine how well it would work if all programs would consume all CPU they can possibly get?
    I am comparing two arrays, and the output will be a boolean array. You are only comparing two scalars and you won't get an array. You also don't need the "AND", because if the values are different it has to be true anyway. In your case you would need to carry a boolean array similar to the number array, replacing elements as you go.
    A button is a button is a button. There should be no difference. You can change the label, boolean text, default value, and mechanical action to match your requirements.
    A.A.A. wrote:
    I have done so to initialize the arrays full of zeros yet the way you did it way easier.  How did u initialize them to zeros?(from where did you get the palettes? I have attached a picture clarifing my question.
    These are local variables. You don't need to find them in the palettes. Simply right-click a terminal and "create local variable". Voila!
    (Local variables can be used to read from an indicator or write to a control. However, because they break dataflow, you can generate dangerous race conditions. They also force extra data copies in memory. Don't use them like "variables" in text based code. Except for initialization and user interface interactions, they should be used sparingly and are rarely needed. In principle, my code has a theoretical race condition because the order of operations is not determined between the three independent code sections. For example if the initializion would happen after the second loop executes, you would get an unexpected result. It will never happen in this particular case, but in other scenarios it could be a problem.)
    LabVIEW Champion . Do more with less code and in less time .

  • An interesting problem with DW insert behavior

    I've recently realized that the Insert behavior allows for
    certain
    problems.. for example,
    http://www.websitenamehere.com/register.asp?MM_Insert=Registration
    will insert a null record since the querystring MM_Insert
    having the Value
    of Registration will set up all the conditions necessary to
    insert a record
    without validating any data.
    I know this because I recently had 200 null records suddenly
    show up in the
    database.. any suggestions for how to avoid this? Anyone?

    We have done a lot in the field of xsl:fo but not for BIP but for FOP. I've had the same problem for some reports but in the end I gave up and used jasperserver. I find it a little amusing that the same problem of FOP exists in BIP...
    Jasper reports is completely java based and can convert to all formats BIP can. It can also read html from clobs and convert it for your reports.
    Another advantage is that it's free. The downside is that imho there are still some bugs in the jasperserver and it's quit hard to install. But once it's running it's great...
    Br,
    Nico
    Edited by: NicoMartens_InterAccessBE on 16-mei-2011 14:51

  • Pixelation problems with Live and Recorded Viewing

    I'm having massive pixelation when viewing live HD channels or viewing recorded HD shows.  When watching live TV the problem is active when I turn on a 2nd TV.  We had tech support out and the trouble shooting did not resolve the problem.  They thought it was related to bandwith.  I'm not well versed on the technology, and don't feel as if I need to understand why their product is not working as it should.  I'm paying for a product that is not functioning.  What do I need to do as a consumer to obtain the customer service that is expected from AT&T?

    Call and schedule another tech visit...Or download the Hyatt app, login with your att email account/password, run the troubleshoot test. This runs 5 tests, any problems found with these will help create a service ticket, if receive a green check mark, no problem found within tests ran. As you report increased issue with two TVs on, I suspect your on coax with cable issue. Inside wiring issues are billable, minimum $99 labor plus $55 for each cable run.If coax cable, looking at ends (compressed not screw or from), cable itself should be RG 6 not RG59, old wall plates, splitter (should only be one, Holland brand). If replacing the physical connections do not work, actually cable bad (store bought, RG59) best to either install up to two wireless receivers (one time charge $49 each) or have tech replace coax with cat5 ($55 per line) Are other issues possible, yes... But coax best describe your issue....Other possibilities include flaky receiver (replace receiver), failing port on RG (replace RG), or other wiring issues outside or inside... Test at nid for errors, no errors at nid is inside wiring issue. Foreign voltage from TV (especially newer TV with amplifier) needing TV grounded requiring you to have grounded outlets (electrician job if not grounded), bad ac power, many use power strip that goes flaky replace the power strip or plug direct into wall outlet.  As problem is listed as recent, something changed, what is question and who is responsible for repair (paying to fix). If can rule out inside (electric/cable runs your issue) then equipment and outside is company issue.  Request another service call, a fresh set of eyes main reveal something previous tech missed.

  • Problem with the garbage record getting printed at the beginning

    Hello Friends,
    I know that this problem is very difficult to solve without looking at my script and its program. But I will try asking anyways.
    I have written the following code (Driver program) which uses to tables ZRAMCUSTMAST AND ZRAMCALLMAST.
    ZRAMCUSTMAST has customer details like address etc.,
    ZRAMCALLMAST has the call details that each
                 customer has done.
    But when I print the details, it prints everything correctly but for each customer it prints some garbage
    values as the first row.
    Any feedback will be greatly appreciated. You can mail me the response also (singer_ram AT yahoo DOT com)
    CODE in my driver program (SE38) -
    *& Report  ZRAMPROJSCRIPT                                              *
    REPORT  zramprojscript                          .
    TABLES : zramcustmast, zramjuncmast, zramcallmast.
    DATA : itabcustmast LIKE zramcustmast OCCURS 1 WITH HEADER LINE,
           itabjuncmast LIKE zramjuncmast OCCURS 1 WITH HEADER LINE,
           itabcallmast LIKE zramcallmast OCCURS 1 WITH HEADER LINE.
    DATA: type_of_call(1),
          CALL_CHARGE type i, CALL_CHARGE_STRING(5), TOTAL_CHARGE type i,
          hour(2), min(2), sec(2).
    SELECT * FROM zramcustmast INTO TABLE itabcustmast.
    *SELECT * FROM zramjuncmast INTO TABLE itabjuncmast.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      dialog                            = 'X'
       form                              = 'ZRAMPROJSCRIPT'
       language                          = sy-langu
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      CODEPAGE                          = 11
      OTHERS                            = 12
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT itabcustmast.
      CALL FUNCTION 'START_FORM'
       EXPORTING
      ARCHIVE_INDEX          =
         form                   = 'ZRAMPROJSCRIPT'
         language               = sy-langu
      STARTPAGE              = ' '
      PROGRAM                = ' '
      MAIL_APPL_OBJECT       =
    IMPORTING
      LANGUAGE               =
    EXCEPTIONS
      FORM                   = 1
      FORMAT                 = 2
      UNENDED                = 3
      UNOPENED               = 4
      UNUSED                 = 5
      SPOOL_ERROR            = 6
      CODEPAGE               = 7
      OTHERS                 = 8
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         element                        = 'MAINPAGE'
         function                       = 'SET'
         type                           = 'BODY'
         window                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      clear itabcallmast.
      refresh itabcallmast.
      SELECT * FROM zramcallmast INTO TABLE itabcallmast WHERE customerid = itabcustmast-customerid.
      SORT itabcallmast by calltype.
      TOTAL_CHARGE = 0.
      LOOP AT itabcallmast.
    Local Call : 1 Rupee per Minute.
    STD : 1.5 Rupees Per Minute
    International calls : 5 Rupees Per minute
    hour = itabcallmast-CALLDURATION+0(2).
    min = itabcallmast-CALLDURATION+2(2).
    sec = itabcallmast-CALLDURATION+4(2).
    CASE itabcallmast-calltype.
    WHEN 'L'.
        CALL_CHARGE = ( ( hour * 60 * 60 ) + ( min * 60 ) + ( sec ) ) / 60.
    WHEN 'S'.
        CALL_CHARGE = ( ( ( hour * 60 * 60 ) + ( min * 60 ) + ( sec ) ) * 2 ) / 60  .
    WHEN 'I'.
        CALL_CHARGE = ( ( ( hour * 60 * 60 ) + ( min * 60 ) + ( sec ) ) * 5 ) / 60   .
    ENDCASE.
    CALL_CHARGE_STRING = CALL_CHARGE.
    TOTAL_CHARGE = TOTAL_CHARGE + CALL_CHARGE.
        CALL FUNCTION 'WRITE_FORM'
         EXPORTING
           element                        = 'MAINPAGE'
           function                       = 'SET'
           type                           = 'BODY'
           window                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDLOOP.   " ************ itabCALLmast
      CALL FUNCTION 'END_FORM'
    IMPORTING
      RESULT                         =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SPOOL_ERROR                    = 3
      CODEPAGE                       = 4
      OTHERS                         = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    clear itabcallmast.
    ENDLOOP.   " ************** itabCUSTmast
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    hi
    good
    check the following things-
    1- Check the value for the field in the particular table,
    2- Check the data you r passing from the driver program and the field that is printing the value in the sapscript screen.
    3-check in the debug mode when the value is printing in the first row.
    thanks
    mrutyu

  • Problem with using INSERT INTO script

    Hi guys,
    I was trying to duplicate a table with the following script:
    CREATE TABLE TAB3(
    KEYATTR     NUMBER(3)     NOT NULL,
    BODY1     CHAR(1000)     NOT NULL,
    BODY2      CHAR(1000)     NOT NULL,
    BODY3     CHAR(1000)     NOT NULL,
         CONSTRAINT TAB3_PKEY PRIMARY KEY(KEYATTR) )
    INSERT INTO TAB3
         SELECT      *           
         FROM system.table3
         ORDER BY DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) DESC, KEYATTR DESC
    However, when I execute the script, I keep getting a 'missing right parenthesis' error. Any idea what went wrong?

    You don't need braces.
    Just
    INSERT INTO TAB3
    SELECT *
    FROM system.table3
    ORDER BY DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) DESC, KEYATTR DESCshould work.

  • Serious problem with previous / next record in master-details relations

    I have master-details relations like this (if master is A) :
    A-B
    A-C and C-D
    When I move down with do_key('next_record') all values of all records in all blocks are OK. But when I move up, it doesn't work : all D block values are erased and I don't understand why ?
    Thank you for your help.
    Antoine LEFEBVRE.

    Blocks A and B are in the first canvas and blocks C et D are in the second canvas.
    On next_record action from A the B is updated, C too and D too. But on previous_record action, D is not updates.
    To display the second canvas I use a command button and into the WBP trigger there is :
    go_block(C);
    execute_query;
    to be sure to execute query, but it's null.
    What's your suggest ?
    Thank you,
    Antoine.

Maybe you are looking for

  • Clearing customer Items with Special G/L Indicator 'A' (down payment)

    Hi All, I've to clear two items of a customer by t.code F-32: Both items, that I dysplays by t.code FBL5N (u20AC 20.000,00 and - 20.000,00), are with Special G/L Indicator 'A' (down payment). Only the first one contains a 'tax amount' equal to 4.000,

  • CS6 - 'Smart Guides' aren't vissible

    I have a love-hate relationship with Smart Guides, but I need them.  After installing Illustrator CS6 (Production Suite) on my Mac Pro (2 x Quad-Core Intel Xeon, 12 Gb of RAM) I can't toggle Smart Guides on!  Whether there is a check next to the menu

  • Problem in passing varchar2 parameter to Evaluate function in OBIEE

    Hi there, This is regarding an issue while passing parameter in EVALUATE function. I have to call a function with varchar parameters. parameter are nothing but my table column values. I've created session variables which holds value from my table col

  • Mac mini crashing unexpectedly

    I have this issue where, all of a sudden, out of nowhere, my mac will freeze for a few seconds and then immediately reboot itself without going through the shutdown process.  I read that it could be a RAM issue, but I upgraded the RAM 3 years ago and

  • Inserting the timestamps in chapters

    I joined some Quicktime movies together and tried to insert chapters, but I kept getting an error about the time not being right. I was using the Quicktime Help guide part called, "Editing and Authoring/Creating a Chapter List for a Movie." On # 7 it