Hide a column on iSupport login screen

Hello,
in Apps 11.5.10 iSupport login screen (jtfavald.jsp) I need to hide a column for Service Request table... How could I do it? I think it would be possible through personalizations instead modifying jsp , isn't it? but.. how...?
Thanks

Hi avajain, thanks for your answer...
Yes.. when I told personalization.. I included use of AK too, but.. I'm not very familiarized whit them.
I've read what you suggested...
and I've saw this:
To determine what top region is associated with a page that you are viewing, view
the source of the page through your browser and search for Top Region Code. This
code is the topmost AK region used to render the page. All the relevant UI attributes
on that page are either under that region or in the nested region that it includes.
but... I'm not able to find the Region in which this page has the attributes (the columns for Service request "table"on this screen ... would be attributes,wouldn't they?)
Any idea of which could be the region for this initial page?
Thanks

Similar Messages

  • Is there a way to hide users from the FileVault 2 ''main boot'' login screen?

    After your entire disk is encrypted with FileVault 2, there is a now a ''main'' boot login screen with users displayed--after a full shutdown/restart--as opposed to a ''normal'' login screen when logging users in and out after booting into FileVault 2.
    If that made any sense...there was a way to hide users from the ''normal'' login screen before by running this Terminal command:
    sudo defaults write /Library/Preferences/com.apple.loginwindow \ HiddenUsersList -array-add xxxx
    (xxxx being a short user's name)
    How do I do this now for the login screen that comes up on a full/shutdown restart?

    Not really, but you can move them from the home screen to, say, the 4th, or 10th screens. But you do need to have at least one app in every screen on the phone. My idea was to have several blanks before the screen with her apps, but the phone doesn't allow this.
    Sounds like time for the Iron Fist. ::grin:: Putting your foot down. Funny how those two descriptions don't quite match up. Our 5 year old son loves to use the iPhone, and with consistent training we have minimal trouble when he doesn't want to quit.
    Have a great trip. Joel.

  • Hide specification column in result recording at plant level

    Hi,
    There is an requirement to hide specification column in result recording screen at plant level.
    By table control we can hide the specification column but the setting is at user level or client level.
    Is there any standard procedure to hide specification column at plant level.
    Regards
    Amol

    Dear Amol,
    Try this if works for you.
    1.     Go to QA32
    2.     Select an inspection lot
    3.     Click on results
    4.     Here you will get the specification column along with RR column
    5.     Reduce the width of specification column just like we do in Microsoft excel by dragging it from right to left until it disappears
    6.     At the right hand side you find a small table like symbol. When you move your mouse pointer towards it, it reflects as Configuration.
    7.     Click it
    8.     Give suitable name to variant and save
    This is user ID specific.
    Best Regards,
    Anand Rao

  • How to remove/hide administrator account on login screen OS X 10.10

    After a restart or reboot on the main login screen I have two accounts showing.  It has my account and a other account which is an administrator account.  I want to hide the other account.

    Will this terminal command work in OS X 10.10?
    sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED FALSE

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Hide columns in report on screen and display all in excel

    I am very new to this application. Can anyone please tell me how to hide certain columns on the screen display and dump everything in excel.
    Right now if I uncheck show for some columns in report attributes, it's not displayed in excel either. I would appreciate any help on this.
    Thanks

    I am very new to this application. Can anyone please tell me how to hide certain >>columns on the screen display and dump everything in excel.
    Right now if I uncheck show for some columns in report attributes, it's not displayed in >>excel either. I would appreciate any help on this.Use htmldb_application.g_excel_format method.
    for the items that you dont want in the report but want in CSV, just select that item and in its conditional display select PL/SQl expression and put htmldb_application.g_excel_format.
    for items you want in report but not in CSV put - not htmldb_application.g_excel_format.
    Else for columns that you want both in report and CSV, keep it blank.
    Hope it helps.
    Ameya.

  • How to Hide Menus and Icons in SAP Login Screen.

    Hi
    Can Any one Guide me on How to Hide Menus and Icons in SAP Screen.
    Example: System Drop Down Menu, Help Drop Down menu Etc and
    ICONS: Trash Button, Truck Button , Print Button
    Using OS Level Regedit or SAP Level using any Parameter.
    Thanks & Regards
    Daniel . K

    AFAIK the system menu can´t be hidden - because people won´t be able to log off (but by using the X in the right upper corner). Additionally it contains additional transactions (own data etc.) that users should be able to change.
    Markus

  • Integrating APEX items into an HTML Login Screen

    I've just been presented with an attractive html login screen that our art department has created for our new application. The only problem is that the art department doesn't know a thing about APEX. They've drawn a nice looking screen using several images laid out into tables and even included an html form for the login credentials.<br>
    <br>
    I'd really like to use as much of their page as possible and I'm close to getting something that at least looks like it might work. I've encapsulated the entire thing into htp.p statements inside of a PL/SQL region on my Login page. I've removed their form elements and placed my own fields using HTMLDB_ITEM.TEXT calls. I also believe that I will be able to read back the values using calls to HTMLDB_APPLICATION.G.Fxx for each of my IDX values. I haven't tested that part yet, but it seems like it should work.<br>
    <br>
    The part that has me stumped right now is modifying the TEXT item into a PASSWORD item type. I've tried adding type="password" into the attributes parameter and I do see that in the page source, but it's after the default type="text" statement and is therefore ignored. The statement I'm executing for my password field is: <br><br><b>htp.p(htmldb_item.text(22,NULL,30, 100, 'type="password" onkeypress="return submitEnter(this,event)"', 22, 'Password:'));</b><br>
    <br>
    It doesn't seem like there is much reason to go on if I can't hide the contents of my password field, so I though I should ask for some advice before going too much further.<br>
    <br>
    Am I missing a better way to override the item type here, or is there a better way to place my login fields at specific locations inside of an existing html document? I can get the fields above, below or next to their page but that looks terrible. I could also break up their page into a top section and a bottom section with my fields in a middle region, but that would also ruin the look of the page.<br>

    Hi, Etown88.
    You've learned two important lessons:
    1. Undocumented features are undocumented for a reason.
    2. Never try "tricks" you read in magazines or on the Web unless they also clearly specify how to undo the trick. In fact, you should skip tricks like this: review Lesson 1 above.
    The specific "trick" you cite was in Macworld recently and can be found on their web site here and here, the latter under the heading "Make your login window informative".
    You'll also note at the end of the second article that it contains a correction: sometimes tricks have typos that can really ruin your day.
    The "trick" probably originated as a post on the Mac OS X Hints site since the column was written by Rob Griffiths who runs that site.
    To "undo" this, simply specify HostName, which is the default:
    defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
    This is stated in the articles cited above, but one has to realize it as its stated subtly, e.g."• HostName to show the default display"Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to remove or hide Name column while upload document in document library

    Hi All,
    In below print screen the first column Name* which always show when I'm going to upload the file which I don't want. It will be really help full if you provide some solution how to hide this column while uploading the document. Its really confusing the users
    when they are going to upload the document in document library.
    I already tested below steps. After clicking Document Content Type every column is clickable except "Name" column. 
    Go to Document Library settings -> Advance settings -> Allow management of content types -> check the box
    Now go back to Document Library settings -> Under content types -> click Document content type -> select the column -> Hide this column
    Every column is clickable except "Name" column so unable to resolve this issue. Please help.

    Hi,
    Thanks for posting your issue, Kindly browse the below URL to fix this issue
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c7d0e0d5-084b-4d49-88fe-b411a70042bd/how-to-hide-the-name-column-in-the-document-library?forum=sharepointdevelopmentlegacy
    http://spstipsutilitypack.codeplex.com/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Login screen before the actual application in an applet.

    Hi all,
    I'm really looking for a tutorial or something but I haven't managed to get the wording right in my google searches.
    I have an applet that is communicating with a server. Before getting access to the applet as such I would like a login screen. This is not there for the purposes of security but rather which server to work against.
    I'm having a bit of problem with the GUI - what would be the best way of doing this?
    When you hit the webpage and the applet loads there will be 3 test fields and 3 input boxes - one being a password box. and finally a OK button.
    The OK button will call a function I already have that will verify that the credentials are OK and pass back a yay or nay - if I get a nay I want to stay on the login page.
    If I get a yay - and this is where I don't know what to do. I want a complete GUI redraw of the new components.
    I have tried to put all components into the one window and hide-and-show them as required but this just turns into a complete mess. I have the second window already - and I'm quite happy with it so I really want a brand new login window and switch from one to the other without having to resort to the messy hack I'm currently using.
    I'm sure I'm missing something pretty basic here so if someone could please guide me towards a tutorial I'd appreciate it.
    thanks,
    Dan

    That's exactly what I was looking for.
    thanks!

  • Slow graphics performance - login screen, launchpad, full screen video all stutter

    Since installing Mavericks, I've found that several system animations are slow/stutter. This is on a 2012 MacBook Air with maxed out hardware specs so its not b/c I'm running an old system.
    Some examples:
    - When booting up, right before I reach the login screen, the display quickly flashes blue. This leads me to believe something funky is going on with my graphics card/drivers
    - The login animation, where you click your username and it floats to the middle of the screen so you can type in your password, is very jerky, taking 2+ seconds to complete. Previously it had been fast and smooth
    - When using Launchpad, expanding folders often takes several seconds. The folder will start to expand, freeze, and then finally finish. This tends to be more of a problem for folders with 1 row of icons. Large folders oddly seem to expand ok / smoothly
    - Watching full screen video in iTunes causes the audio to stutter (the video playback is still smooth). If I make the window smaller, audio and video playback are smooth again
    Is anyone else experiencing these kinds of graphics issues? Any idea whats going on or how to fix?

    Quit Chrome and see whether there's any change. If not, see below.
    Step 1
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the View menu or the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for User, System, andIdle at the bottom of the window.
    Select the Memory tab. What value is shown in the bottom part of the window for Swap used?
    Next, select the Disk tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard by pressing the key combinationcommand-C. Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • BOE-XI (R2) - Rename CMS name in Login Screen for CLUSTER

    BOE-XI (R2)
    Cluster with Two (2) physical servers side-by-side hosting all BOE services.
    Both Tomcat and IIS installed on both physical servers.
    We don't want the end-users of InfoView to see/know the underlying server names (eg. BOE_SERVER_1 and BOE_SERVER_2 ) in the URL for the CMC / InfoView - or in the CMS Name on the login screens for those applications.
    I assume that we can use some kind of DNS service in front of the website to mask that, but I don't know how we can "rename" it in the CMS name in Login Screen.
    What we want is to use a name like BOE_PROD for the URL path -  and for the CMS Name on the login screens for CMC / InfoView
    Anyone done this before...? Any documentation you can point me to...?
    Thanks in advance!
    Edited by: Mark Richardson on Oct 31, 2008 5:29 PM

    Here is one of my best findings on the matter.
    DNS ---
    The DNS bit is not documented but here is how I achieve this. The cluster configuration should be documented in the deployment or admin guide.
    For XIr2 to run with DNS, you need to add -port to the CMS, IFRS, OFRS and RAS (if you use crystal) - check the SAP notes to see because there are differeences between the CMS and other services for this. You will use the DNS name in this parameter instead of the hostname.
    From what you explained, you will need at least two DNS's
    In -port, use the dns name for the CMS (the DNS MUST match the IP address of the server where the CMS run if you want it to work)
    In EVERY services, you will need to change the -ns parameter to match the DNS name other registration will fail.
    Client tools will have to use the DNS or clustername.
    From my tests, DONT change -name. If you manage to do so, feel free to tell us more about it.
    --- Cluster name ---
    For that bit, I'll give the quick information, but the reference is the documentation.
    What follows is for tomcat. However, as stated above, the documentation explains pretty well how to achieve this for IIS too and you just need to replace hostname by fqdn in every bit that tells you how to configure this.
    For the name visible on the logon page on InfoView, it is in the web.xml Note: you can set the default name to the cluster name and even hide the CMS name if you want. (tomcat/webapps/businessobjects/enterprise115/desktoplaunch/web-inf/web.xml)
    The default value for the cms should be there, and a specific part is commented for the cluster names. If you want to use the clustername as the default value, you'll need to uncomment the part for it and fill in the required information (ClusterName and CMS DNS names) and then change the default value. This is required because Tomcat doesnt know how to resolve the clustername otherwise.
    Same thing goes for the CMC: (tomcat/webapps/businessobjects/enterprise115/adminlaunch/web-inf/web.xml)
    Restart Tomcat and BO and you have a fully DNS compliant BO server with a cluster name based on the DNS.
    Let us know how it goes.
    Cheers,

  • Redevelop oracle forms login screen in adf

    hi i have the login screen in my oracle forms application which do the following
    -able the user to login in the application,by the username,password which are store in the table
    -in my screen i got the following username and password column and the login button.
    -the login button got two trigger> when-button-pressed and when-new-item-instance
    -i also have an option for new user to type new password and confirm the password when they start,every new user got default password and is force to change the password before login in the application
    -when the application start it does not show the new password column only if the user is new and when user password has been resert which is done by system admistrator.
    -i have one screen which list all the user in the application where system administrator can resert the password by clicking the button
    -i also have change password button which come if the user is new under this button i only have one trigger when-button-pressed which got
    -the user is the only person who enter the new password the system admistrator only resert the password he does not have option to enter new password
    if :logon.pwd is null then
    sms_code.error_message('SMS-'||to_char(0000002)||': '||'Password must be specified','', 'E', 'SMS');
    end if;
    login_pwd_title;
    perform_sdms_new_password;
    under my when-button-pressed trigger i got
    :logon.logon_ind := 1;
    perform_sdms_logon;
    and under my when-new-item-instance trigger i got
    if nvl(:logon.logon_ind,0) = 1 then
         :logon.logon_ind := 0;
    else     
    if :logon.usr_id is not null
    and :logon.pwd is not null then
    :logon.logon_ind :=1;
    perform_sdms_logon;
    end if;
    end if;
    and my perform_sdms_logon sp is below. which is in the form programm unit
    PROCEDURE perform_sdms_logon IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd sms_users.pwd%type;
    pwd_dt date;
    pwd_dt_period integer;
    sysdt date;
    msg_lvl varchar2(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    -- and pwd = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
         :system.message_level := 15;
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         commit;
         :system.message_level := msg_lvl;
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    else
         if fail_cnt > 0 then
         update sms_users
         set login_failure_count = 0
         where id = usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Reset Failed count'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    end if;           
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    end if;
    if trunc(pwd_dt + pwd_dt_period) < sysdt then
         login_pwd_title;
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Expired'
    ,:logon.usr_id
    ,'Password use Expired'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password Expired. Please change password.';
    sms_code.error_message('SMS-'||to_char(0000004)||': '||error_message,'', 'E', 'SMS');
    end if;      
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    END;
    and my validate_usr_profiles is
    PROCEDURE validate_usr_profiles (i_usr varchar2) IS
    cnt number := 0;
    clnt_user varchar2(80);
    clnt_ip_addr varchar2(30);
    clnt_host_name varchar2(80);
    novell_user number;
    single_terminal number;
    found boolean;
    l_usr_id integer;
    BEGIN
    select count(*) ,usr.id
    into cnt,l_usr_id
    from sms_user_roles urol
    ,sms_users usr
    where user_id = i_usr
    and usr.id = usr_id
    group by usr.id
    if cnt = 0 then
         sms_code.error_message('SMS-'||to_char(0000020)||':No profiles have been granted.', '', 'E', 'SMS');
         exit_form;
    end if;     
    novell_user := sms_global.ref_code('SMS','NOVELL_USER',1,1);
    if novell_user = 1 then
         if lower(:global.clnt_user) <> lower(i_usr) then
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,i_usr ||':'||novell_user
    ,'Not Novell User'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000019)||':User id not same as Host User.', clnt_user, 'E', 'SMS');
         end if;
    end if;      
    single_terminal := sms_global.ref_code('SMS','SINGLE_TERMINAL',1,1);
    if single_terminal = 1 then
         found := false;
         for c_uscon in (select * from sms_user_session_controls
         where usr_id = l_usr_id ) loop
         found := true;      
         if c_uscon.status = 0 then -- not logged on
         update sms_user_session_controls
         set status = 1
         ,status_date = sysdate
         ,computer_name = :global.clnt_host_name
         ,ip_addr = :global.clnt_ip_addr
         ,connections = 1
         where usr_id = l_usr_id
         commit;
         else
         if c_uscon.computer_name = :global.clnt_host_name
         and c_uscon.ip_addr = :global.clnt_ip_addr then
         update sms_user_session_controls
         set status_date = sysdate
         ,connections = connections + 1
         where usr_id = l_usr_id
         commit;
         else
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,c_uscon.computer_name ||':'||:global.clnt_host_name||':'||c_uscon.ip_addr||':'||:global.clnt_ip_addr
    ,'Multiple Session Failure'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000021)||':User Logged onto computer ', c_uscon.computer_name, 'E', 'SMS');
         end if;
         end if;
    end loop;
         if not found then
              insert into sms_user_session_controls
              (usr_id,computer_name,ip_addr,status,status_date,connections)
              values
              (l_usr_id,:global.clnt_host_name,:global.clnt_ip_addr,1,sysdate,1);
              commit;
         end if;
    end if;      
    check_application_system;
    END;
    if there is more information you like from me ,you can ask
    my login_pwd_title sp is
    PROCEDURE login_pwd_title IS
    BEGIN
    set_item_property('logon.CHANGE_PWD',label,'Login & Change Password');
    END;
    and my perform_sdms_new_password sp ;
    PROCEDURE perform_sdms_new_password IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd_dt date;
    pwd varchar2(50);
    pwd_dt_period integer;
    pwd_history sms_users.pwd_history%type;
    sysdt date;
    pwd_length integer;
    pwd_special integer;
    pwd_numeric integer;
    pwd_alpha integer;
    pwd_list integer;
    o_aplha integer;
    o_number integer;
    o_special integer;
    new_pwd sms_users.pwd%type;
    prev_pwd sms_users.pwd%type;
    new_pwd_history sms_users.pwd_history%type;
    msg_lvl varchar(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,pwd_history,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    --and   pwd     = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;     
    if get_item_property('logon.new_pwd1',visible) = 'FALSE' then
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
    else
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,pwd_history,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,' Password can only change after a successful logon', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
         error_message := 'Logon to SMS Denied';
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
                        sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.new_pwd1 is null then
         error_message := 'New Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000005)||': '||error_message,'', 'E', 'SMS');
    end if;      
    pwd_length := sms_global.ref_code('SMS','PWD_LENGTH',6,1);
    pwd_special := sms_global.ref_code('SMS','PWD_SPECIAL',1,1);
    pwd_numeric := sms_global.ref_code('SMS','PWD_NUMERIC',1,1);
    pwd_alpha := sms_global.ref_code('SMS','PWD_ALPHA',1,1);
    pwd_list := sms_global.ref_code('SMS','PWD_LIST',24,1);
    if length(:logon.new_pwd1) < pwd_length then
         error_message := 'New Password must be of length ';
    sms_code.error_message('SMS-'||to_char(0000009)||': '||error_message,' ' || pwd_length ||' characters', 'E', 'SMS');
    end if;
    find_special(:logon.new_pwd1,o_aplha,o_number,o_special);
    if o_special < pwd_special then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000010)||': '||error_message,' ' || pwd_special ||' special characters', 'E', 'SMS');
    end if;      
    if o_number < pwd_numeric then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_numeric ||' numeric(s)', 'E', 'SMS');
    end if;      
    if o_aplha < pwd_alpha then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_alpha ||' alphabetic charater(s)', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 = :logon.pwd then
         error_message := 'New Password can not be the same as old password';
    sms_code.error_message('SMS-'||to_char(0000006)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 <> nvl(:logon.new_pwd2,:logon.pwd) then
         error_message := 'New password are not equal values - retry';
    sms_code.error_message('SMS-'||to_char(0000007)||': '||error_message,'', 'E', 'SMS');
    end if;      
    for i in 1..pwd_list loop
         if utility.get_field(i,pwd_history||'~~','~') is null then
              exit;
         end if;
    prev_pwd := sms_secure.decrypt('USR',usr_id,utility.get_field(i,pwd_history,'~'));
         if :logon.new_pwd1 = prev_pwd then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Used'
    ,:logon.usr_id
    ,'Password have been used'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'New password was found in history list - retry';
    sms_code.error_message('SMS-'||to_char(0000012)||': '||error_message,'', 'E', 'SMS');
    end if;           
    end loop;
    new_pwd := sms_secure.crypt('USR',usr_id,:logon.new_pwd1);
    new_pwd_history := utility.put_hash(pwd_list,'~');
    for i in 1..pwd_list loop
         new_pwd_history := utility.put_field(i+1,utility.get_field(i,pwd_history,'~'),new_pwd_history,'~');
    end loop;
    new_pwd_history := utility.put_field(1,new_pwd,new_pwd_history,'~');
    update sms_users
    set pwd = new_pwd
    ,pwd_history = new_pwd_history
    ,pwd_change_dt = sysdate
    where user_id = :logon.usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Change'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    commit;
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    end if;
    END;
    i hope this will make it clear of what am trying to achive your help will be appriciated
    Edited by: user603350 on 2012/01/04 10:48 AM

    On your login page have 2 fields for username and password. On the button click call a AM Impl method which calls your above procedure passing the required fields.
    This is the way you can call a prodecure/function from AM IMPL
    cstmt = getDBTransaction().createCallableStatement("{call pkg.procedurename(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}", getDBTransaction().DEFAULT);

  • How to hide some columns in FBCJ tcode

    hi experts,
    is it possible to hide some columns in FBCJ for some particular user ids.
    i want to display only these following columns for some particular user ids. I tried configuration button exists on right corner of table above scroll bar by changing administrator settings.
    But it is reflecting for all user ids.
    I want to reflect  changes for some particular user ids.
    1. business trnsaction
    2. amount
    3.Document status
    4. g/l account
    4. Receipt Recipient
    6. text
    7. vendor
    8. Reference
    9. company code
    10. cost center
    11. profit center
    12. additional text1
    13. additional text 2.
    I came to know by using screen variants we can achieve this.
    But i dont know how to proceed.
    Kindly provide steps to make changes.
    thanks & regards,
    Hari priya

    Hi,
    Check out this link.Probably this would be useful.
    http://www.madeitsimple.com/technology/sap-abap-transaction-variants/
    Thanks
    Papiya

  • MBP running Mac OSX Leopard 10.5.8 cannot get past login screen even in safe boot

    Help!  I have a Macbook Pro purchased in 2009, running Mac OSX Leopard 10.5.8 which froze while running Adobe Illustrator.  On reboot, it won't allow me to go past the login screen.  I tried starting up from the disc, running disk verification and repair and repairing disk permissions, and trying to start up in safe boot, all to no avail.  When the login screen comes up it gives the name of my hard drive with a (2) after it, which seems strange.  Any suggestions short of reinstalling the system software?  I don't want to lose my applications/data!

    AnointedOne wrote:
    My 1 year old MBP running OSX has got more sluggish. The little multicolored spinning timer wheel keeps appearing a lot more now, and I hate it! My MBP takes drastically longer to boot when i turn it on as opposed to when I just got it. My web pages take a long time to load. Can anyone help me? WHat can I do to speed up my MBP. I am a novice mac user. Again my mac is getting slower by the day and i dont know how to increase its overall performance. Is there any simple software that can boost overall performance or will I have to reformat my MBP? I have a 200gb HD with 50 gb free and 4 gb of ram.
    Welcome to Apple's discussion groups.
    Launch the Activity Monitor utility. Pull down the list near the top and set it to "All Processes". Click on the "CPU" column heading to put the highest CPU consumers at the top. Also click on the "CPU" tab in the lower part of the window to check the value for "% Idle". If that value is much above zero, check the other categories for signs of resource problems. If nothing there points to a possible problem, launch the Console utility and look for messages that might suggest a problem. If you see messages that you have trouble interpreting, post them here and someone should be able to help.

Maybe you are looking for

  • Photos look great edited in LR 3 but extremely grainy when printed

    I said I would take photos at a friends wedding and now I just want to cry. I edited raw photos in LR3 - they look great in LR. I export them to a folder and they still look great on a large screen. But then I sent them off to print. It wasn't so muc

  • July 2007 Mac Pro

    Currently I have the ATI RadeonX1900 card installed and I see that Snow Leopard needs a better card to support the new graphics features. The cards that you need all seem to be for 2008 & 2009 Mac Pros. Is there an alternative for the July 2007 Quad

  • How many databases can run in a server

    How many databases can run in a server, how can we find how many databases are running there – in OS level for UNIX

  • How to add disk partition wizard in MDT 2013?

    Is it possible to add a step in a task sequence or otherwise, so the installation procedure will popup a disk partition wizard, just like when installing Windows 7 from a DVD?

  • Some issues about tpacall

    1. In server side, I found that the return value of tpacall is different every time, that is the return value add one at a time, but their addresses are the same. Could someone explain that? 2. The last parameter of tpacall() and tpcall() is flag, wh