Create a portlet to check account status - lock / not lock

I need to create a portlet that checks account status - whether it is lock / not lock. How to extract the info from portal? Need this done urgently.

Anybody may find the related information at metalink if you are interested:
171795.1 Bitmap Indexes and Deadlocks: Deadlocks on Insert Statements
However, beware the misleading information in this note:
"The piece of information that leads us to a bitmap deadlock is the no row value in the session information."
For 10g, you may get row information in the session information when you have bitmap deadlock.
It is better to find out the object type of the object id as shown in trace file.

Similar Messages

  • Method of fetching Account status and user locked date in Portal.

    Hi,
    Can anyone suggest me the method name  in UME API in Sap Ep for fetching User Account Status and Last User Locked Date. Or suggest a related code for it.
    user database is LDAP.
    Thanks

    Hi Abhai,
    The class (actually Interface) you're looking for is IUserAccount. You can get this from the IUser by using the method getUserAccounts().
    The IUserAccount provides all sort of methods like lockDate(), isLocked(), getLockReason().
    See more in https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/_d-f/ep%206.0%20sp2%20usermanagement%20public%20api
    Best regards,
    Amit

  • HT4314 I have two iPad with one game centre account as the second iPad is my sons machine. I created a second game centre account but am not able to log into it as game centre only seems to let me put in an appleID, can someone suggest how I can get his s

    I have two iPads, one is my son's machine. Previously he had an IPad 1 and mine was an ipad2. The iPad 1 died so I bought myself a new ipad4. I have only one appleID for both machines but created two Game centre accounts as there is a couple of games we both play and have different high scores. ipad 4 is nicely set up with all of my game data but now I would like some help in reinstating My sons game centre account (previously on the ipad1) now on the iPad 2. When I try to log into game centre it only lets me out in my appleID which gives up my game center account. Thankyou.

    You and your husband can share a store account and still have seperate iCloud accounts for your contacts, bookmarks and stuff like that.  Click here for instructions to make an apple account without entering a credit card.  Make sure you use a different email address for each apple account. 
    Set up your iPhone/iPad whatever using the new account for iCloud.  Then go into settings/store and sign in with your purchasing account, you may need to sign out of the other account.  To the best of my knowledge, your household is allowed to share purchased legally, someone please correct me if I'm wrong.
    Once you each have your own devices set to your own accounts you can set them to backup to that account and it will keep all your contacts seperate.

  • Screensaver lock not locking after latest security update

    Hi,
    I have a dual 1.8 G5 running 10.4.7.
    After the last security update the security preference that allows the screensaver activation to lock the account no longer works. I also tried enabling the keychain access menu item and the "lock screen" function does not work either. Did the permissions repair shuffle.
    I tried same on my test account and it works fine.
    Where might I start digging to find the bad prefs file for this one?
    On another forum a few other folks reported the same thing post-update, although some of them didn't realize it broke until they tried it.

    No luck... Moved the prefs out of the directory then set the "require password" option and it still does not work.
    There's some binary junk in that pref file, but here's the output of all the ascii junk contained within it:
    [gee5:~/Library/Preferences/ByHost] spork$ strings !$
    strings com.apple.screensaver.000d9354763a.plist
    bplist00
    ^askForPasswordZmodulePath
    */System/Library/Screen Savers/Flurry.saver
    It does seem to be setting the pref...
    PowerMac G5 dual 1.8   Mac OS X (10.4.6)  

  • Num Lock Not locking Pearl 3G

    I know you are suppose to hold down the Shift key then the Alt key.  I have had all generations of the Pearl before.  I know how to use it.  I just got my Pearl 3G from Rogers, and the num lock won't work.  It will allow me to enter one number, then revert back to letters.  If I press the menu key and select Enable Numeric, it will work.  Did blackberry intend this?

    Hey kliners,
    When you hold down the "shift" key and they hit the "alt" key are you getting the little 123 up in the top right corner of the device? You may want to backup your device and complete a clean applciaion load and test before restoring any data. Here is how you backup http://bit.ly/aSediX, here is how you do the software load http://bit.ly/cKy9A0.
    Let us know how you make out.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • EMAIL AND CALENDAR ACCOUNT STATUS ISSUE / BUG OS 10.3.1

    I found an issue / bug which is really frustrating me!
    Phone:      Blackberry Q10 (SQN100-3)
    OS:           10.3.1.1565
    Mail:          IMAP
    Calendar:  Google Calendar
    Last week I updated my BB Q10 to the new officially released OS 10.3.1
    Today I noticed that the connection info / status for email accounts and calendars (Settings > Accounts) wasn’t indication correctly.
    In the Accounts menu it shows “E-mail” below the name of my email account and “Calendar” below my calendar account to indicate that my Q10 is connected to these accounts. But when I turn airplane-mode on it still shows E-mail and Calendar without being connected to any of these accounts.
    Strangely when I turn on my phone while in airplane-mode the Accounts menu shows “E-mail” for my email account and “No Connection” for my calendar account, obviously without being connected to my email account. But when I turn of airplane-mode I receive emails and new appointments but the Accounts status for calendar still shows “No Connection”.
    Apparently the account status is not updated while using my phone, it shows the status at startup. This is very annoying and I am unable to check whether I am connected or not to my email and calendar while not in airplane-mode.
    In OS 10.2.1 the account status worked correctly and was updated (connected / no connection) while using my phone.
    Anybody else with the same problem?
    Is this already a known issue / bug?
    Anyone an idea how to solve this issue?

    I would simply delete both accounts (email and calendar) then readd them.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Installed Photoshop Elements 13.  Upon activation, get through sign in screen, but when doing serial number validation, validate goes round but does not validate.  Connect Later is only way out of screen.  How do I validate.  Checked account but product n

    How do one validate Photoshop 13. (Windows 8) Upon activation, get through to sign in screen, but when doing serial number validation, validate goes round but does not validate.  Connect Later is only way out of screen.  Checked account but product not listed.  Installed with serial number that was sent  by Adobe.  Have attempted numerous times at different times of the day.  On-line connection working.

    Have you bothered to do any research at all? Not every app was upgrade to 5.5. Those that weren’t will next be upgraded to CS6.
    Bob

  • User locked, no lock date

    Anyone seen anything like this before?
    User is locked, but lock date is null
    SQL> select username, account_status, lock_date
      2  from dba_users
      3  where account_status like 'LOCK%';
    USERNAME             ACCOUNT_ST LOCK_DATE
    <snip other users>
    MYAPPUSER            LOCKED
    15 rows selected.Account has locked multiple times today. Notice status is simply LOCKED, not LOCKED(TIMED) as it would be if wrong password entered too many times.

    P. Forstmann wrote:
    Maybe you have "Bug 9693615 LOCK_DATE is null in DBA_USERS after account gets locked automatically" for 10.2.0.5/11.2.0.1 ?
    Pierre,
    Interesting note on that bug. I took the work-around of changing the reuse_time to a value other than unlimited. Now the account is showing as LOCKED(TIMED) when it gets locked. We clearly have a problem in the app and I am working with the developers (they live on the other side of the country and work for a different organization) to resolve. My concern for this thread was simply the issue of an account LOCKED with no LOCKE_DATE. Never saw anything like that before.
    Thanks again for the lead. I posted to here just as I was heading out to lunch, planning on checking MetaLink when I got back. You saved me some search time weeding through a bunch of false hits.

  • Is there a way to BULK COLLECT with FOR UPDATE and not lock ALL the rows?

    Currently, we fetch a cursor on a few million rows using BULK COLLECT.
    In a FORALL loop, we update the rows.
    What is happening now, is that we run this procedure at the same time, and there is another session running a MERGE statement on the same table, and a DEADLOCK is created between them.
    I'd like to add to the cursor the FOR UPDATE clause, but from what i've read,
    it seems that this will cause ALL the rows in the cursor to become locked.
    This is a problem, as the other session is running MERGE statements on the table every few seconds, and I don't want it to fail with ORA-0054 (resource busy).
    What I would like to know is if there is a way, that only the rows in the
    current bulk will be locked, and all the other rows will be free for updates.
    To reproduce this problem:
    1. Create test table:
    create table TEST_TAB
    ID1 VARCHAR2(20),
    ID2 VARCHAR2(30),
    LAST_MODIFIED DATE
    2. Add rows to test table:
    insert into TEST_TAB (ID1, ID2, LAST_MODIFIED)
    values ('416208000770698', '336015000385349', to_date('15-11-2009 07:14:56', 'dd-mm-yyyy hh24:mi:ss'));
    insert into TEST_TAB (ID1, ID2, LAST_MODIFIED)
    values ('208104922058401', '336015000385349', to_date('15-11-2009 07:11:15', 'dd-mm-yyyy hh24:mi:ss'));
    insert into TEST_TAB (ID1, ID2, LAST_MODIFIED)
    values ('208104000385349', '336015000385349', to_date('15-11-2009 07:15:13', 'dd-mm-yyyy hh24:mi:ss'));
    3. Create test procedure:
    CREATE OR REPLACE PROCEDURE TEST_PROC IS
    TYPE id1_typ is table of TEST_TAB.ID1%TYPE;
    TYPE id2_typ is table of TEST_TAB.ID2%TYPE;
    id1_arr id1_typ;
    id2_arr id2_typ;
    CURSOR My_Crs IS
    SELECT ID1, ID2
    FROM TEST_TAB
    WHERE ID2 = '336015000385349'
    FOR UPDATE;
    BEGIN
    OPEN My_Crs;
    LOOP
    FETCH My_Crs bulk collect
    INTO id1_arr, id2_arr LIMIT 1;
    Forall i in 1 .. id1_arr.COUNT
    UPDATE TEST_TAB
    SET LAST_MODIFIED = SYSDATE
    where ID2 = id2_arr(i)
    and ID1 = id1_arr(i);
    dbms_lock.sleep(15);
    EXIT WHEN My_Crs%NOTFOUND;
    END LOOP;
    CLOSE My_Crs;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20000,
    'Test Update ' || SQLCODE || ' ' || SQLERRM);
    END TEST_PROC;
    4. Create another procedure to check if table rows are locked:
    create or replace procedure check_record_locked(p_id in TEST_TAB.ID1%type) is
    cursor c is
    select 'dummy'
    from TEST_TAB
    WHERE ID2 = '336015000385349'
    and ID1 = p_id
    for update nowait;
    e_resource_busy exception;
    pragma exception_init(e_resource_busy, -54);
    begin
    open c;
    close c;
    dbms_output.put_line('Record ' || to_char(p_id) || ' is not locked.');
    rollback;
    exception
    when e_resource_busy then
    dbms_output.put_line('Record ' || to_char(p_id) || ' is locked.');
    end check_record_locked;
    5. in one session, run the procedure TEST_PROC.
    6. While it's running, in another session, run this block:
    begin
    check_record_locked('208104922058401');
    check_record_locked('416208000770698');
    check_record_locked('208104000385349');
    end;
    7. you will see that all records are identified as locked.
    Is there a way that only 1 row will be locked, and the other 2 will be unlocked?
    Thanks,
    Yoni.

    I don't have database access on weekends (look at it as a template)
    suppose you
    create table help_iot
    (bucket number,
    id1    varchar2(20),
    constraint help_iot_pk primary key (bucket,id1)
    organization index;not very sure about the create table syntax above.
    declare
      maximal_bucket number := 10000; -- will update few hundred rows at a time if you must update few million rows
      the_sysdate date := sysdate;
    begin
      truncate table help_iot;
      insert into help_iot
      select ntile(maximal_bucket) over (order by id1) bucket,id1
        from test_tab
       where id2 = '336015000385349';
      for i in 1 .. maximal_bucket
      loop
        select id1,id2,last_modified
          from test_tab
         where id2 = '336015000385349'
           and id1 in (select id1
                         from help_iot
                        where bucket = i
           for update of last_modified;
        update test_tab
           set last_modified = the_sysdate
         where id2 = '336015000385349'
           and id1 in (select id1
                         from help_iot
                        where bucket = i
        commit;
        dbms_lock.sleep(15);
      end loop;
    end;Regards
    Etbin
    introduced the_sysdate if last_modified must be the same for all updated rows
    Edited by: Etbin on 29.11.2009 16:48

  • Check Function Module is not working

    Hi All Expert,
    I'm new in workflow and  develop custom workflow for Transaction FB65 ( Vendor Credit Memo) and using business object FIPP , event CREATED.
    Actually  requirement is that when user  click on park button in FB65 then should  be trigger workflow only for particular vendor code .
    Now my workflow is working fine for all vendor code.
    For particular vendor code, I have created an new entries in  SWE2 and assigning a check function module to that
    Refer Link :         http://www.****************/Tutorials/Workflow/checkfunctionmodule/demo.htm
    and also same entries create in SWETYPV But Check Function Module is not working before workflow trigger.
    Appreciate your help and support.
    Regards
    Saurabh

    Hi
    : Check FM  : ZWF_DR_CR_MEMO 
    SourceCode :
    FUNCTION ZWF_DR_CR_MEMO.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(OBJTYPE) LIKE  SWETYPECOU-OBJTYPE
    *"     VALUE(OBJKEY) LIKE  SWEINSTCOU-OBJKEY
    *"     VALUE(EVENT) LIKE  SWETYPECOU-EVENT
    *"     VALUE(RECTYPE) LIKE  SWETYPECOU-RECTYPE
    *"  EXPORTING
    *"     REFERENCE(RESULT) TYPE  C
    *"  TABLES
    *"      EVENT_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOT_TRIGGERED
    BREAK-POINT.
    TABLES : VBSEGK.
      DATA : LV_VEND TYPE VBSEG-LIFNR.
      CLEAR : LV_VEND.
      SELECT SINGLE  LIFNR FROM  VBSEGK INTO LV_VEND WHERE BELNR EQ OBJKEY.
        if sy-subrc eq 0
          IF LV_VEND = '0000120510'.
            RAISE NOT_TRIGGERED.
          ENDIF
      endif.
    ENDFUNCTION.

  • OIM 9.1 DB Recon Changes Locked Account status in OIM back to Provisioned

    Hi,
    I have a scheduled task that runs the OIM DBAccessReconTask but am seeing some unexpected behavior. Here are the steps to produce the error:
    1. Provision a DB account to a user in OIM (this creates an account in the target database and the account shows in the user's resource profile with a status of "Provisioned")
    2. Disable the DB account in OIM from the User's Resource profile screen (this successfully disables the account in the database and changes the account status to "Disabled")
    3. Run the DBAccessReconTask
    4. After the DBAccessRecon task completes the status of the DB account in the database is still disabled but in OIM on the user's resource profile screen it is marked as "Provisioned"
    I did not expect this to be changed to provisioned in OIM since it is disabled in the database. Has anyone seen similar issues when running the DBAccessReconTask or know a way to fix this?

    Hi Suren,
    Thanks for the reply. Originally I thought your solution would work but after analyzing it closer there is a more fundamental problem we are having with the DBReconTask. We only want the reconciliation to take place going from OIM to the database and not vice versa (i.e. changes to an account in OIM should be pushed to the database but not from the database to OIM). However, currently if a change is made in the database (a role is added, the profile is changed, etc...) and the DBReconTask is run then it will be updated in OIM. Do you know how this can be achieved? These are the properties we currently use when creating the task:
    Properties props = new Properties();
    props.put("Target System Login Recon - Resource Object name:", ro.getName());
    props.put("Target System User Recon - Resource Object name:", ro.getName());
    props.put("Trusted Source Recon - Resource Object name:", "Xellerate User");
    props.put("Server", itResource.getName());
    props.put("Record Size", "ALL");
    props.put("isTrusted", "NO");
    props.put("DBName", "nodata");
    props.put("ExcludeSystemUsers", "nodata");
    props.put("ReconcileLockedUser", "YES");
    props.put("Login Name", "nodata");

  • My Order Number 2510885387 and i have ordered for developer account but when i am checking the status it is still saying no order done in last 30 days

    my Order Number 2510885387 and i have ordered for developer account but when i am checking the status it is still saying no order done in last 30 days

    There's a Contact Us button at the bottom of this article    >  https://developer.apple.com/support/ios/purchase-and-activation.php

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • Unix script for checking the user account status

    Hi All,
    i have created one unix script to check the status of the user in diff databases.
    #!/bin/ksh
    useracctreport.txt if [ ! -f hh ];
    then
    echo "Database file does not exist"
    fi
    echo "Enter Username"
    read USER
    echo "Enter the password"
    stty -echo
    read PASS
    stty echo
    for j in `cat users`
    do
    j="`echo $j| tr '[a-z]' '[A-Z]'`"
    for i in `cat hh`
    do
    sqlplus -s $USER/$PASS\@$i <<EOF >> useracctreport.txt
    column USERNAME format a8
    column ACCOUNT_STATUS format a5
    !echo "*****User $j Status in $i DB*****"
    select USERNAME,ACCOUNT_STATUS from dba_users where username=('$j');
    select OBJECT_TYPE,count(*) from dba_objects where owner='$j' group by object_type;
    EOF
    done
    done
    In log file ,i get the below error when its unable to connect to the DB.
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] | [INTERNAL]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] | [INTERNAL]
    where <logon> ::= <username>[<password>][@<connect_string>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Is there any way i can supress this error?
    and is there any other way i can make this script faster.Thanks a lot for your help

    Hi,
    The failing line is
    sqlplus -s $USER/$PASS\@$i <<EOF >> useracctreport.txtYou should test the connect statement you provide to sqlplus. For example:
    CONSTRING=$USER/$PASS\@$i
    echo Connect string used: $CONSTRING
    sqlplus -s $CONSTRING <<EOF >> useracctreport.txtCheck the echoed value. It's malformed. Correct it appropriately.
    Yoann.

  • HT201303 Dear Customer Service: It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for  the card and it is still all good. My friends an

    Dear Customer Service:
    It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for
    the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Techcombank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Edited by Host>

    Just as a warning, your credit card number has been sent in the clear to probably thousands of people, including anyone who subscribes to e-mail alerts to this forum.  That's very, very bad.  The credit card should be considered compromised at this point, and you should cancel it immediately, if you haven't done so already.

Maybe you are looking for

  • How do I use toplink with Spring 2.5 and oc4j 10.1.2?

    Our existing java server environment is limited to Oc4j 10.1.2 due to being tied to Oracle Forms. We've added a java 6 jdk to the machine and linked it to a specific container to examine some newer java features since this version of the application

  • Master records in MM moudle

    hi all SAP MM guru, iam fi/co consultant...i want to knw about master records maintain in the MM moudle I heard 1. material master records 2. source list 3. info record 4. quata arrangements 5. vendor master records( i knw this) could you explain eac

  • Regarding Instance Creation

    Hi, I am having one process "FilterApplications" which consists of series of Automatic activities. I have deployed the process in Enterprise Server. Now, I have imported the PAPI WS in SOAP UI, when I am trying to create instances through processCrea

  • Unable to change the default mail address

    I'm not able to change my default email address in my profile. Currently I have one email listed. When I add 1-2 other emails and then wants to change which one to use as default it removes the newly added addresses. I have tried just adding one, I h

  • Illustrator crash file

    Hi - I remember back in the day...a long time ago, illustrator created a file (some obscure illustrator name) that you would be able to access when illustrator crashed (with some hunting). You could usually find it in the trash or on your desktop som