This precedure is not consistent!

I have this precedure, but it is not consistent, the idea is if the count
Coming from the get_the_count_cur is = 1 then I update the
Table with the result of get_the_race_cur otherwise if the
Count s > 1 then I update the table with T, it works but it is not consistent.
PROCEDURE appl_ethnicity_update (
      p_user              IN       VARCHAR2,
      p_update_err_code   OUT      VARCHAR2,
      p_ora_err_code      OUT      NUMBER,
      p_ora_err_msg       OUT      VARCHAR2
   IS
      v_insert_count   NUMBER;
      e_update_zero    EXCEPTION;
      v_insert_count   NUMBER;
      v_out_path       VARCHAR2 (40)                   := 'MIDD_LOG';
      v_out_file       VARCHAR2 (40)
                  := 'common_app_load_pkg' || TO_CHAR (SYSDATE, 'YYYYMMDDHH');
      v_file_handle    UTL_FILE.file_type;
      v_count1         NUMBER;
      v_count2         NUMBER;
      v_pidm           spriden.spriden_pidm%TYPE;
      v_gorp_pidm      gorprac.gorprac_pidm%TYPE;
      v_race_cde       gorprac.gorprac_race_cde%TYPE;
      CURSOR get_the_count_cur
      IS
         SELECT   gorprac_pidm, COUNT (gorprac_pidm)
             FROM saturn.spriden, general.gorprac
            WHERE gorprac_pidm = spriden_pidm AND spriden_ntyp_code = 'CAPP'
         GROUP BY gorprac_pidm;
      CURSOR get_the_race_cur
      IS
         SELECT gorprac_pidm,
                DECODE (gorprac_race_cde,
                        'A1', 'A',
                        'B1', 'B',
                        'N1', 'N',
                        'P1', 'P',
                        'W1', 'W',
                        NULL, 'U'
           FROM saturn.spriden, general.gorprac
          WHERE gorprac_pidm = spriden_pidm AND spriden_ntyp_code = 'CAPP';
   BEGIN
      UTL_FILE.fclose_all;
      v_file_handle := UTL_FILE.fopen (v_out_path, v_out_file, 'a');
      UTL_FILE.put_line (v_file_handle,
                         CHR (10) || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH:MI:SS')
      UTL_FILE.put_line (v_file_handle, 'Entering  appl_ethnicity_update ');
      IF get_the_count_cur%ISOPEN
      THEN
         CLOSE get_the_count_cur;
      END IF;
      OPEN get_the_count_cur;
      IF get_the_race_cur%ISOPEN
      THEN
         CLOSE get_the_race_cur;
      END IF;
      OPEN get_the_race_cur;
      LOOP
         FETCH get_the_count_cur
          INTO v_pidm, v_count1;
         FETCH get_the_race_cur
          INTO v_gorp_pidm, v_race_cde;
         EXIT WHEN get_the_count_cur%NOTFOUND;
         IF v_count1 = '1'
         THEN
            UPDATE saturn.spbpers
               SET spbpers_ethn_code = v_race_cde,
                   spbpers_activity_date = SYSDATE,
                   spbpers_confirmed_re_cde = 'Y',
                   spbpers_confirmed_re_date = SYSDATE
             WHERE spbpers_pidm = v_gorp_pidm
               AND (spbpers_ethn_code != 'H');
         ELSIF v_count1 > '1'
         THEN
            UPDATE saturn.spbpers
             SET spbpers_ethn_code = 'T',
                 spbpers_activity_date = SYSDATE,
                  spbpers_confirmed_re_cde = 'Y',
                  spbpers_confirmed_re_date = SYSDATE
             WHERE spbpers_pidm = v_pidm
             AND (spbpers_ethn_code != 'H');
         END IF;
         commit;
      END LOOP;

I know and I try that too, 1 without the quotes, it does not work for some reason in some records.
Please notice that the count is do in one cursor and the data to update is do in another cursor...
I know I try this technique before and it worked, but in this case it is not, unfortunatly i am not at work, so I don't have access to teh DB, so I can not send you
an example of the record that is not being update, basicly that record has a count of 1 and it is also retrieve in the other cursor, so it should be updating
IF v_count1 = 1
THEN
UPDATE saturn.spbpers
SET spbpers_ethn_code = v_race_cde,
spbpers_activity_date = SYSDATE,
spbpers_confirmed_re_cde = 'Y',
spbpers_confirmed_re_date = SYSDATE
WHERE spbpers_pidm = v_gorp_pidm
AND (spbpers_ethn_code != 'H');
ELSIF v_count1 > 1
THEN
UPDATE saturn.spbpers
SET spbpers_ethn_code = 'T',
spbpers_activity_date = SYSDATE,
spbpers_confirmed_re_cde = 'Y',
spbpers_confirmed_re_date = SYSDATE
WHERE spbpers_pidm = v_pidm
AND (spbpers_ethn_code != 'H');
END IF;
commit;

Similar Messages

  • Pls help with this precedure

    when I ran this cursor, I get the right results, the idea is that when an email on this table szcasud_email is diffrent than an email on this table GOREMAL.
    I will deactivate the email on this table
    UPDATE general.goremal
    SET
    goremal_status_ind = 'I'
    Then I will insert the new email that is store on this table szcasud
    This code is not consistent: It works sometimes but not all the time..
    goremal_status_ind = 'I' Inactive email
    goremal_status_ind = 'A' Active email
    PROCEDURE appl_email_update (
    p_user IN VARCHAR2,
    p_update_err_code OUT VARCHAR2,
    p_ora_err_code OUT NUMBER,
    p_ora_err_msg OUT VARCHAR2
    IS
    Modification History
    09/20/2009 Creator:  Changes:
    This precedure will check to see if the email coming in on the supplement is
    different that an existing email in goremal(REC1), if it is, it will deactivate
    the existing one and create a new record with the new email coming in.
    v_out_path VARCHAR2 (40) := 'MIDD_LOG';
    v_out_file VARCHAR2 (40)
    := 'common_app_load_pkg' || TO_CHAR (SYSDATE, 'YYYYMMDDHH');
    v_file_handle UTL_FILE.file_type;
    e_update_zero EXCEPTION;
    v_count NUMBER := 0;
    v_pidm spriden.spriden_pidm%TYPE;
    v_email_address goremal.goremal_email_address%TYPE;
    v_email_address2 goremal.goremal_email_address%TYPE;
    v_emal_code goremal.goremal_emal_code%TYPE;
    CURSOR upd_email_upd_cur
    IS
    SELECT
    DISTINCT
    spriden_pidm,
    REGEXP_REPLACE (szcasud_email,
    '[^0-9a-zA-Z+._@-]',
    NULL
    ),REGEXP_REPLACE(GOREMAL_EMAIL_ADDRESS, '[^0-9a-zA-Z+._@-]',
    NULL
    FROM
    saturn_midd.szcasud,
    saturn.spriden,
    general.goremal
    WHERE spriden_id = szcasud_common_appl_id
    and goremal_pidm = spriden_pidm
    and REGEXP_REPLACE (szcasud_email,
    '[^0-9a-zA-Z+._@-]',
    NULL
    ) <> REGEXP_REPLACE(GOREMAL_EMAIL_ADDRESS, '[^0-9a-zA-Z+._@-]',
    NULL
    AND spriden_ntyp_code = 'CAPP'
    AND GOREMAL_STATUS_IND = 'A'
    and goremal_emal_code = 'REC1';
    BEGIN
    UTL_FILE.fclose_all;
    v_file_handle := UTL_FILE.fopen (v_out_path, v_out_file, 'a');
    UTL_FILE.put_line (v_file_handle,
    CHR (10) || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH:MI:SS')
    UTL_FILE.put_line (v_file_handle, 'Entering appl_email_update');
    /*In case there are old emails that are different, deactivate the existing one
    before inserting the new one */
    IF upd_email_upd_cur%ISOPEN
    THEN
    CLOSE upd_email_upd_cur;
    END IF;
    OPEN upd_email_upd_cur;
    LOOP
    FETCH upd_email_upd_cur
    INTO v_pidm,v_email_address,v_email_address2;
    EXIT WHEN upd_email_upd_cur%NOTFOUND;
    IF upd_email_upd_cur%FOUND
    THEN
    UPDATE general.goremal
    SET
    goremal_status_ind = 'I',
    goremal_activity_date = SYSDATE,
    goremal_data_origin = 'common_app_load_pkg',
    goremal_user_id = p_user
    WHERE goremal_pidm = v_pidm AND goremal_emal_code = 'REC1';
    END IF;
    COMMIT;
    ---END LOOP;
    INSERT INTO general.goremal
    goremal_pidm,
    goremal_emal_code,
    goremal_status_ind,
    goremal_preferred_ind,
    goremal_activity_date,
    goremal_user_id,
    goremal_disp_web_ind,
    goremal_email_address,
    goremal_data_origin
    SELECT
    DISTINCT
    spriden_pidm,
    'REC1',
    'A',
    'N',
    SYSDATE,
    p_user,
    'N',
    REGEXP_REPLACE (szcasud_email,
    '[^0-9a-zA-Z+._@-]',
    NULL
    -- ),REGEXP_REPLACE(GOREMAL_EMAIL_ADDRESS, '[^0-9a-zA-Z+._@-]',
    --- NULL
    'common_app_load_pkg'
    FROM
    saturn_midd.szcasud,
    saturn.spriden,
    general.goremal a
    WHERE spriden_id = szcasud_common_appl_id
    and a.goremal_pidm = spriden_pidm
    AND a.goremal_pidm = v_pidm
    and REGEXP_REPLACE (szcasud_email,
    '[^0-9a-zA-Z+._@-]',
    NULL
    ) <> REGEXP_REPLACE(a.goremal_email_address, '[^0-9a-zA-Z+._@-]',
    NULL
    AND spriden_ntyp_code = 'CAPP'
    and goremal_emal_code = 'REC1'
    AND goremal_status_ind = 'I'
    AND NOT EXISTS
    (SELECT 1
    FROM
    general.goremal B
    WHERE b.goremal_pidm = a.goremal_pidm
    and b.goremal_emal_code = 'REC1'
    and b.goremal_status_ind = 'A');
    END LOOP;
    COMMIT;
    CLOSE upd_email_upd_cur;
    SELECT COUNT (goremal_pidm)
    INTO v_count
    FROM general.goremal
    WHERE TO_CHAR (goremal_activity_date, 'MM/DD/RRRR') =
    TO_CHAR (SYSDATE, 'MM/DD/RRRR')
    AND goremal_data_origin = 'common_appl_data_pkg';
    IF v_count = 0
    THEN
    RAISE e_update_zero;
    ELSE
    UTL_FILE.put_line (v_file_handle,
    'Number of Records Update' || v_count
    END IF;
    EXCEPTION
    WHEN e_update_zero
    THEN
    ROLLBACK;
    p_update_err_code :=
    'CC_ERROR_MSG: Insert Procedure. ZERO Rows Returned in appl_email_update '
    || '.';
    p_ora_err_msg := SUBSTR (SQLERRM, 1, 2000);
    p_ora_err_code := SQLCODE;
    UTL_FILE.put_line (v_file_handle,
    p_update_err_code
    || CHR (10)
    || 'sqlerrm: '
    || p_ora_err_msg
    || ' / sqlcode: '
    || SQLCODE
    WHEN OTHERS
    THEN
    ROLLBACK;
    p_update_err_code :=
    'CC_ERROR_MSG: Error on UPDATE statement for term ' || '.';
    p_ora_err_msg := SUBSTR (SQLERRM, 1, 2000);
    p_ora_err_code := SQLCODE;
    END appl_email_update;

    maybe I am missing something here but couldn't you just do one update statement and one insert statement instead of a cursor?
    something like for the update part
    merge INTO general.goremal a USING
    ( SELECT DISTINCT spriden_pidm,
      REGEXP_REPLACE (szcasud_email, '[^0-9a-zA-Z+._@-]', NULL ),
      REGEXP_REPLACE(GOREMAL_EMAIL_ADDRESS, '[^0-9a-zA-Z+._@-]', NULL )
    FROM saturn_midd.szcasud,
      saturn.spriden,
      general.goremal
    WHERE spriden_id = szcasud_common_appl_id
    AND goremal_pidm = spriden_pidm
    AND REGEXP_REPLACE (szcasud_email, '[^0-9a-zA-Z+._@-]', NULL ) REGEXP_REPLACE(GOREMAL_EMAIL_ADDRESS, '[^0-9a-zA-Z+._@-]', NULL )
    AND spriden_ntyp_code  = 'CAPP'
    AND GOREMAL_STATUS_IND = 'A'
    AND goremal_emal_code  = 'REC1'
    ) b ON (a.goremal_pidm = b.spriden_pidm AND a.goremal_emal_code = 'REC1')
    WHEN matched THEN
      UPDATE
      SET a.goremal_status_ind  = 'I',
        a.goremal_activity_date = SYSDATE,
        a.goremal_data_origin   = 'common_app_load_pkg',
        a.goremal_user_id       = p_user;and maybe another merge for the insert or just the select you are using just change the
    AND a.goremal_pidm = v_pidmand a.goremal_pidm in (select pidm from blah blah blah)

  • My iphone 4s voice dictation for text messages is not consistently working. Sometimes it works, other times after the dictation it just gives me a blank space. Anyone else having this problem?

    My iphone 4s voice dictiation for text messages is not consistently working. I've had the phone since Thanksgiving and it always worked perfectly, but the last few weeks it's been hit or miss. Sometimes it works, sometimes it doesn't. Anyone else having this problem? I tried the hard reset but that hasn't fixed it.

    I have the same problem since updating to IOS 8.3. Any app to which I want to send a new link via IMessage does not allow me to select a contact to send the IMessage to. Using a pre-existing thread does not have same problem.

  • IPad 2 6.1.3 iMessage not consistently working. Has trouble sending and receiving. How can this be fixed?

    iPad 2 6.1.3 iMessage not consistently working. Has trouble sending and receiving. How can this be fixed? Have tried restarting, turning iMessage off and on, signing out and in. Please help, thanks!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • Airport Extreme Not Consistently Assigning DHCP

    I am using a relatively new (within the last year) Airport Extreme as the primary router on my home network.  Connected directly to the router is a GigE switch, an AT&T Microcell, and another router - an Aruba RAP which creates a secure VPN for my home/remote office network.  The connection to my Apple desktop is made through the GigE switch, as are three additional wired connections to other devices in my home, including two Apple TV's and (hopefully) two Airport Expresses.  
    I recently discovered when trying to configure a new Airport Express to extend my wireless network over ethernet (roaiming network) that my Airport extreme is not consistently assigning the IP addresses within it's defined DHCP range (10.0.1.0 - 10.0.1.200).  About half of the time devices on the network are getting a default 169.254.x.x IP address, which (in the case of my desktop) results in an 'self assigned IP' error within the network settings.  I can reboot my apple desktop and the next time it gets a correct 10.0.1.1 address.  Reboot again, it defaults back to a 169 address - and so on. It doesnt seem to make any difference if I connect my desktop directly to the Extreme, or, if I connect it through the GigE switch.  And, every time I get a 'self assigned IP' I have no connectivity beyond the Extreme (no internet), and I'm forced to use my wireless/Airport connection.
    Another problem here is that the Expresses both expect to receive 10.x IP addresses and when they don't get one, they basically become pretty $100 paperweights when connected over ethernet. Also, if you try to configure a new Express without the 10.x address it expects to be assigned (and defaults to a 169.x), the Airport Utility will no longer 'find' the Express once the Express auto-restarts and the update will fail.  I learned this after spending two hours on the phone with Apple support yesterday - during which they were able to get my first generation Express configured, but, not my 24-hour old second Generation Express, which continues to act only as a paperweight.  Oddly enough, everything works perfectly well if I use only wireless connections to the Extreme - there are no IP problems and everything works correctly.  Unfortunately, I want to use wired connections for all my devices (expresses, Apple TV's) because we stream alot of audio and video.     
    Is my Extreme not working correctly?  Does anyone think it's problematic to have a second router (the Aruba) connected behind the Extreme?  I suppose I could force some components to use only specific IP's, but, that sounds like a pain.  If the Aruba is problematic, I would also consider a second internet connection, or, finding some way to split home IP traffic vs work IP traffic. 
    Thoughts?

    I've been doing some research and it appears the 'self assigned IP' address is a common problem in the Apple support community.  And, for what it's worth, it appears an inability to isolate or accurately troubleshoot the problem - by users or Apple tech support - is a recurring theme.  I totally understand that no two home networks are exactly alike (different ISPs, switches, configurations, etc.), but, after being a die-hard PC user for my entire life I can honestly say I never encountered anything like this while using my PC.  I'm not about to trash my Mac, but, the Apple 'ease of use' selling point is quickly losing it's lustre.
    I got into this mess because I added a GigE switch to my network.  Rather than buy a different switch (a tactic which assumes my problems are being caused by the switch) I'm inclined to buy another Airport Extreme and try daisy-chaining them together to overcome the reason I bought the GigE switch in the first place, which is not enough ethernet ports on the Extreme.  That, or I'll spend a weekend in my attic re-wiring my home network to daisy-chain my two Express devices together instead of requiring individual connections to my router.  My experience with Apple hardware thus far is that it prefers to 'play nice' with other Apple hardware over non-Apple hardware.  It could be $100 error on my end (or, a weekend of not doing yardwork), but, I think it's the best shot.  Other possible fixes, including manually assigned IP-addresses, put too much emphasis on software and network configuration - which (by my non-scentific analysis), are two areas even harder to troubleshoot. 
    I'll let you know how it goes. 
    Mh
    Post Script - Dear Apple: please find a way to significantly increase the number of ethernet ports on your Airport Extreme Router.  Thank you. 

  • HT1476 "This accessory may not be supported."

    Ever since updating my iPhone 5 with the new iOS 7, this display message pops up while my phone is plugged in to the computer, using the original cable that came with it in the box. Researching this issue only informed me that the new iOS is no longer compatible with generic iPhone chargers. However, mine is the one made by Apple and so there should be absolutely no issues with it. While it is plugged in my phone charges on and off, never consistently charging. It's really irritating and is making charging a very slowgoing process. Does anyone else have any insight on this issue?
    While we're at it, I noticed the new iOS 7 kills the battery life much faster than the previous iOS; I don't use my phone too much throughout the day, and it has been dying consistently twice a day. If I don't use it nearly at all, it seems to last only six or so hours.
    Thanks in advance for any feedback! Hope not everyone is having these issues!
    Alexis

    Lexiphillips - you're not crazy - I have the exact same issue - brand new cable and adapter from the apple store when I got my iPhone 5s, it always says "this device may not be supported" and doesn't charge when connected - and that is true for both of them! And if I unplug my phone, my battery goes from 100% to 50%, with no use at all, in about 4 hours. After some research it appears that ou pretty much have to turn off everything except wi-fi - cellular data, all apps that might use data ever - and then hopefully the battery usage will increase. This is not good. The whole point of cellular data is supposed to be to have and use it - not for it to come with such an enormous penalty.

  • Business partner of organizational unit is not consistent

    Hi,
    Client is on SRM 4.0. When we are trying to search a user in the org structure, and when clicking on "Check" for this user, it was showing fine. But when we are searching any BP in the org strucutre, then immediately the BP name is vanishing against the BP of the user and when doing the "Check" it is showing the below two messages:
    Business Partner of organizational unit XXXXXXX is not consistent
    User cannot be repaired becasue the organizational unit contains errors
    When checking in BBP_CHECK_USRES, the user is not showing as defective. It is green.
    Similarly, the the organizational unit check is also showing as green.
    System is advising to run BBP_BP_OM_INTEGRATE. When we run this for the org units, these are coming as green.
    Users are able to create the shopping carts and also are able to create confirmations. But the problem is happening for some of the users where the system is not allowing to create shopping basket / confirmation.
    Strange thing is that, when we are searching the user by user id in the org structure, then the check is showing no messages. But if we search the same user using the BP number, then in the check, the messages are coming. And once the messages appear, it is appearing for all the users in the org strucutre even at the root node level.
    Any help is highly appreciated.
    Thanks & Regards,
    Aswini

    Hi Aswini,
    There are some possibilities to raise these kind of errors messages:                                                                               
    1) User with inconsistent data.                                           
    Please, check the instructions described in the following notes:          
    597475 - Repair users with inconsistent address data                      
    -> use the report B_REPAIR_EBP_USER_2 to make the user consistent.        
    419423 - Repairing incorrect EBP users                                    
    350129 - Creating business partner for organizational unit                                                                               
    When you create the Org Units have you fully completed the address        
    data, e.g post coe, telephone/fax number etc..                            
    If not, please enter a full address, save the data and see if this        
    generates the Business Partner.                                           
    Remember, that you can delete this user and create a new user.                                                                               
    2) Error in the positions after HR replication                                                                               
    Please, implement the following notes and retest the scenario:            
    1056873 -  Incorrect SRM users after HR distribution                      
    1016450 - Replication of persons deletes positions in SRM                                                                               
    After implementing these notes you should send the employee               
    corresponsing to the user in error with his position (using               
    transaction PFAL or report RHALEINI in UPDATE mode for all periods.                                                                               
    3) the user was deleted and a new was created and during these two        
    actions the user opened documents. So, in this case, the new user         
    becomes inconsistent                                                                               
    If the user is deleted from SU01 still the BP and S which is related to   
    that user will be retained (we can see this in PPOMA_BBP) transaction.    
    In this case we can create the user again using SU01 and can be attached  
    with the old 'S' and 'BP'.                                                                               
    2. If the user is completed deleted ie., all relations BP and S.          
    The new user has created.   
    In this case if the new user is corrupted we can delete this                  
    user (since the new user doesn't create any documents so far). But the        
    old documents should refer to the new BP related to the new user.   
    ========================
    Also, another option would be to follow the below instructions
    After applying the notes 1056873 & 1016450, send the employees        
    corresponding to the users in errors with their positions (using              
    transaction PFAL or report RHALEINI in UPDATE mode for all periods,           
    using evaluation path A008) ? If not, please do this and it must repair       
    the SRM users. Please test and give me the feedback.     
    Hope this helps,
    Kind Regards,
    Matthew

  • GL Account not consistent

    Hi
    When we are processing MIGO for a PO we are getting error message GL ac so and so in not consistent and if I double click on that message below detial message is getting displayed:
    This line item carries the "W" posting line identification. The master record for GL Account 2150000 in company code 1000 must have the "balance only in local currency " indicator  if the W identifier is set.
    What is "W" posting line identification. Please let me know the solution for this issue
    Regards
    Padma.

    Hi,
    As this error is pertaining to GL master check this account under FS00 and tick "only balance in local currency" as it is your GR/IR clearing account  which should be managed as open item basis.
    Moreover, also make sure field status to this GL (for line item) and of account group (obd4) are in sync.
    In OBYC, you have assigned this account under your wrx i.e. GR/IR clearing.
    Hope above will help you.
    Regards,
    Valay Pandya

  • Metadata of Controller EMPTYVIEW Is Not Consistent.

    Hi,
    After upgrading NW04s from SP07 to SP11, one of my web dynpro for ABAP application gives the following error on execution.
    I am also getting a system dump. I have checked all the necessary services in SICF & most of the required services are active. Does any one have some idea of how I can resolve this error.
    Error when processing your request
    What has happened?
    The URL http://ustca644.kcc.com:8086/sap/bc/webdynpro/sap/zvmkc_tsvm_main/ was not called due to an error.
    Note
      The following error text was processed in the system PGW : Metadata of Controller >EMPTYVIEW< Is Not
    Consistent. "View Controller" Does Not Contain a "View"
      The error occurred on the application server ustca644_PGW_20 and in the work process 0 .
      The termination type was: RABAX_STATE
      The ABAP call stack was:
    Method: CONTROLLER_KIND_TO_TEXT of program CL_WDY_RG_META_SERVICE========CP
    Method: CONSTRUCTOR of program CL_WDY_RG_CONTROLLER==========CP
    Method: GET_CONTROLLER_PARTS of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE_COMPONENT of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE of program SAPLWDR_RUNTIME_REPOSITORY
    Function: WDR_SAVE_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
    Method: SAVE of program CL_WDR_RR_DB==================CP
    Function: WDY_WB_GENERATE_INTERNAL of program SAPLWDY_WB_ACTIVATION_SERVICES
    Function: WDY_WB_GENERATE of program SAPLWDY_WB_ACTIVATION_SERVICES
    Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
    What can I do?
      If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system
    PGW in transaction ST22.
      If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on
    the application server ustca644_PGW_20 in transaction SM21.
      If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work
    process 0 in transaction ST11 on the application server ustca644_PGW_20 . In some situations, you may also need to analyze
    the trace files of other work processes.
      If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: C14216 -l: E -s: PGW -i: ustca644_PGW_20 -w: 0 -d: 20070222 -t: 222514 -v: RABAX_STATE -e:
    UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    System Dump
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WDY_RG_MD
    Date and Time          02/22/2007 22:25:14
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_WDY_RG_MD' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_WDY_RG_META_SERVICE========CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WDY_RG_MD', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Metadata of Controller >EMPTYVIEW< Is Not Consistent. "View Controller" Does
    Not Contain a "View"
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_WDY_RG_MD"
    "CL_WDY_RG_META_SERVICE========CP" or "CL_WDY_RG_META_SERVICE========CM001"
    "CONTROLLER_KIND_TO_TEXT"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "ustca644"
    Network address...... "165.28.85.39"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "PGWA"
    Database type..... "DB2"
    Database name..... "PGW"
    Database user ID.. "SAPR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Oct 30 2006 00:08:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "DB2CLI.DLL 08.02.0003 "
    Patch level. 83
    Patch text.. " "
    Database............. "DB2 for OS/390 7.1, DB2 for OS/390 8.1, DB2 for OS/390
    9.1"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16192
    EM...... 16759360
    Heap.... 0
    Page.... 0
    MM Used. 12837904
    MM Free. 3918160
    User and Transaction
    Client.............. 400
    User................ "C14216"
    Language Key........ "E"
    Transaction......... " "
    Program............. "CL_WDY_RG_META_SERVICE========CP"
    Screen.............. "SAPMHTTP 0010"
    Screen Line......... 2
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "165.28.239.30"
    Caller Port........... 8086
    Universal Resource Id. "/sap/bc/webdynpro/sap/zvmkc_tsvm_main/"
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDY_RG_META_SERVICE========CP" -
    in "CONTROLLER_KIND_TO_TEXT".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 20
    of the (Include) program "CL_WDY_RG_META_SERVICE========CM001".
    Source Code Extract
    Line
    SourceCde
    1
    method CONTROLLER_KIND_TO_TEXT .
    2
    3
    data:
    4
    cref_View type ref to cl_wdy_md_view,
    5
    ctlr_Type type Wdy_Md_Controller_Type.
    6
    7
    ctlr_Type = controller->get_type( ).
    8
    9
    case ctlr_Type.
    10
    11
    when wdyn_ctlr_type_custom.
    12
    controller_type_as_text = 'CUSTOM'.
    13
    14
    when wdyn_ctlr_type_view.
    15
    controller_type_as_text = 'VIEW'.
    16
    if ( ABAP_FALSE eq Controller->Has_View( ) ).
    17
    " view controller must have a view
    18
    gi_Cx_Text =  Controller->Get_Name( ).
    19
    gi_Cx_Hint = '"View Controller" enthält keine "View"'(NVW).
    >>>>>
    raise exception type Cx_Wdy_Rg_Md
    21
    exporting
    22
    TextId =     Cx_Wdy_Rg_Md=>Controller_Data
    23
    Controller = gi_Cx_Text
    24
    Reason =     gi_Cx_Hint.
    25
    26
    else.
    27
    gi_Cx_Text =  Controller->Get_Name( ).
    28
    if ( gi_Cx_Text eq 'EMPTYVIEW' ).
    29
    return.
    30
    endif.
    31
    32
    " sanity check against illegal CL_WDY_MD_EMPTY_VIEW
    33
    try.
    34
    cref_View ?= Controller->Get_View( ).
    35
    if ( cref_View is initial ).
    36
    gi_Cx_Text =  Controller->Get_Name( ).
    37
    gi_Cx_Hint = '"View Controller" enthält keine "View"'(NVW).
    38
    raise exception type CX_Wdy_Rg_Md
    39
    exporting
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    2
    SY-DBCNT
    0
    SY-FDPOS
    7
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    HTTP Control
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070222
    SY-UZEIT
    222514
    SY-XPROG
    SY-XFORM
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    22 METHOD       CL_WDY_RG_META_SERVICE========CP    CL_WDY_RG_META_SERVICE========CM001    20
    CL_WDY_RG_META_SERVICE=>CONTROLLER_KIND_TO_TEXT
    21 METHOD       CL_WDY_RG_CONTROLLER==========CP    CL_WDY_RG_CONTROLLER==========CM001    25
    CL_WDY_RG_CONTROLLER=>CONSTRUCTOR
    20 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11            684
    LCL_SAVE_REPOSITORY=>GET_CONTROLLER_PARTS
    19 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11             91
    LCL_SAVE_REPOSITORY=>SAVE_COMPONENT
    18 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF11             29
    LCL_SAVE_REPOSITORY=>SAVE
    17 FUNCTION     SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYU02             27
    WDR_SAVE_REPOSITORY
    16 METHOD       CL_WDR_RR_DB==================CP    CL_WDR_RR_DB==================CM002     3
    CL_WDR_RR_DB=>SAVE
    15 FUNCTION     SAPLWDY_WB_ACTIVATION_SERVICES      LWDY_WB_ACTIVATION_SERVICESU04        279
    WDY_WB_GENERATE_INTERNAL
    14 FUNCTION     SAPLWDY_WB_ACTIVATION_SERVICES      LWDY_WB_ACTIVATION_SERVICESU01         84
    WDY_WB_GENERATE
    13 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF12             77
    LCL_REPOSITORY=>CONSTRUCTOR
    12 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01             17
    LCL_COMPONENT=>CONSTRUCTOR
    11 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01            669
    LCL_COMPONENT=>IF_WDR_RR_COMPONENT~GET_USED_COMPONENT
    10 METHOD       SAPLWDR_RUNTIME_REPOSITORY          LWDR_RUNTIME_REPOSITORYF01            245
    LCL_COMPONENT=>IF_WDR_RR_COMPONENT~CREATE_COMPONENT_USAGE
    9 METHOD       CL_WDR_MESSAGE_WINDOW=========CP    CL_WDR_MESSAGE_WINDOW=========CM001    30
    CL_WDR_MESSAGE_WINDOW=>CONSTRUCTOR
    8 METHOD       CL_WDR_APPLICATION_WINDOW=====CP    CL_WDR_APPLICATION_WINDOW=====CM00K     6
    CL_WDR_APPLICATION_WINDOW=>INITIALIZE
    7 METHOD       CL_WDR_CLIENT_COMPONENT=======CP    CL_WDR_CLIENT_COMPONENT=======CM004    59
    CL_WDR_CLIENT_COMPONENT=>DISPLAY_TOPLEVEL_COMPONENT
    6 METHOD       CL_WDR_CLIENT_APPLICATION=====CP    CL_WDR_CLIENT_APPLICATION=====CM00L    30
    CL_WDR_CLIENT_APPLICATION=>INIT
    5 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    40
    CL_WDR_MAIN_TASK=>EXECUTE
    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    69
    CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM00I   524
    CL_HTTP_SERVER=>EXECUTE_REQUEST
    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                      929
    HTTP_DISPATCH_REQUEST
    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
    %_HTTP_START

    Hi Kim,
    Please try the following:
    Try to reactivate the component
    If this does not help, please create an OSS ticket and the SAP colleagues will help you to fix the problem. Please add exact information about the component and open a connection to your system.
    Ciao, Regina

  • Since upgrading to Maverick my iPhoto does not consistently download my Nikon or my Canon camera photos.

    Since upgrading to Maverick my iPhoto does not consistently download my Nikon or my Canon camera photos. Occasionally it will recognize and download photos, most of the time though it hangs in "loading" mode with nothing downloaded. I've unplugged, replugged numerous times, tried a different USB port, tried the two cameras so it's not the camera or line that's the issue, turned the computer off, turned iphoto off, turned everything else off and stil nothing. I need my photos for my work and can't get to them, this seems to be an issue with Maverick AGAIN!!! Is there a fix? HELP! Thanks!

    iPhoto Version 9.5.1
    Thank you for your help Terence. I had 140 photos on my Nikon, none were viewable in iphoto, in Image Capture 5 were viewable, 135 weren't. I tried importing one to my desktop but it remained static and didn't move over. I just deleted all the photos on my camera, took a fresh photo and after waiting a good 4 minutes finally uploaded to both iphoto and Image Capture. As this took so long for one photo I'm wondering if the memory in my computer would impact the speed. I have 350GB used and 150GB left
    By reformat the cards do you mean the flash card in the camera? I don't know how to do that, it's less that 6 months old.  

  • G/L Account currency is not consistent  with G/L Interim Account currency

    Hello
    A few days ago I was  printing checks and suddenly an error occurs
    it says something like..."Another user is accessing the same account"
    In the reserch   I found help in SAP Portal, where I showed how to unlock this part
    This I did in Administration->Set up-> Banking-> House Bank accounts
    At the end is a column that says BLOCK PRINTING, always locked, but when the error occurs is enabled for the account that has been affected, and a  super user must unlock by unchecking the check box.
    The problem is that the update that part I get an error message and I have not been able to unlock
    The error is
    G/L Account currency is not consistent  with G/L Interim Account currency [Message 60701-9]
    In this regard I have not found anything to help me resolve this error and the printing of checks is blocked
    I need your  help
    Regards.
    Yen

    Hi
    i found the problem,  we have an  accunt that is just visible  in  House bank accunt window when try to select an account in the column G/L intermin account,  but  that account is  not an active account ,  the descrpction says "Copy express transport account" i delete it in all the rowa and  finaly  we could update the window.
    Regards
    Yen

  • New page unexpectedly loses ability to go BACK to previous page after clicking on a link in page (not consistent), why?

    Firefox 4.0 Vista 32 bit
    I will have a tab open, and click on a link, new page loads. The Back and Forward buttons do not work. Usually it shows in history (unless I opened too many pages before clicking on link). This has happened several times.
    It is not consistent - one time I used search bar and opened a Yahoo search page - clicked on search link and when I wanted to go back to look at another search link from the previous page- page would not load (BACK button dead). I clinked search again, clicked on another link and that time it allowed me to return to the previous page???
    I am about ready to go back to previous version.
    Thank you.

    It's a good idea to try disabling Flash completely and see whether the problem continues. If it does, then my guess is incorrect. To test that, open this tab:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category
    Here you can locate Shockwave Flash and use the Disable button. Keep this tab open for easy access when doing your test.
    ''If your test confirms that Flash is causing the problem,'' then the other thread has two suggested workarounds. The first is simple to understand (keep some Flash running at all times) but may be inconvenient to do all the time. The second is trickier because it requires editing a file in (or creating and then dragging a file into) a system folder. Fortunately you only need to do it once.

  • Spacing between lines is not consistent!

    Dear co-community members,
    I am a happy Pages user since a couple of months, but I just discovered a weird thing and that is: the spacing between the lines is not consistent! I am typing my document with margins left and right: 2,25 upper and under: 2,00. I use Helvetica Neue Light in 10. And I have tried several spacings: 1,15 - 1,3 - 1,35 - 1,4 but the spaces between the lines are not consistently as big or as small as they need to be.
    I discovered this when I was test printing it and I saw something was off - on paper, I thought it was my printer. But I also checked the document again: spacing was 'the same' in the whole document according to the info window. But I could see it with my bare eyes that it was not consistent (on screen nor on paper). I put the screen on 200% and I took a ruler and the spaces vary with 1mm when for example the spacing is set on 1,3. I don't think this is normal and I cannot find any solution nor explanation for it.
    I am using a MBP Retina 13" late 2012 and I have the most updated/recent version of Pages/OSX. Please let me know whether I did something wrong or are my eyes just too good hahah - or it is an 'error' in Pages .
    Kind Regards,
    Ning.

    @PeterBreis0807 & @Barry
    I actually don't have any objects or other material/fonts in my text (yet) that are not uniform size . I wanted to make a print screen from a part of my text, but I am not sure if I am allowed to post that here since I am typing a literature review with references.
    I btw do have headings in small capital (Helvetica Neue - Medium), it might not be Helvetica Neue Light also but I have never had problems with headings in another font causing inconsistent spacing between the rest of my text .
    Thank you for your reply!
    Ning.

  • Data Package is not consistent error

    Hi All,
    We have a Bex issue the screenshot of which is given in the link below. We have an info cube which has huge data volume. We load it very frequently (every hour from 2 sources). This info cube has been loading from say last 5 years. We stopped compressing the data about an year ago for some reason. We are thinking of compressing the data sometime soon. All of a sudden, users are getting the error shown in the link below more frequently. No much information is available at Service Market place about this issue. Can somebody please throw some light on this?
    [Error Screenshot|https://photos-1.dropbox.com/i/l/orsd6TKDlIBVoH4JO79GWQAPNFPlTa88QJ0zkV7Lcc0/53945346/1324418400/3799537/Bex%20Error.JPG#1]
    Thanks and Regards
    Subray Hegde

    Hi Deepak,
    I am not able to attach a screenshot. Somebody directed me to servimg.com but, I do not know how to create an account in this site. The error reads like this:
    "Error Aggregates of <Infocube> were compressed. Data package is not consistent. Error. Error while reading data; navigation possible.".
    Thanks and Regards
    Subray Hegde

Maybe you are looking for

  • Having a problem, no idea how to fix or categorize

    I had just installed the Tiger upgrade today, 10.4.3. After doing so and my Mac told me to reboot, it gave me the spinning wheel and woulnd't reboot. I manually shut down the Mac and turned it back on. The computer gave me the spinning wheel again at

  • How do i get my calendar off my old iphone to my new iphone

    how do i get my calendar off my old iphone to my new iphone

  • To create a Universe Level filter for calculating one month's data

    Post Author: roy999 CA Forum: Deployment Hi Everbody, I am creating a Monthly report using Deski XI R2. My requirement is :At the report prompt the user will enter only the Start Date (which will be the first day of previous month) and the End Date w

  • Error  message when trying to add new user

    Hello, Customer is working on 2005B (2005B 7.40.252 SP00 PL39). They are working on this database since 2009. No upgrade was recently done. when trying to add a new user they get athe following error: "A user was added outsite the application. Delet

  • Printing Basics Question

    I'm trying to figure out the basics of printing in SGD and was hoping someone could shed a bit more light on it for me. First off, I have printing working. I have Windows 2003 App Servers, fronted by a SGD on Solaris 10 and Solaris 10 clients using w