Who's playing with constraints ?

Hi
I went through a strange behavior on a solution Mger system I would like to share.
Maybe someone has the complete solution...
I went through a painful SP stack import on a solman system, i did get some block corruptions and had to export tables.
When importing the tables I found that primary index could not be rebuilt for table SEOCOMPODF(Definition class/interface component)
because of unique constraint violation :
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
ORA-39083: Object type INDEX failed to create with error:
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
Failing sql is:
CREATE UNIQUE INDEX "SAPSR3"."SEOCOMPODF~0" ON "SAPSR3"."SEOCOMPODF" ("CLSNAME", "CMPNAME", "VERSION")
I did check and found that the table has many duplicates
SELECT  CLSNAME || CMPNAME || VERSION, COUNT(CLSNAME || CMPNAME || VERSION) AS dup_count
FROM  sapsr3.SEOCOMPODF
GROUP BY CLSNAME || CMPNAME || VERSION
HAVING     (COUNT(CLSNAME || CMPNAME || VERSION) > 1);
*189 rows selected.*
I did then check on some other solman systems and found that they all have duplicate keys (less than 192 but all at least 4 or 5).
I'm wondering what did create these duplicates.
My only guess was that maybe R3trans was disabling constraints when importing data...
Anybody has a clue ?

Hello,
SAP does not create PRIMARY KEY at the database level, it creates only a UNIQUE index. So it might have been caused due to the index having become invalid, with that the duplicated rows should have been created during application regular run. R3load does not create new data, so the duplicates could not have been originated by it.
Regards,
Thiago

Similar Messages

  • Playing Doctor Who theme music with GarageBand's built-in saxophone

    I am a fan of a British science-fiction television series called +Doctor Who+ and I'm attempting to play Doctor Who theme music with GarageBand's built-in saxophone. I was wondering how I could manage to do it.
    Message was edited by: StLouisBatman

    Do you have a midi keyboard stowed away in your tardis?

  • Counting partners who appeared together with each other

    Hi
    I have a table t
    create table T
    (player varchar2(40),
    for_team varchar2(10),
    Vs_team varchar2(10),
    matchid number,
    points number)
    INSERT INTO T VALUES ('John','A','B',1,2);
    INSERT INTO T VALUES ('Fulton','A','B',1,10);
    INSERT INTO T VALUES ('Sarah','A','B',1,9);
    INSERT INTO T VALUES ('Peter','B','A',1,7);
    INSERT INTO T VALUES ('Carlos','B','A',1,9);
    INSERT INTO T VALUES ('Jose','B','A',1,6);
    INSERT INTO T VALUES ('Joe','A','B',2,8);
    INSERT INTO T VALUES ('Peter','A','B',2,9);
    INSERT INTO T VALUES ('Carlos','A','B',2,1);
    INSERT INTO T VALUES ('Rubben','B','A',2,10);
    INSERT INTO T VALUES ('John','B','A',2,0);
    INSERT INTO T VALUES ('Fulton','B','A',2,1);
    INSERT INTO T VALUES ('Marcelo','A','B',3,7);
    INSERT INTO T VALUES ('Daniela','A','B',3,1);
    INSERT INTO T VALUES ('John','A','B',3,2);
    INSERT INTO T VALUES ('Jose','B','A',3,5);
    INSERT INTO T VALUES ('Abrao','B','A',3,3);
    INSERT INTO T VALUES ('Carlos','B','A',3,10);
    Select * from t
    order by matchid, for_team
    Player For_team vs_team  matchid   Points
    John       A       B       1       2
    Fulton     A       B       1       10
    Sarah      A       B       1       9
    Carlos     B       A       1       9
    Peter      B       A       1       7
    Jose       B       A       1       6
    Peter      A       B       2       9
    Carlos     A       B       2       1
    Joe        A       B       2       8
    Fulton     B       A       2       1
    John       B       A       2       0
    Rubben     B       A       2       10
    Daniela    A       B       3       1
    John       A       B       3       2
    Marcelo    A       B       3       7
    Jose       B       A       3       5
    Abrao      B       A       3       3
    Carlos     B       A       3       10Note: Each player can appear for more than one team in different matches. For exmaple, John appeared for Team A in matchid = 1 and then in matchid = 2 he appeared for team B. So same could for other players
    Requirment:
    I want for each player, the sum of total number of matches and points (which is easy using SUM) but along with total number of different teammates he played with in all the matches he appeared [for his team(s)] and also the total number opposition players and lastly the total number of different players he played with in all the matches he appeared in.
    Just to clarify some terms, incase any doubt:
    Here teammates = all players who appeared (for_team) in a match from the same team for whom the respective player also appeared in the same match.
    opposition players = all players who appeared for VS_team played by each player.
    total different players = all unique players who appeared for for_team or vs_team in the matches in which each player appeared.
    Here is my desired outout:
    Player    total Matches    Sum(points)   Different teammates    Different opposition players    total different players
                                             player played with     player played with              player played with
    John      3                4             5                      5                               10
    Fulton    2                11            3                      4                               6 
    Sarah     1                9             2                      3                               5
    Peter     2                16            3                      4                               7
    Carlos    3                20            4                      6                               10
    Jose      2                11            3                      5                               8
    Joe       1                8             2                      3                               5
    Rubben    1                10            2                      3                               5
    Marcelo   1                7             2                      3                               5
    Daniela   1                1             2                      3                               5
    Abrao     1                3             2                      3                               5       I want one simple query and shortest query to achieve about output since in my actual table data is huge.
    thanks in advance.
    regards
    Ramis

    with teammates as (
                       select  t1.player,
                               t2.player teammate
                         from  t t1,
                               t t2
                         where t2.matchid = t1.matchid
                           and t2.for_team = t1.for_team
                           and t2.player != t1.player
         opponents as (
                       select  t1.player,
                               t2.player opponent
                         from  t t1,
                               t t2
                         where t2.matchid = t1.matchid
                           and t2.vs_team = t1.for_team
    select  distinct player "Player",
                     count(distinct matchid) over(partition by player) "total Matches",
                     sum(points) over(partition by player) "Sum(points)",
                      select  count(distinct teammate)
                        from  teammates
                        where teammates.player = t.player
                     ) "Different teammates",
                      select  count(distinct opponent)
                        from  opponents
                        where opponents.player = t.player
                     ) "Different opponents",
                      select  count(distinct teammate)
                        from  (
                                select  *
                                  from  teammates
                               union all
                                select  *
                                  from  opponents
                              ) x
                        where x.player = t.player
                     ) "total different players"
      from  t
    Player     total Matches Sum(points) Different teammates Different opponents total different players
    Sarah                  1           9                   2                   3                       5
    John                   3           4                   5                   5                      10
    Carlos                 3          20                   4                   6                      10
    Joe                    1           8                   2                   3                       5
    Jose                   2          11                   3                   5                       8
    Abrao                  1           3                   2                   3                       5
    Fulton                 2          11                   3                   4                       7
    Peter                  2          16                   3                   4                       7
    Rubben                 1          10                   2                   3                       5
    Marcelo                1           7                   2                   3                       5
    Daniela                1           1                   2                   3                       5
    11 rows selected.
    SQL> SY.

  • Can I edit my drumset sound at the same time who I play in Live event ?

    Hi ,
    can I process all the microphones of my drumset whit the macbook pro, an audio interface and Logic Pro and use for live shows whit that editing at the same time who I play drums ?
    I need some "special" audio interface for this work ?
    Wait for your answer.
    Thanks .

    Welcome to the Apple Support Communities
    If you want to use OS X (an iMac hasn't got iOS) and Windows at the same time, Parallels or VMware Fusion are the only options.
    However, there's an option that you may consider. First, install Windows with Boot Camp onto the hard drive of your computer, and then, when you want to run OS X and Windows at the same time, start in OS X, open VMware Fusion, and use the feature to run your Boot Camp volume onto a virtual machine. That's an useful VMware Fusion that allows you to have Windows installed with Boot Camp to get the maximum performance, but you can also run this Windows copy into OS X without having to restart

  • How do I use my iPod Touch 4th Generation with air play with my Apple TV?

    Can someone please help me.  I need to find out if my iPod Touch 4th Generation can be used for Air Play with my Apple TV.  When I go to photos I can use Air Play to display them.  But I cannot use airplay for my apps like Facebook, and My games like The Sims.   I am using iOS 6.0.1.  Is that the issue if so, When you be updating the 4th Gen. Touch to be able to use it with the 6.0.2 version.  I beleive Apple can do better with this.  I just purchased my Apple TV yesterday, and I don't want to have to take it back already, because it doesn't work with my iPod 4th Gen.

    Do the games and apps show the AIrPlay option? No all do.
    The second article in my previous reply included:
    From the Videos, iPod, Photos, Music, and YouTube apps on iOS devices, stream videos, music, and photos to an Apple TV (2nd and 3rd generation), or stream music to an AirPort Express or compatible third-party device.
    With iOS 4.3 and later, you can also stream video and audio from a website or a third-party app installed on your iOS device if the developer for the app or website has added AirPlay functionality

  • I was playing with my ipad settings (it's an older model) and noted in the advanced settings of Safari there was a place to view website databases.  When I clicked on this I saw websites.  How do these get there and what does the space amount mean?

    I was playing with my ipad settings and noted in he advanced settings of Safari there was a place to view "website databases".  When I selected this I saw a multitude of websites.
    Can anyone tell me how these get there?  Can a website be posted even if it was never went to?  What does the space amount mean?  For example, 1.5 kb...is this quite a bit?  Would it indicate someone has gone to a site multiple times?
    I share my ipad with my teenage daughter and I'm trying to find out if she's lying to me.  Obviously she's swearing that she has "no idea" how these got there and I'm trying to keep her safe (she's only 14).
    Thanks everyone.
    Concerned Mom

    Think of your PC and the 'temporary internet folder' where it keeps cached copies of web pages or elements off a web page for 'quicker display the next time you visit'. That's pretty much what that folder is. 1.5K is tiny. Probably just a basic page with some text on it. (you might be confusing 1.5K with 1.5 megabyte....megabyte is large...it's roughly 1000 kilobytes, so the 1.5K is a tiny file)
    As far as I know, the only way info gets into that folder is if the browser has been to that site.
    if you have a concern there are browsers out there, McGruff is one i've seen recommended, that allow some degree of parental control and supervision. That or you could passcode lock the iPad or enable the restrictions to turn off some parts of the device to have some control.

  • I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I'm going to guess videos buffer for a while also...
    Two possibilities, one is you should close apps on the iPad, the other is your internet speed is not able to handle the demands of a high speed device.
    To close apps:   Double click home button, swipe up to close the apps.
    To solve internet problem, contact your provider.   Basic internet is not enough for video games and movies.   Your router may be old and slow.

  • My Game Center won't work on my iPod touch 2nd Gen. It let me sign up but it won't load any of my games and won't let me play with my friends. I don't know why? Any help?

    My ipod touch 2nd Gen let me sign up to game center but it won't load any of my games and won't let me play with my friend. I don't know if it's like this because it is old and slow, or what. Please help me figure this out. Thank You.

    Try:
    - Sign out of Game Center and sign back in
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • Can i text international from one iphone to another iphone over wifi with other friends who will be with us overseas?

    can i text international from one iphone to another iphone over wifi with other friends that have iPhones
    who will be with us overseas?

    Yes, if you are provisioned by your carrier to do so.  IF both phones are iphones with IOS 5.0 or higher then you can use imessage.

  • HT201303 OK SO I BOUGHT MY 7YEAR OLD DAUGHTERS AN IPOD TOUCH FOR THEIR BIRTHDAY AND THE SECOND THEY START PLAYING WITH THEM ONE SET A PASSWORD TO ENTER THE IPOD AND FORGOT THE PASSWORD. IT SAYS THAT THE IPOD IS ENABLED... HOW DO I FIX THIS PROBLEM? HELP

    I BOUGHT MY 7 YEAR OLD DAUGHTERS A IPOD TOUCH FOR THEIR BIRTHDAY, THE SECOND THEY BEGAN TO PLAY WITH THEM THEY BOTH SET PASSWORDS TO ENTER THE IPOD HOME PAGE, WELL ONE OF MY GIRLS FORGOT THEIR PASSWORD AND NOW IT SHOWS THAT THE IPOD IS ENABLED... HOW SHOULD I GO ABOUT THIS?

    You will need to restore the device from the computer to which the device is synced. For information and instructions, see:
    http://support.apple.com/kb/ht1212
    If that will not work, you'll need to put the device into Recovery Mode and then try the Restore again:
    http://support.apple.com/kb/ht1808
    Forum Tip: It is generally considered inappropriate to type all in uppercase letters in Internet discussions, as text that is typed all in uppercase is by convention considered to be shouting.  Uppercase is also more difficult to read, so please use all uppercase sparingly and only when you really mean to shout, which we hope you won’t need to do here .
    Also, please note that you posted in the iPhone forum.
    Regards.

  • HT5706 trouble staying connected to air play with Apple TV even though my device is still connected to the internet and playing.

    I am having trouble staying connected to air play with Apple TV even though my device is still connected to the internet and playing.

    Troubleshoot the network connectivity issues.
    Power cycling the ATV and router is generally a good place to start.

  • Each time I connect to my IBM computer it crashes with blue screen error message pops up. Apple say that it's my printer/camera drivers. The problem is with iTunes, it likes to play with all the ports on my comp and conflicts with prnt drivers. How to fix

    Does anyone know how to fix this problem without disabling my printer. It's very frustrating. It's either I have my iPad or my printer. iTunes likes to play with the ports on my computer thereby causing a conflict with my printer drivers. Apple should fix this problem, I'm so annoyed.

    When this problem first happened, I searched for threads and found a few.  See be;ow links:
    http://support.apple.com/kb/TS1502
    Apple say that its a driver problem, but I've never had this problem before so I am not convinced. Another thread, which I can't seem to find, suggests that it is an apple problem - itunes plays with the ports on the company causing conflicts with existing drivers. I isolated the conflict to my new Samsung printer. I uninstalled the Samsung printer driver and then can successfully connect my ipad without the blue screen appearing.
    It's not a windows problem. Windows is working fine. Only happens when Ipad is connected. Actually, this first happened after I installed the new version of itunes. I reget installing the new itunes version, but don't know how to reinstall the previous itunes version.

  • HT2953 i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2)

    I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2) this happens with other music apps too. Please I need help!

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists. If it doesn't work, there isn;t much anyone here can do for you. It may be a physical problem with your speakers.

  • I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

Maybe you are looking for

  • BADI for updating changing output medium in PO

    Hi,     Is there any BADI or exit present for updating the output medium in PO , based upon some criteria ?     In my requirement I want to make output medium as <b><b>'email'</b></b> and set email address to email ID of one of the partner function m

  • PDF files created in Acrobat Pro X for Mac will not print correctly on Windows - text is missing

    I recently created a PDF file with pictures and texts in Acrobat Pro X. However, when I send it to my coworkers (who work on Windows computers), the printed file contains only images, and no text. I am using Century Gothic - a font that is installed

  • LP Schedule agreement schedules to vendor

    Hi We are using LP scheule agreemnt for Porcurement LP: Release is possible at hearder level only, which means messages [print/fax/email] will have detaisl of all materials open schedule lines Even quantity or delivery date of a specific material is

  • SRW switches: Setting Qos (Cos) on VLANs.. Help

    Hello, I'm new on this board, but maybe someone knows the answer to my question.  This is my situation. I work at a school and our network has an srw2048 as a rootswitch. Only servers and other switches are connected to it. Two of those switches are

  • Exchange ink cartridges

    I have eight unopened and unexpired 940XL ink cartridges for a HP8500 Premier (A910), which is now non-op. I have just purchased an HP 8630 printer (Order # H392146059) which I understand uses 950/951 cartridges. I have been told I can exchange the 9