Multiple Dataload, DTP, Dublicate Keys

Hi specialists,
following scenario:
Some master-data (let's say for 0material) is loaded multiple times (let's say 3 times) to the BW via a Full-InfoPackage.
Then a Delta-DTP is started to forward the (latest) records from the PSA to the master-data-table.
I expeced the DTP to be clever enough to find the lastest record for each key in order to write only that record to the master-data-table. But instead I experienced, that the DTP crashes because it finds "Dublicate keys" (of course it does - because there're 3 times the same records because of the multiple InfoPackage execution).
Could you comment/clearify that please?
How do you handle such cases?

In DTP delta is request based.
So it wil load all the three requests in the infopackage.
And hence because of that will find a duplicate entry.
You need to chk the duplicate entry option in the DTP. Then it wont fail.
So best practice is use full infopackage and after that Delta DTP in process chain.
So after each run of infopackage that request is loaded using a delta DTP.

Similar Messages

  • Getting Multiple Records with Same Key throws Access Violation

    Are there any known issues with PInvoke Signatures for GET .. Im gettign consistently AVL's when attempting to read Multiple Values under single key ..
    Error doesn't happens while debugging in VS 2007 , Tried turning off optimizations with no luck ..
    Im using VS 2010 and .NET 4.0 ( WIN XP) . I do have a repro. ( Im using latest bits from Oracle site as of 9/10/2010 )
    Unhandled Exception: System.AccessViolationException: Attempted to read or write
    protected memory. This is often an indication that other memory is corrupt.
    at BerkeleyDB.Internal.libdb_csharpPINVOKE.db_strerror(Int32 jarg1)
    at BerkeleyDB.DatabaseException..ctor(Int32 err) in C:\Users\gmf\db\db-5.0.26
    \csharp\DatabaseException.cs:line 78
    at BerkeleyDB.DatabaseException.ThrowException(Int32 err) in C:\Users\gmf\db\
    db-5.0.26\csharp\DatabaseException.cs:line 34
    at BerkeleyDB.Internal.DB.get(DB_TXN txn, DatabaseEntry key, DatabaseEntry da
    ta, UInt32 flags) in C:\Users\gmf\db\db-5.0.26\csharp\Internal\DB.cs:line 187
    at BerkeleyDB.BaseDatabase.Get(DatabaseEntry key, DatabaseEntry data, Transac
    tion txn, LockingInfo info, UInt32 flags) in C:\Users\gmf\db\db-5.0.26\csharp\Ba
    seDatabase.cs:line 900
    at BerkeleyDB.Database.GetMultiple(DatabaseEntry key, Int32 BufferSize, Trans
    action txn, LockingInfo info) in C:\Users\gmf\db\db-5.0.26\csharp\Database.cs:li
    ne 494
    at helloworld.Program.Main(String[] args) in C:\bdm\helloworld\helloworld\Pro
    gram.cs:line 53
    Appreciate any help.
    Thanks
    Nirmal
    Edited by: user8050299 on Sep 10, 2010 3:29 PM
    Updated with OS

    seems like oracle .NET bindings doesnt work for new CLR . It works fine with .NET 2.0
    May be Oracle folks will release new version for 4.0

  • Multiple ssid's same key ?

    i am deploying (1) 1242ag as root-bridge with multiple vlans and ssids but have left the key the same for each ssid/vlan. the remote (4) 1242ag's will be configured as work-group bridges with 1 vlan & 1 ssid for each. The key will be the same on all devices.
    Is this recommended? how would it be better set up? or is it fine this way.

    Are you referring to the WEP key. Using this method is not scalable and also not secure. Use a authentication mechanism like EAP which will generate per session keys.

  • Need to concatonate multiple values for same key columns into one string

    Hi...I'm attempting to use PL/SQL to read through a table containing more than one column value for a set of keys, and concatonate those values together into one string. For example, in the STUDENT table, for a STUDENT_ID there are multiple MAJORS_ACCOMPLISHED such as History, Biology and Mathematics. Each of the majors is stored in a different row with the same STUDENT_ID due to different faculty DEPARTMENT values.
    I want to read through the table and write out a single row for the STUDENT_ID and
    concatonate the values for MAJORS_ACCOMPLISHED. The next row should be another STUDENT_ID and the MAJORS ACCOMPLISHED for that student..etc.
    I've hit a wall trying to use cursors and WHILE loops to get the results I want. I'm hoping someone may have run across this before and have a suggestion. Tks!!

    I think you are looking for string aggregation.
    The following are the replies posted by me in the forum recently on the same case.
    they might help you.
    Re: Concatenating multiple rows in a table - Very urgent - pls help
    Re: Doubt in a query ( Urgent )
    Re: How to remove words which consist of max 2 letters?
    Re: output like Name1,Name2,Name3...

  • Selecting Multiple Files With Shift Key

    Am I right in understanding that the only way to select multiple files with the Shift key in Finder is by using File view? Seems kinda silly.
    Thank you, Scott

    I'm at my Snow Leopard machine right now, and I'm not sure that nothing was changed in Mavericks, but I never noticed that it was.
    I have four view modes: Icon, List, Column and CoverFlow.
    I almost always use Column view, but I am guessing that you are calling Icon view File view. In Icon view, Shift clicking seems to work the way Command clicking does in Column view (and probably the other views as well): it allows you to add randomly selected files to the selection. In Column view, Shift clicking works like it does for most things (like text selection); it selects every thing between the previous click and the Shift click.

  • Multiple values for one key in hashtable k, v

    So, I know that java.util.hashtable (as of Java 1.5) uses separate chaining to handle collisions. What I want to know is how to get a certain value somewhere in that bucket if they all share a common key? Javadoc says I have to search it sequentially but doesn't say how.

    OK, there's a lot of confusion on here for such a short thread :-)
    Firstly, HashMaps pick which "bucket" to store your object in based on the hash value of your object (see Object.hashCode()). However, the actual object equality test (applied to the keys during a search) is based on Object.equals(). Therefore which bucket your object is in is irrelevant - the bucketting concept is just used as a way of quickly locating a subset of all the keys in the map which might match your search value. There could very well be just a single bucket in a map and it wouldn't change its logical behaviour.
    This statement: "any Map including Hashtable, can only have a single (key,value) pair" is poorly worded. What it should say is that for any given key, a map can only hold a single value.
    Really, you don't need to think about the internal structure of maps (i.e. buckets, etc.).
    If you want to store multiple values for any given key, then make your value a list (java.util.List) and store your multiple real values inside that list.

  • Default button being clicked multiple times when enter key is pressed

    Hello,
    There seems to be a strange difference in how the default button behaves in JRE 1.4.X versus 1.3.X.
    In 1.3.X, when the enter key was pressed, the default button would be "pressed down" when the key was pressed, but wouldn't be fully clicked until the enter key was released. This means that only one event would be fired, even if the enter key was held down for a long time.
    In 1.4.X however, if the enter key is pressed and held for more than a second, then the default button is clicked multiple times until the enter key is released.
    Consider the following code (which is just a dialog with a button on it):
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(jButton1);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    new SimpleDialog().show();
    When you compile and run this code under 1.3.1, and hold the enter key down for 10 seconds, you will only see one print line statement.
    However, if you compile and run this code under 1.4.1, and then hold the enter key down for 10 seconds, you will see about 100 print line statements.
    Is this a bug in 1.4.X or was this desired functionality (e.g. was it fixing some other bug)?
    Does anyone know how I can make it behave the "old way" (when the default button was only clicked once)?
    Thanks in advance if you have any advice.
    Dave

    Hello all,
    I think I have found a solution. The behaviour of the how the default button is triggered is contained withing the RootPaneUI. So, if I override the default RootPaneUI used by the UIDefaults with my own RootPaneUI, I can define that behaviour for myself.
    Here is my simple dialog with a button and a textfield (when the focus is NOT on the button, and the enter key is pressed, I don't want the actionPerformed method to be called until the enter key is released):
    package focustests;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(new JTextField("a text field"), BorderLayout.NORTH);
    this.getContentPane().add(jButton1, BorderLayout.SOUTH);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    javax.swing.UIManager.getDefaults().put("RootPaneUI", "focustests.MyRootPaneUI");
    new SimpleDialog().show();
    and the MyRootPaneUI class controls the behaviour for how the default button is handled:
    package focustests;
    import javax.swing.*;
    * Since we are using the Windows look and feel in our product, we should extend from the
    * Windows laf RootPaneUI
    public class MyRootPaneUI extends com.sun.java.swing.plaf.windows.WindowsRootPaneUI
    private final static MyRootPaneUI myRootPaneUI = new MyRootPaneUI();
    public static javax.swing.plaf.ComponentUI createUI(JComponent c) {
    return myRootPaneUI;
    protected void installKeyboardActions(JRootPane root) {
    super.installKeyboardActions(root);
    InputMap km = SwingUtilities.getUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    if (km == null) {
    km = new javax.swing.plaf.InputMapUIResource();
    SwingUtilities.replaceUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW, km);
    //when the Enter key is pressed (with no modifiers), trigger a "pressed" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, false), "pressed");
    //when the Enter key is released (with no modifiers), trigger a "release" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, true), "released");
    ActionMap am = SwingUtilities.getUIActionMap(root);
    if (am == null) {
    am = new javax.swing.plaf.ActionMapUIResource();
    SwingUtilities.replaceUIActionMap(root, am);
    am.put("press", new HoldDefaultButtonAction(root, true));
    am.put("release", new HoldDefaultButtonAction(root, false));
    * This is a copy of the static nested class DefaultAction which was
    * contained in the JRootPane class in Java 1.3.1. Since we are
    * using Java 1.4.1, and we don't like the way the new JRE handles
    * the default button, we will replace it with the old (1.3.1) way of
    * doing things.
    static class HoldDefaultButtonAction extends AbstractAction {
    JRootPane root;
    boolean press;
    HoldDefaultButtonAction(JRootPane root, boolean press) {
    this.root = root;
    this.press = press;
    public void actionPerformed(java.awt.event.ActionEvent e) {
    JButton owner = root.getDefaultButton();
    if (owner != null && SwingUtilities.getRootPane(owner) == root) {
    ButtonModel model = owner.getModel();
    if (press) {
    model.setArmed(true);
    model.setPressed(true);
    } else {
    model.setPressed(false);
    public boolean isEnabled() {
    JButton owner = root.getDefaultButton();
    return (owner != null && owner.getModel().isEnabled());
    This seems to work. Does anyone have any comments on this solution?
    Tjacobs, I still don't see how adding a key listeners or overriding the processKeyEvent method on my button would help. The button won't receive the key event unless the focus is on the button. There is no method "enableEvents(...)" in the AWTEventMulticaster. Perhaps you have some code examples? Thanks anyway for your help.
    Dave

  • Multiple selection with control key in ring, enum, or radio buttons on Speedy-33 ?

    Hi all,
    I want to create a list of entries via ring, enum, or radio buttons. I just want the user to be able to select more than one entry from the list.. This is normally doable with windows applications by using control key. However, how could I do the same thing or let the user choose more than one entry from the list? Any idea is greatly appreciated..
    Thanks so much!

    Hi Casiopea -
    To answer your question, I'm not sure I've ever actually seen a ring, enum, or radio button control exhibit the "CTRL+click" behavior you're describing.  (In fact, I think all of those user interface elements are designed specifically so that only one value can be selected at any one time.)
    However, I have seen plenty of list boxes allow multiple selection, and LabVIEW's list boxes can do the same.  A group of checkboxes can also end up looking like radio buttons if you group them with some "decoration" and would allow you to select multiple options (because you can check/uncheck each box independently).
    I'm not quite sure, though, how your question relates to LEGO specifically.  Did you accidentally post this question to the wrong discussion forum?
    To address Eagles Coach's statements, the official Move block uses checkboxes in the "Port" section of the configuration pane in the MINDSTORMS software, not radio buttons.  The Motor block uses mostly radio buttons, and I didn't see any sections that allow multiple selections.
    James Blair
    NI R&D

  • How to get one value from multiple duplication for a key figure field

    Hi expert,
          I have a infoprovider, with following format:
            employee     hourly_rate   action_type  count of action
         there are multiple rows for each employee, I want to create query as follows:
            employee     hourly_rate   action_type  count of action
         in which hourly_rate is constant , only retriving one value from multiple rows for one employee, count of action should be summarized. 
    how to get this hourly_rate.
    Many Thanks,

    Hi,
    put the employee in rows panel -> reaming object put it in free char panel.
    suppress the all result rows for the all object except employee .
    select the object -> go to query properties -> select display tab -> select result rows -> select suppress.
    select the employee -> go to query properties -> select display tab -> select result rows -> select always display. - now it will give employee wise hourly rate summarize data.
    Thanks,
    Phani.

  • How to get Multiple Values for a key from a session object?

    Hi,
    It might seem dumb but I am facing a problem here with the session object. I'll paste the session object's content from the netbeans "Local Variables" window for clarity -
    Name Type Value
    hsession StandardSessionFacade #66
    session LWSFSession #69
    inherited
    attributes Hashtable #80
    [0] Hashtable$Entry "cart"=>#115
    key String "cart"
    value DummyCart #115
    item null
    submit null
    v Vector
    [0] String Full Metal Jacket
    [1] String As Good As It Gets
    [2] String Tim
    What I want is to get the values "Full Metal Jacket", "As Good As It Gets" and "Tim" from the session obejct?
    The problem I am facing is that if I do a session.getAttribute("cart"), I'll get a single value in return. What will that value be? Will it be "item", "submit" or "v"? And if I want all the values in v above, how can I get them?
    Thanks.

    None of the above.
    HttpSession.getAttribute() will return what you put into it using HttpSession.setAttribute(). In your case, it'll return an Object which you need to cast to DummyCart. Then you can access the data in DummyCart using the API of the DummyCart class.
    hth

  • Query multiple data sources via keys (federated query)

    I have a requirement to fetch data from two different databases, one financial and one operational, to make compound measure (a ratio). I need to fetch a value for the number of calls answered in a call centre from one database (we'll call this "CustomerCare" and the measure "CallsAnswered") I have a good degree of control over this system as it sits in my department so I can add foreign keys into the live tables or add mapping tables, etc. The other measure I need is the wage bill for the same period which comes from a finance database (we'll call this "FinanceMart" and the measure "WageBill").
    My problem is that we run this for several joint venture companies and the query needs to take that into account allowing each JV to see only their data. To date all of my tests with OBIEE would issue the following query to both databases...
    SELECT Date,CallsAnswered,WageBill FROM <DATABASE> WHERE JointVenture = "JV Motors"
    ... but that only works if the joint ventures are named the same in both systems and they are not. I need to report by the names in my CustomerCare database (they are familiar to the business) so the only thing I can think to do is to put mapping details (either keys or text values) into my tables and have OBIEE join on those. When I tried this OBIEE failed to issue a query against the FinanceMart as soon as I introduced the JointVenture field but otherwise it works fine when I use either the mapping field or when I use just date.
    If anyone can shed some light on this it would be much appreciated.
    Thanks in advance.

    Both schemas are definitely stars, this example is a slimmed-down version of the real environment (I have many more measures and dimensions) but I only need the one measure from the FinanceMart.
    As an example the CustomerCare DB has the following JVs: Star Autos, Fulton Honda, Mortlake Scooters. In the FinanceMart the same three would read: Automotive Sales (UK) Ltd, Jack Fulton & Son Ltd, Peter Evans Motor Company Ltd.
    That's why I need some kind of mapping, I just need to know how to configure OBIEE to join on one column but allow you to report by another.

  • HTTPURLConnection response with multiple Set-Cookie Header key

    I set up a connection to a server and it gives me a response. This response has two header keys but when I loop through like so many reference and how-to sites tell me I only get one and its the last value.
    This is some code that I'm using:
    for (int i=1; (headerName = conn.getHeaderFieldKey(i))!=null; i++) {
         System.out.println(headerName);
         if (headerName.equals("Set-Cookie")) {                 
                     cookie += conn.getHeaderField(i);   }           
         }Has anyone attempted this successfully? This code was copy and pasted from an example claimed to work but I used it myself and it doesn't work.
    This is the response message:
    HTTP/1.1 302 Moved Temporarily
    Date: Mon, 16 Feb 2009 03:47:47 GMT
    Server: Apache
    Set-Cookie: JSESSIONID=E7C54E0ECE8CCFD89EF91FF8A47E34BC; Path=/
    Location: http://<SITEURL>/redirecting.jsp
    Content-Length: 0
    P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE PSA"
    Keep-Alive: timeout=15, max=15
    Connection: Keep-Alive
    Content-Type: text/html;charset=ISO-8859-1
    Set-Cookie: BIGipServerI2O_pool_A=1815557130.20480.0000; path=/

    I just read in the Bug database that this is a JDK 1.4 bug, with no workaround proposed. I am using JDK 1.3.
    Does anyone out there know about a workaround or what other scheme I could use to do the same thing? (For me it's necessary to set at least the User-Agent and the Cookie headers).

  • Can't select multiple items with shift key os 10.7

    I can use command A to select all, and I can select multiple items with command and individually clicking each one, but not using Shift and clicking on the first and last items.  Any ideas?

    You need to display the window in column or list view. Shift-clicking items won't do that in icon view.
    (64793)

  • SCD issue when multiple records in the source dataset have same natural key

    When I load a dataset into a slowly changing dimension, sometimes the dataset contains multiple records for the same natural key. The rows are different by the column last_update_date (among other possible differences).
    The behavior I want is this: if during an ODI job run, the source dataset contains multiple records for one natural key, all records will load into the dimension, but only the record with the greatest last_update_date gets marked as the current record in the dimension. Right now, ODI is marking all of the incoming rows for the natural key as current. Any ideas? Thanks!

    Last_update_date is on the source but is not being sent to the target. Thus, it doesn't have an SCD behavior. I think my solution will be to pre-process the incoming records so I don't attempt to load multiple rows per natural key. I was just hoping someone here knew of an easier solution.
    If it helps, except for the SK, NK, Current Flag, and Effective Date fields, all SCD behaviors are "add row on change".

  • JFileChooser Multiple selection not working on Mac using apple, command key

    I am using Java 1.4 webstart on Mac machine.
    The code is :
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(2);
    fileChooser.setMultiSelectionEnabled(true);
    Once the File dialog opens I have problems in selecting random multiple files. Apple key or command key is used for random selection on Mac. When using either of these keys multiple selection is not possible. Whereas I am able to select files using the shift key by which row selection is possible.
    If this is not a bug and some code changes are to be done it would be fine if somebody can help me out in this.
    If this is a bug in Java 1.4 and is this fixed in Java 1.5?

    All EIDE / ATA (Parallel) devices (drives, opticals) allowed for two such drives or devices on one bus. The old style was "master" and "Slave" but CS is a "smart" approach, however, the master or only device must be on the end position. Also, the end connector will be black, the middle (slave) is gray.
    Eject sends signal to master
    To eject the "slave" device you use a modifier key.

Maybe you are looking for

  • Excel Sheet (password protected) is not opening

    An important Excel document that is password protected keeps causing Excel to shut down after I enter the password. I tried opening with NEO OFFICE but since it's password protected, NEO won't open it. How do I turn off the password in Excel so NEO c

  • How to create an UI element dynamically on action in drop down?

    Hi, How to create an UI element dynamically on action of selecting a value from the  drop down? help out with the steps i need to follow..

  • How to set the length of the reverb? (GarageBand)

    Hey Guys, im from germany and im just mixing and recording some songs in my free time with garage band 11. When im recording my Voice and im using a reverb for it, i just can set the loudness of the reverb. but i want to set the lenght of it, i want

  • Asterisks in all input fields eg search boxes logins etc but not in word or email

    HPE-475uk Windows 7 Premium Home Hi My PC started playing up a couple of days ago Every time I tried to login from the Windows  login screen in the box for my password suddenly a line of asterisks appear sometimes before I even type. Eventually after

  • Ipod stuck

    My ipod mini was working fine last night, today however when I went to play a song, they were all gone. So I tried to hook it up to my powerbook to reload all my music and my powerbook never recognized it. Now it is stuck with the "do not disconnect"