Implement as in Apps USER form

Hi all,
I am required to change the password like in oracle apps Sysadmin>user
with same as username and password text items only.
In password text item
When -validate- item trigger I wrote
PACKAGE BODY change_pwd IS
first_entry varchar2(30);
procedure Init_Password_Field is
begin
first_entry := NULL;
-- Set required status of user_password field. Pwd is required
-- if new record
if (:system.record_status in ('NEW', 'INSERT')) then
-- New record, required and enabled.
set_item_property('GP_USERs.NEW_PWD',
                    REQUIRED, PROPERTY_ON);
set_item_property('GP_USERs.NEW_PWD',
                    ENABLED, PROPERTY_ON);
else
-- Query record. Never required, enabled only if not
-- not an externally managed user.
set_item_property('GP_USERs.NEW_PWD',
REQUIRED, PROPERTY_OFF);
/*if (fnd_user_pkg.isPasswordChangeable(:user.user_name)) then
App_Item_Property.set_property('USER.USER_PASSWORD',
ENABLED, PROPERTY_ON);
else
App_Item_Property.set_property('USER.USER_PASSWORD',
ENABLED, PROPERTY_OFF);
     end if;*/
end if;
end Init_Password_Field;
Procedure change_password is
pwdlen number;
begin
-- If nothing entered, do nothing
if (:gp_users.new_pwd is NULL) then
     return;
end if;
-- Force re-entry first time password is entered
if (first_entry is NULL) then
-- Call custom package to do any custom password inspection.
copy('', 'GLOBAL.USER_NAME');
copy(:gp_users.new_pwd, 'GLOBAL.USER_PASSWORD');
begin
null;
exception
when form_trigger_failure then
-- Some error raised. Clear password and fail validation.
erase('GLOBAL.USER_NAME');
erase('GLOBAL.USER_PASSWORD');
:gp_users.new_pwd := '';
when others then
-- Some error raised. Clear password and fail validation.
erase('GLOBAL.USER_NAME');
erase('GLOBAL.USER_PASSWORD');
:gp_users.new_pwd := '';
raise form_trigger_failure;
end;
erase('GLOBAL.USER_NAME');
erase('GLOBAL.USER_PASSWORD');
     Message('Re-enter Your Password to verify');
     first_entry := :gp_users.new_pwd;
     :gp_users.new_pwd := NULL;
set_item_property('gp_users.new_pwd',
               REQUIRED, PROPERTY_ON);
     raise Form_Trigger_Failure;
end if;
-- Second entry differs from first - error out
if (first_entry != :gp_users.new_pwd) then
Message('Please reenter correct password');
Message(' ');
          :gp_users.new_pwd := NULL;
     Init_Password_Field;
raise Form_Trigger_Failure;
end if;
-- Two entries match - encrypt new password
--IF :system.record_status = 'CHANGED' THEN
FORMS_DDL('ALTER USER ' ||:gp_users.username|| ' IDENTIFIED BY ' ||:gp_users.new_pwd);
if (not Form_Success) then
     :gp_users.new_pwd := NULL;
Init_Password_Field;
     raise Form_Trigger_Failure;
end if;
-- Clear entries and turn off required if valid pwd found
:gp_users.new_pwd := NULL;
set_item_property('gp_users.new_pwd',
               REQUIRED, PROPERTY_OFF);
-- Reset password_date field to null to force password
-- expiration the next time user logs on.
end;
end;
When I write this code user password is changed because of alter command with out Save.
Requirement is
Save new password when ever i saved.
I implement forms_ddl inseveral ways ( key-commit and on-update) but password not altered.
But when i implement forms_ddl like above it altered,but alter only when ever saved
Thanks,
Bhujendra

Hi Guys!
if anyone can help me with this problem, I would be really grateful.
When I first used the "Disabled" Property, I saw that my data fields were being Nulled (that is, when I refresh the page, all the input-data disappears, and I am left with an EMPTY FORM)
So, I tried to use the "ReadOnly" property.
However, it did not work for me! Instead, I got the following Java Error : *"Couldn't find method setReadOnly(java.lang.String)..........NoSuchMethodException.............Select.setReadOnly....."*
I know it should work, because other people have used it successfully. So, why is it not working for me??
Is it because my IDM Version is 8.1 ?
Please, help.
Thanks

Similar Messages

  • How to implement Key Flex Fields in new oracle apps custom forms.

    how to impletement key flex fields in oracle apps custom forms
    if any technicle document is there then send me on this forum and also send me on my email id.
    [email protected]
    Thanks & Regards,
    Pranay Patel

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • Oracle APPS Custom form Calendar Control

         Hello,
    I am working on the custom form for Oracle APPS r12, I have selected the calendar control to select the date, and its working fine as far as date selection is concerned, but, when the user selects the date and press OK, then there is another LOV displayed, which does not have any thing to select from, user has to press the cancel or ESC button, I have set the LOV property"Validate from List" to "No" and this has solved the problem, but I want to know what could be creating the problem and whether setting the Validate from list to No is the correct option or not?
    Regards

    Implementing a Calendar in the Oracle EBS is different than in a non-EBS Forms application.  The EBS has it's own framework for this.  I strongly recommend you check out the Oracle Applications Documentation library to learn the correct way to implement a Calendar in your form.  Select your EBS version and then scroll to the *Standards* section and review the following documents:
    Oracle Applications Developer's Guide
    Oracle Applications User Interface Standards for Forms-Based Products
    Oracle Application Framework Personalization Guide
    Craig...

  • Need to send sms to the customer through Oracle Apps Custom form

    Hi All,
    This is sandeep, i have design a Oracle Apps Custom form, i am entering the Customer related date like customer name, number, customer Amount, cheque number, customer phone number, user want, when the user will save that form, so that above information should be send to the particular customer automatically, user entering the only one customer at a time. again user will open the new form and enter the new customer related data for that i have URL provided by the third party.
    Please help me how can i achieve it, and what code i have to write and where.
    it's urgent. kindly reply me as soon as possible
    Thank you in advance
    Regards
    Sandeep
    Edited by: user13014881 on Feb 14, 2012 10:25 PM

    I have resolved that issue my self. now i am able to send transitional messages to the customers.
    Thanks
    Sandeep

  • Web app: How can I make a web app input form post directly to a sub category

    Please, how can I go about this? Some of the ideas coming to my head is to  replace the section I require with the  generated webapp input form code with this:
    <input type="radio" name="CAT_Category" value="{module_category, ID} onclick="javascript: return false;" >2013 /> // Not tested because am not sure of the markup
    Am I on point ? Or is there any other way I can get this done.

    I Trickster, pardon me if am not clear enough. But this is it. I have many BC Categories setup for different web apps. If you use the module {module_categorylist} only. BC will populate all the categories on the BC site, instead of a specific category  relevant to the web app. If it is {module_categorylist, categoryID}, you are telling BC to use the the categories in a specific category.
    When you say that you want to assign a web app item to a sub-category... do you mean the built in BC categories . I want to do this via the web app input form not through the admin.
    Do you have a top-level category that contains all the relevant sub categories that the user could use to classify/categorize the web app item upon submission?  Yea I have a top category that the user could use. It is this top-level category ID, I have used with the categorylist module.
    If you don't want the user to choose the sub-category themselves, how do you plan to derive the sub-category anyway? Thanks again Trickster. You have provided the solution to that with the hidden input field code you shared earlier. The sub-category has been pre setup as usual in BC and the sub-category ID would be used as you instructed in the code. This is intended for another web app that won't require users selecting a category. This is the example you shared:
    <input type="hidden" name="CAT_Category" value="my category ID"/>
    Using my example above I was able to test and have it working (using {module_categorylist} with the SELECT element) on a web app input form and when I submitted the new web app item it was classified in the category I chose. Yes Trickster, it works for me too that way. the web app item was classified perfectly, but if you go to your the web app item submitted at the admin-end, you will discover in that the category the user selected in the front-end is not selected, even though the item was classified
    I have highlighted it here: http://screencast.com/t/dwiXzBFXp
    The option selected  by the user is not captured. It often defaults to the 2012, even when the user selected 2013 and the item has been classified as 2013.
    I hope am more clearer. Thanks for all the effort.

  • "Users " Form Name from "User Definied Field Definition" does not showing

    Hi everyone!
    I start to implement the new SAP Connector on OIM 9.1.0 and one of steps is configure the lookup Lookup.SAP.HRMS.AttributeMapping.
    I need to add more fields beyond those already exists, and in accord to Documentation, I need to create the UDF of these fields, but when I search of "Users" form name form "User Definied Field Definition" option, I receive the follow response:
    "Query Failed: No Record For this Query"
    Thinking about it, I think that necessary create one User Form, but...this form isn't a standard form?
    What I do in scenarios like this?

    Can you share your environment details. Are you trying it out in a newly installed OIM ?_
    Yes, it's a newer fresh installation of OIM 9.10. We use the old version (9.03) in production environment and would like to upgrade to 9.10. This issue occur in a fresh installation in Development Environment.
    The one possible reason for this may be due an improper upgrade to 910X. I actually faced this issue while I was installing/upgrading my OIM. I did the process all over again and it was just perfect. I am not sure that this might be an issue with you or not. But there is simply no othe reason for the Users from not showing uo in the "User Definied Field Definition"._
    If you have taken a fresh backup of the schema just after installation, then import that backup dump and see if you are able to view the Users form. If in case you are not able to view it then your installation / upgrade is corrupt._
    No, we don´t have a fresh dump of environment. We just follow the documentation and all the steps was done without problem. The SAP connector import the fields from the reconciliation using flat IDOC file, just only the standard fields. We need to add newer fields and attributes and after, we face this problem.

  • IDM  :  Customizing User Forms and/or Interfaces

    Good morning.
    Ok, I do not know if this is the right place to post this Issue. But, I can't seem to find any other forum which deals directly with IDM issues (believe it or not, Sun's Website is absolutely USELESS).
    Here's the thing :
    I am currently developing an IDM System.
    The version I am developing is the latest one : IDM 8.1
    I have created the Resources (LDAP and Active Directory), and done the reconciliation. I've performed all the usual and necessary user-operations (create user, edit user, create role, edit role, etc , etc).
    In short, the IDM is working perfectly...............
    ....except for one thing : "Customizing (User) Forms"
    The IDM I've created is intended for various users; some have administrator rights and access, some don't; some are mere users, some are Human Resources, some are IT, etc, etc
    The point is : I want to create different "Forms" and/or "Interfaces" for some of these different users.
    I know the theory behind this : I need to CUSTOMIZE a specific User Form.
    I also know that it is not advisable to modify the Standard XML Forms which come with the IDM package. The advice is to copy the ones you need to modify, and then make the changes to the copies.
    Here's the million-dollar question : HOW CAN I DO THIS?
    I have checked, and re-checked, and browsed every site imaginable --- from Sun, to Google, to Facebook. I have not found a single helpful answer to this question. Everywhere, everyone talks about WHAT needs to be done to create Custom Forms or Interfaces; but nobody cares to say HOW it should be done.
    Including our wonderful Sun Microsystems!
    Could anyone please tell me, in straightforward terms, how to customize Forms, and how to implement these customized forms into the IDM instance ?
    Thank you.

    Please try Directory Servers / Identity Management - Sun Java System Identity Manager forum @ [http://forums.sun.com/forum.jspa?forumID=764]

  • Session holding lock..need to find the apps user holding that SID

    Hello
    in v$lock
    a session is blocking another session..Sid is displayed there
    now i can kill that session if it is holding a lock for too long and i do so too
    But i want to know which apps user was it..there more than 500 users that connect from EBS r12..how would i know whichh user that sid belongs to
    so basically i need to know the apps user holding that SID which is blocking the other session
    Please advice
    Thanks

    Refer to the following links/notes:
    [Which FND_USER is locking that table |http://oracle.anilpassi.com/which-fnd-user-is-locking-that-table-2.html]
    Note: 180683.1 - What is the Supported Method for Releasing a Oracle Application User's Lock on a Table?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=180683.1
    Note: 109061.1 - How to Check Whether an AOL Table is Locked
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=109061.1
    Note: 185762.1 - Script: How To Identify The apps User Using The O/S PID For Forms Users In 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=185762.1

  • Copy an Image from a User form Picture Box to Worksheet Picture Box

    I am new to VBA so apologies in advance...
    I have a user form ("UserForm1") where an image is selected via a command button file dialog function
    and then displayed in a picture box ("RRPPicture").
    When the user clicks another command button to progress ("NextPage1"), I want the image held in ("RRPPicture")
    to automatically be inserted into a fixed cell location or picture box on a Worksheet called ("Report").
    Does anyone have any ideas, is it possible, I really have scoured the forums I know of...
    Many thanks in advance!

    Can't be sure but account verification possibly indicates that an email has been sent to you from OneDrive and you need to confirm and verify by clicking on the link as per the directions in the email and then follow any directions and this verifies
    the account.
    Are you the same person who originally posted the question on this thread and have simply changed your pseudonym?
    In case you require assistance to upload a file to OneDrive:
    Zip your workbooks. Do not just save to OneDrive because the workbooks open with On-Line Excel and the limited functionality with the On-Line version causes problems.
    To Zip a file: In Windows Explorer Right click on the selected file and select Send to -> Compressed (zipped) folder.)
    Do not use 3rd party compression applications because I cannot unzip them. I do not clog up my computer with 3rd party apps when there are perfectly good apps supplied with windows.
    Go to this link.  https://onedrive.live.com
    Use the same login Id and Password that you use for this forum.
    Select Upload in the blue bar across the top and browse to the zipped folder to be uploaded.
    Select Open (or just double click). (Be patient and give it time to display the file after initially seeing the popup indicating it is done.)
    Right click the file on OneDrive and select Share.
    Do NOT fill in the form; Select "Get a Link" on the left side.
    Click the button "Create a Link"
    Click in the box where the link is created and it will highlight.
    Copy the link and paste into your reply on this forum.
    Regards, OssieMac

  • Tabbed User Form

    Hi All,
    I have added a select field under the identity tab of the 'Tabbed User Form'. Once a value is selected i want that value to be displayed under the 'attributes' tab.
    I added the field (xxx) in 'Default user library' and referenced it in 'User Library' just after the accountId field.
    I also referenced it in 'attributes' section of the tabbed user form.
    The field is shwoing up in all the tas of the tabbed user form. I dont know how to get rid of this and just show a label for 'xxxx' in attributes tab.
    Any help is appreciated
    Thanks,

    Hello sungirl,
    Could you please tell me the exact details as to how can we modify Tabbed User Form??
    I neeed to provide custom fields in Tabbed User Form apart from the existing.
    I understand there is referencing happening in Default User Libraray Form and User Library Form. But as you have mentiond, you were able to implement without modiying these.
    Could you please give me the exact forms and places where this can be done?
    I need to get this working ASAP. Please Help.
    Thanks
    Divya

  • How to implement a toolbar to many forms.

    I am developing a an application and made a toolbar, I want that every form I make use this toolbar, How?
    Actually the tool bar is called from a form, how I do to call it from another form to ge only the toolbar, not the form where it is.
    thanks an advance.

    er maybe, heve each form maintain whether it is the "active" form or not.
    Have all Your "WIndows" er forms implement ActionListener Interface
    Make your ToolBar in its own class,
    public class MultiToolbar extends JToolbar
    }Have Method in the MultiToolBar class
    something like this:
    where MyForm is the className of your 'Forms'
    public void  setListener( MyForm inForm )
      // loop over all the buttons on the toolBar
       Button1.addActionListener( inForm );
       Button2.addActionListener( inForm );
      // or however you decide to implement it
    }in your MYForm class:
    public void actionPerformed( ActionEvent e )
        if( ! TestIfIAmTheCurrentForm() )
          return;
       // Handle the action sent by the Toolbar
    }So When User clicks say "Paste From ClipBoard" from the Toolbar
    all the forms get sent an ActionEvent - related to "Paste From Clipboard" however you decide to implement it.
    If the Form is active, perhaps try using something like hasFocus(),
    Then Only That Form acts and does the "Paste" Action
    OR:-
    YOu could make your JFrame or whatever the Toolbar is on,
    decide which form to despatch some message to or something like that.
    If you Mean:
    I have 50 Forms, I want them all to use the same looking Toolbar - but 50 of them.
    make a Toolbar with a constructor that takes an ActionListener:
    public MultiToolBar extends JToolBar
    public MultiToolBar( ActionListener listener )
        //blah
       Button1.addActionListener( listener );
       // and so on.
    }Then each Form that implements ActionListener goes:
       MultiToolBar Fred = new MultiToolBar( this );
       // Set Fred as the Toolbar for this windowI used that approach when I made something that when you click on its toolbar you get a little window with a "thumbnail" Image
    and a Toolbar with 4 Zoom buttons on it.
    I only wanted to write that toolbar once.........

  • Unable to login to specific apps users in R12.1.3

    Dear All,
    We have R12 application running on IBM AIX power on machines.
    Recently we have faced some hardware problem in the server and after replacement of hardware, we are facing this issue.
    "Login failed. Please verify your login information or contact the system administrator."
    The root cause of this issues is specific apps users status are inactive.
    Hence we are unable to change the password also.
    Kindly suggest us to overcome this problem.
    Thanks in Advance,
    Gunasekar K.

    We have tried to reset the password using sysadmin but when retyping password in forms shows as "Login failed. Please verify your login information".
    Was the change saved successfully to the database?
    We have tried to reset the users password using FNDCPASS also but its not showing any error message, even not able to login again.
    For both cases you should find more details about the error in the logs (error_log* and access_log* -- Enable debug as mentioned below).
    Using sysadmin, when we query the specific users information, it shows that status as "INACTIVE" and even these users are not end-dated.
    Are you sure the new password was saved successfully?
    I have crosschecked access.log and error.log, there is no information related error.
    Are there any errors in the database log file? Any invalid objects?
    Please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN (Doc ID 422419.1)) and check the logs then.
    Thanks,
    Hussein

  • Help Pls: how to assign a user form to a non active sync resource adapter

    I need to implement a non active sync resource adapter, such as oracle database or RACF. When a user is assigned a resource by IdM, an account is created on that resource. I want to transform some attributes during the creation, such as pre-padding the accountId with a letter and zeros. My questions are:
    1) I think attribute transformation should be accomplished by user form. is it correct? How do I assign the user form to the non active sync resource?
    2) What workflow/userform should I change to accomplish that?
    Thanks a lot.

    A cleaner option would be to
    1. Create a custom form, which could be derived from the Tabbed User Form.
    2. Create a delegated admin, with account administrator capabilities at the minimum, and required controlled organization, and assign the above form to this delegated admin -- this is on the same page.
    3. Use this form to create IDs on the specific resource.
    Now in this custom form you could have the logic on how to create the ID in the specific resource. In fact you could have different logic for different resource. Check the tech deployment guide for the exact syntax, but the field might be:
    account[Res_Name].identity
    Note that this setting would override the 'Identity Template' setting as defined in the RA configuration.
    And BTW, it would really help if you readup the 'Forms' section in the guide.
    Regards,
    Suveer Chainani

  • How to detect apps users holding locks

    Dear all
    Finding out users holding locks is easy for database and then killing them using alter statement
    But when the Sid is revealed, how can i link them to apps users and find who the user actually was

    Sawwan,
    On my test server, i logged in from a user farid and held a lock on MTL_SYSTEMS_ITEMS_B table through the item master form
    Then i did as follows just to analyze how to find apps username holding the lock
    SQL> select object_id from dba_objects where object_name='MTL_SYSTEM_ITEMS_B';
    OBJECT_ID
    38489
    38715
    SQL> select * from v$lock where id2=38489 or id2=38715;
    no rows selected
    SQL> select * from v$lock where id1=38489 or id1=38715;
    ADDR KADDR SID TY ID1 ID2 LMODE
    REQUEST CTIME BLOCK
    000000009D869FE8 000000009D86A010 347 TM 38489 0 3
    0 165 0
    SQL> select paddr from v$session where sid=347;
    PADDR
    000000009F912AE0
    SQL> select addr,pid from v$process where addr='000000009F912AE0';
    ADDR PID
    000000009F912AE0 57
    SQL> select
    2 d.user_name "User Name",
    3 b.sid SID,b.serial# "Serial#", c.spid "srvPID", a.SPID "ClPID",
    4 to_char(START_TIME,'DD-MON-YY HH:MM:SS') "STime"
    5 from
    6 fnd_logins a, v$session b, v$process c, fnd_user d
    7 where
    8 b.paddr = c.addr
    9 and a.pid=c.pid
    10 and a.spid = b.process
    11 and d.user_id = a.user_id
    12 and a.SPID = &PID;
    Enter value for pid: 57
    old 12: and a.SPID = &PID
    new 12: and a.SPID = 57
    no rows selected
    Now can you plz tell me if all i did was right and the query doesnt work or something i did was wrong in the above action plan

  • How to monitor Apps user

    I have an application user (login as apps owner) hammering the apps/db..using 100% CPU and 19.2% of memory.
    I can get the sid,pid etc from the unix server as shown below from TOP.
    I log into the application and query the Monitor Users form and can see all users and the Oracle process column.
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    10526 applmgr 16 0 1136m 356m 351m R 100 19.2 17:09.88 oracle
    How are the data above from the server and the applications related?
    Is there any other way I can get the resp and what the user is running?
    Thanks

    As you said, you can get the OS PID from top. With that you can feed the following query to get the SID:
    set linesize 120
    column SID format 99999
    column status format a8
    column osuser format a8
    column username format a8
    column COMMAND format 999999
    column MACHINE format a6
    column MODULE format a10
    column SCHEMANAME format a5
    column action format a8
    column LOCKWAIT format a8
    column action format a8
    select s.sid,p.spid os_pid,s.status, s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE,s.SERIAL#, s.SCHEMANAME, s.LOCKWAIT,s.action
    from v$session s, v$process p WHERE s.paddr = p.addr and p.spid = 'your_PID_here';
    With the SID sucked from the last request, you can feed the following query:
    select pid, v$session.sid, v$session.serial#, v$session.username, v$session.program, to_char(logon_time,'dd-mon-yyyy hh:mm:ss'), machine from v$session, v$process where sid = 'your_SID_here' and addr=paddr;
    This should give you the PID of the user which you will hopefully see from the Monitor Users screen.
    You can also do this via Grid Control and its an awful lot easier.
    DA

Maybe you are looking for

  • Creating RFC request in java

    Hi. I have a small issue, creating a RFC call from java. To be specific, I'm updating a table in the backend, using an adapter module. When creating the request using DOM, I get this error: Exception: Exception: error while processing message to remo

  • Help! How to pull data from a database into form

    I have information store in a database and I need to import(place) it onto a form.  The form already has a connection to the database, I just don't know how to update the information on the form with the information that is stored in the database.  C

  • How to Show any SAP R3 Report on widget

    Hi, I just want to display any standard report on widget.But i don't know,please any body guide me with some sample code and idea. Let suppose i want to run MB51 on widget with some default values and the report out will be refreshed on user-defined

  • ITunes match:  my iPhone 4s shows my playlists, but there are no songs!  What's up?

    iTunes match:  my iPhone 4s shows my playlists, but there are no songs!  What's up?

  • Import full to test on SAME host

    Hi, I have two databases(Real, Test), both reside on the SAME HOST Tablespaces: DATA_X on REAL -> Datafile: E:\REAL\RealDataX.dbf Tablespaces: DATA_X on TEST -> Datafile: E:\TEST\TESTDataX.dbf Export from Real is being done with option Full Database.