Splitter Operator Help

So a bit new at this, and struggling mightily - any help or insight would be very much appreciated as I have read around the forums, google and have found nothing.
I have two tables
TAB1
TAB2
I used a joiner on these two tables
INGRP1.METHOD  =  INGRP2.ENRL_METHOD_CODE (left outer join)
I then take the output of these two tables and put them through a splitter
I have in the splitter
INSERT group with the condition:  INGRP1.METHOD  !=  INGRP1.ENRL_METHOD_CODE
and an
UPDATE group with the condition: INGRP1.DESCRIPTION  !=  INGRP1.ENRL_METHOD_DESC
I want to join these two tables, and then take the output and either
Insert back into TAB2 if the column METHOD has changed between TAB1 and TAB2
OR
Update TAB2 if the DESCRIPTION has changed
Whats happening right now
1) Everytime I run the mapping I am getting unique constraint violated on ENRL_METHOD_CODE
2) There is always an update
Its almost like the splitter is totally ignoring my conditions!!!
Is my logic flawed? This is driving me nuts as this should be a SIMPLE mapping!
Please any help would be much appreciated!!!!

Hi chillychin,
I think the problem is NULL is always false when compared to something, and I'm guessing there's some misspelling in your splitter conditions.
You have an outer join with TAB2, so when they are equal, is not going to INSERT because TAB1.METHOD = TAB2.ENRL_METHOD_CODE, it will evaluate the second group in the splitter.
When there is not correspondence, TAB2.ENRL_METHOD_CODE is null, so is not going to insert either, because TAB1.METHOD != TAB2.ENRL_METHOD_CODE is also false when evaluated.
Check your splitter conditions and keep in mind with an outer join you are comparing to null columns, so you have to make conditions apart for NULL columns, they are either not equal and not distinct.
Regards
ANA GH

Similar Messages

  • Splitter operator doesnt use multi table inserts in OWB...very very urgent

    Hi,
    I am using OWB 9i to carry out tranformations. I want to copy the same seuence numbers to the two target tables.
    Scenario:
    I have a source table source_table, which is connected to a splitter and the splitter is used to dump the records in two target tables namely target1_table and target2_table. I have a sequence which is also an input to the splitter, so that I can have the same sequence number in the the two output groups of he splitter. I then map the sequence number from the two output groups to the two target tables expecting to have the same sequence number in the target tables. But when I see the generated code it creates two procedures and effectively inserts sequencing numbers in the target tables which are not consistent. Please help me so that I have the same sequencing numbers in the target tables which are consistent.
    Well the above example works in row based operating mode but not in set based mode. Please give me a valid explanation.
    OWB pdf says that splitter uses multi table inserts for multiple targets. After seeing the generated code for set based operations I dont agree to this.
    Its very urgent.
    thanks a lot in advance.
    -Sharat

    Hi Mark,
    You got me wrong, let me explain you the problem again.
    RDBMS oracle 9.2.0.4
    OWB 9.2.0.2.8
    I have three tables T1,T2 and T3.
    T1 is the source table and the remaining two tables T2 and T3 are target tables.
    Following are the contents of table T1 -
    SQl>select * from T1;
    DEPTNAME LOCATIO?N
    COMP PUNE
    MECH BOMBAY
    ELEC A.P
    Now I want to populate the two destination tables T2 and T3 with the records in T1.
    For this I am using splitter operator in OWB which is suppose to generate multi table inserts, but unfortunately its not doing so when I generate the SQL. There si no "insert all" command in the sql it generates.
    What I want is, when I populate T2 and T3 I use a sequence generator and I want the same sequences for T2 and T3 eg.
    SQl>select * from T2;
    NEXT_VAL DEPTNAME LOCATIO?N
    1 COMP PUNE
    2 MECH BOMBAY
    3 ELEC A.P
    SQl>select * from T3;
    NEXT_VAL DEPTNAME LOCATIO?N
    1 COMP PUNE
    2 MECH BOMBAY
    3 ELEC A.P
    I am able to achieve this when I set the operating mode to ROW BASED. I am not geting the same result when I set the operating mode to SET BASED.
    Help me....
    -Sharat

  • Splitter operator being performed first

    Using OWB client 10.1.0.2.
    In a mapping I have a source view being loaded into a target table. This table is then split into 2 other target tables depending on the value of one of the fields (using the splitter operator).
    source view -> target table 1 -> splitter -> target tables 2&3
    When running the resulting package, it attempts to split the initial target table into the 2 other target tables first, then loads the initial target table from the source view.
    Is there any way to force the source view to be loaded first, and then split the loaded results?

    Hello,
    Actually, your mapping should run in the order you've expected. There is no way (officially) to change order of independent loads within one mapping. But in your case loads into table 1 and tables 2&3 are dependant. And they MUST execute in expected order:
    1.load from view to table 1
    2.split and load to tables 2 and 3 (this is actually case of independent load – you may not enforce loading into table 3 prior to loading table 2 or vice versa)
    My advice: If you are able to reproduce this issue open SR in Metalink and get support. Namely – create new empty mapping and reconstruct your loading logic, run mapping and get wrong results. You may also revisit mapping package to see real execution order – first load and second should be expressed as different sub procedures both called from Main function. May be they decide this issue is a bug.
    If you will not be able to reproduce it – just drop old mapping and use new one.
    Sergey

  • Splitter operator

    Hi,
    By using splitter operator ..what are the possible operations we can perform
    Regards,
    Ram

    Hi Ram
    Splitter is also the vehicle to get multi-table insert, so you can save processing if you need to write into multiple targets from a partly common source query. See the paper 'Creating High Performance ELT with Oracle Warehouse Builder' which has information related to multi-table insert with respect to performance;
    http://www.technicalconferencesolutions.com/pls/caat/caat_presenters_upd.display_document?conference_id=39&abstract_id=131&document_id=78686
    There is also an older paper with some screenshots here;
    http://www.oracle.com/technology/products/warehouse/pdf/OWBPerformanceWP.pdf
    Cheers
    David

  • CS2 AI Error "Could Not Complete The Requested Operation" HELP!!

    So I open AI this morning same as always and I get this error message "Could Not Complete The Requested Operation" Click OK and AI Crashes, reboot, restart - same thing. I did some digging around the web and found a few solutions..none worked, well sorta. If I delete all of the fonts on my machine I can get AI to open normally, as soon as I start putting fonts back in - errors start occuring again!
    HELP!! I have reinstalled, also to no avail.

    The machine (PC WINXP) won't allow you to delete certain fonts.
    I tried your idea, I have 1311 fonts currently installed, it will take hours and hours to test it out. I did some batches and AI continued to open till I got to the "C" fonts, then even 1 at a time I was never able to get AI open again. I would install a font, check AI, remove font, install a different font, check AI, same problem.
    Any other suggestions?
    I will try FAQ 2

  • Time Schema & PCR - Operation Help

    Hello Gurus,
    I have a scenario where in I have to change the processing type / time type class in a PCR. I know that the configuration can be done for this in table T555Y table for this. But my requirement is that I should be doing this in a PCR in the custom schema. I am looking for a operation like colop XXXX , which changes the time type. I need to change the processing type / time type instead.
    FILLP operation does not serve the purpose as it can change the processing type entry in TIP table but not the processing type / time type entry in TIP.
    Any help in this regard is much appreciated.
    Thanks,
    Saroj.

    Hi,
    although SAP - documentation provices the following info:
    The processing type/time type class is determined when the time data i
    imported. For absence and attendance records from infotypes 2001/2002,
    this class is read according to the subtype in the "Absence: Time
    Evaluation" table (T554S), in the "Processing type/time type" field.
    For all other time data, field TIP-CLTIM has an initial value of "00".
    Field TIP-CLTIM can be queried using operation OUTTP and changed using
    operation FILLP.
    I can't figure out which parameter to use. Nor via documentation nor via some searching in the relevant coding for operation FILLP.
    Wilfred.

  • Internal Table Operation Help Required

    Hi
    I have to insert 8 counters p1-p8 in a field BANFN of ITAB1.
    Like this their are 3 more fileds.I have to show the no. for PR released frm JAN-DEC in ALV format.I had doen the calualation,but unable to insert these conters in ITAB1 to do final calculation & display the result.
    Please help me.
    I had used : insert p1 into itab1-banfn where sy-index 1.
    Like this I had tried out many comands,but al in vain.PLZ help me in this regard.
    Regards.
    Vipin

    There are 8 fileds in my internal table,in which 1st one is for MONTH(JAN-DEC).
    The ALV is only suppose to display 12 rows,containing each month per row.
    Now for each month I have to display the PR converted to PO & the avg lead time for each month.So I had calu all the data ,but now I have to insert 12 counters in 4 fields.one for No of PR converted to PO in each month,than one for AVG LEAD TIME for each month.so there has to be 12 + 12 counters for each row.Similar operation I have to perform for the PR pending fo PO.So there has to be 24 more counters for again 2 diff fileds.Now I had calcuated the data,but the problem is this ,,,,,how to insert each ctr in each row.
    EG: insert ctr1 into itab1-banfn where itab1-mmyy = 'January' or sy-index = 1.
          insert ctr2 into itab1-banfn where itab1-mmyy = 'Febuary' or sy-index = 2.
          move crt1 to itab1-banfn where sy-index = 1.
    None of the operation is working.
    Like this i have to insert 48 counters in all rows for these 4 diff fileds.
    Pl help me in thsi regard ,if possible.
    regards.

  • Simple math operation - Help needed

    Hi, i have a simple mathematical operation to do, related to
    a shooping cart, which i want to keep simple.
    I have a input text box named QT1, where customers indicate
    quantity
    I have a dymanic text box, named ST1, where i want the value
    of QT1 to be multiplied by 10$ (hence 10)
    on the release of the button. I have a NaN answer. Here is
    the code.
    on (release) {
    var qt1:Number;
    st1 = qt1 * 10;
    And then, a grand total button will add ST1 + ST2 + ST3, with
    GT the name of the grand total dymamic box:
    on (release) {
    gt = st1 + st2 + st3;
    The second part works, but the first one, with QT1 is giving
    me a Nan (not a number) answer.
    Any help appreciated.

    Problem solved. That cary Auto-kern thing....

  • My site won't load in chrome or opera.help please

    Hi
    Im having problems with my site and have tried everything.
    It loads properly in Safari and Firefox and on android phones,but it wont pass the pre-loader in google chrome or iphone and in opera its totally screwed up ,everything is everywhere.
    hopefully theres some type of code or something out there to fix this problem..i could careless about opera.but chrome  and iphones are used by many these are mandatory .
    my site is Royce G Design    ( www.roycegdesign.com )
    please help someone

    Hi
    Im having problems with my site and have tried everything.
    It loads properly in Safari and Firefox and on android phones,but it wont pass the pre-loader in google chrome or iphone and in opera its totally screwed up ,everything is everywhere.
    hopefully theres some type of code or something out there to fix this problem..i could careless about opera.but chrome  and iphones are used by many these are mandatory .
    my site is Royce G Design    ( www.roycegdesign.com )
    please help someone

  • MSI TV@nywhere: closes with illegal operation Help!!!

     
    hello everyone
    I am using MSI Tv@nywhere on a WinXP SP2/P III 192mb ram machine. Whenever I try to run the software (WinDVR 2.0.34 Branch Release), I get an error "InterVideo?WinDVR Application has encountered a problem and needs to close. We are sorry for the inconvenience." asking me to send an error report to Microsoft (some data error report details are.. AppName: windvr.exe AppVer: 2.0.34.198 ModName: iviscapt.ax ModVer: 2.0.34.198 Offset: 00001fc4) I have tried reinstalling the software many a times but didnt help at all
    please do post your suggestions..
    regards

    https://forum-en.msi.com/index.php?topic=73940.msg521242#msg521242
    Quote
    "MSIPVS installs, but when I start the application I get an error message "WinDVR has caused a problem and needs to shutdown" "
    hpkuo credits this to sizzle in his hints and tips thread, but I'll elaborate a little. The problem is caused by QuickTime codecs installed by Nero 6.3.1.15. It is unclear whether later versions of Nero were fixed, but earlier versions should be okay. "A "quick fix" is to rename the files "NeQTADec.ax" and "NeQTVDec.ax" in "C:\Program Files\Common Files\Ahead\DSFilter\"."

  • File operation help required

    hello gurus,
    I want to check whether a perticular file present on the application server or not
    if yes
    I want to delete it.
    if no
    i want to create the file in append mode.
    I know its a simple issue but still i havnt done file IO in sap yet so please help me in this issue.
    Thanks in advence!!!

    Hi Nikhil,
    It is very simple.
    1. open dataset <dset> for input.
        If the file is existing, you will get sy-subrc = 0, else sy-subrc = 8.
    2. if sy-subrc = 0   DELETE DATASET <dset>
    3. else.
        OPEN DATASET <dset> for APPENDING.
    Ravi

  • Bitwise Operator ( ) help

    I'm a new beginner and I have some problems with such code:
    class Test {
         public static void main(String[] args) {
              int i = -1;
              int a = i;
              for ( int k = 0 ; k < 32 ; k ++ ) {
                   i = i >>> 1;
                   System.out.print(i+" ");
                   System.out.println(a >>> (k+1) );
    I hope that the two columns of the output wil be the same, but the
    last line isn't.
    Why a == -1 after " int a = -1; a = a >>> 32 " ? I think a should be 0.
    Am I right or is there any mistake?

    See the language spec:
    http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#5121
    in particular:
    If the promoted type of the left-hand operand is int, only the five lowest-order bits of the right-hand operand are used as the shift distance. It is as if the right-hand operand were subjected to a bitwise logical AND operator & (�15.22.1) with the mask value 0x1f. The shift distance actually used is therefore always in the range 0 to 31, inclusive.
    Though it doesn't say why.

  • Need chat operator help, for Premiere elements

    Hi, suddenly on adobe premiere, I have problems with the graphics card. I would like to have help on chat, I do not know how to do, I can not continue to use it

    Hello,
    you could open a ticke, please use: https://www.adobe.com/cfusion/support/
    If you need more help >>> Get support >>> Need more support? Contact Us >>>
    Italian: http://helpx.adobe.com/it/contact.html
    România: http://helpx.adobe.com/ro/contact.html
    Here a telephone list:
    http://www.adobe.com/special/eeurope/index.html >>> change
    Italia >>> http://www.adobe.com/it/# or
    România >>> http://www.adobe.com/ro/#
    BUT maybe this could help you already:
    Italian: Adobe Premiere Elements 11 * Requisiti di sistema and Adobe Premiere Elements 11 * Requisiti di sistema
    România: http://www.adobe.com/ro/products/premiere-elements/tech-specs.html
    Good luck!
    Hans-Günter

  • Module suite project nullpointerException through on vista operating  help

    when i open my module project on new installed operating system vista.
    my project throughs exception.
    i am using netbeans platform 5.5
    Exception is
    java.lang.NullPointerException
         at com.sun.java.swing.plaf.windows.WindowsMenuBarUI$1.windowActivated(WindowsMenuBarUI.java:65)
         at java.awt.AWTEventMulticaster.windowActivated(AWTEventMulticaster.java:332)
         at java.awt.Window.processWindowEvent(Window.java:1215)
         at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
         at java.awt.Window.processEvent(Window.java:1161)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:858)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:389)
         at java.awt.Component.dispatchEventImpl(Component.java:3857)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.SentEvent.dispatch(SentEvent.java:50)
         at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:161)
         at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:188)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:264)
         at java.awt.Component.dispatchEventImpl(Component.java:3857)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    [catch] at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Maybe because you are not updating your GUI components on the EDT.
    Read the Swing tutorial on Concurrency for more information.

  • Audio/Video Output Splitter/Selector Help

    Hey guys, quick question:
    I use my late 2009 mac mini to run my DVI monitor most of the time but sometimes when I'm watching downloaded stuff I switch it over to my LCD TV which means I have to switch the display cable in the back and the stereo audio out cable from my computer speakers to my TV. Is there such a device where I can just switch between the two without having to juggle the cables every time? I know they make DVI splitters but what about DVI and audio?
    Thanks in advance!!

    Take a look at the Belkin website. I have one of their KVMs for switching between VGA, USB and audio between my PC and Mac. They may have something for DVI too.

Maybe you are looking for

  • TS3694 I want my iphone warranty What to do? I'm live in Vietnam

    I want to warranty my iphone . What to do? I'm in Vietnam I have one iphone 5 is normally used (ios 6.1) I plugged the computer and update to new version 6.1.4 but itune error 9. So what do I do to make the machine when I was in Vietnam

  • Photos in random order

    After I upload photos to iphoto 09, they appear in random order, not at all according to date. I can't use "split event" because alike photos are not even next to each other... How do I fix this or move photos into some order that makes sense? Or mus

  • Inserting multiple selection from checkbox in to one column of the database

    Hi, how to insert multiple selection from checkbox into one column of the database.(I select array of values from checkbox ,then how to insert tat array of values iinto single column name). Anyone can u reply me Thanx

  • Migration Assistant can't see my external hard drive.

    Migration Assistant can't see my external hard drive with my back-up info on it. I need to migrate my user data from an older back-up ( OS X 10.4.11) to a recently installed OS X 10.5.8 system on a Mac Pro.  The external drive is not bootable.  Any i

  • Publishing iWeb

    Help, I have a serious problem. I am building my first iWeb site. Made one page, named it "home". I published it to a newly created folder, then previewed it - looks fine. I checked in the folder. It contains a document named "index.html" (when that