END-DATE FND USERS

Hi
can all the users except sysadmin in FND_USER can be end-dated ?
after that is successfuly login is possible for sysadmin ?

Hi user;
Please check below first, i belive you will find your answer in it:
which users should not be end dated
Re: which users should not be end dated ?
Also check below threads:
We want to disable 100+ users, can we simply update end_date in fnd_user. Or we need to update wf_user_roles etc.
disabling user in FND_USER
Automatically disable user accounts after specific number days Oracle Apps
Re: Automatically disable user accounts after specific number days Oracle Apps
Setting specific timeline for user login in EBS
Re: Setting specific timeline for user login in EBS
To Find Users with end dated responsibilities
Re: SQL Query - To Find Users with end dated responsibilities
Regard
Helios

Similar Messages

  • SQL Query to put end date to user account from Backend.

    We are using Oracle Apps 11.5.10.2. with oracle 9i Database.
    I want to put end date to user account who has left a week ago, (Responsibility ->Sysadmin - Go to : User)
    i cannot give the enddate as sysdate, i need to put the end date (25-JUN-09) from back end.
    I want a query so that the workflow tables also get updated accordingly.
    Regards,
    Jenny

    Yes i can give the back dated end date, but when i check the record history from Front end,
    (Help ---> Record History) These details are not updated , they will show the Updated By : username and Updated Date to sysdate and not the back dated date given.

  • Fnd_user_pkg.updateuser - Remove End Date from Users

    As part of an upgrade, we need to end-date the vast majority of our users.
    I've used the fnd_user_pkg.updateuser API to populate the end_date on the fnd_user table.
    However, when I've come to test removing the end-date, I can't seem to do it. In the example below, the end_date remains populated.
    DECLARE
       CURSOR usercur
       IS
          SELECT fu.user_name
            FROM apps.fnd_user fu
           WHERE user_name = 'TEST_ACCOUNT';
    BEGIN
       FOR myuser IN usercur
       LOOP
          fnd_user_pkg.updateuser(
             x_user_name      => myuser.user_name
           , x_owner          => 'CUST'
           , x_end_date       => NULL
       END LOOP;
    END;On the example on this post:
    http://apps2fusion.com/forums/viewtopic.php?f=99&t=108
    They removed the end-date via:
    x_end_date => SYSDATE + 10000);
    However, that's not really removing the end date, it's just setting it to a long time in the future.
    I wondered if I might be missing something obvious?
    Any advice much appreciated.
    Thanks

    Only obvious thing you are missing is that you have posted this to the wrong forum, you need to be on e-business forum.
    BTW - have you tried re-setting the password at the same time?
    regards,
    Robert.

  • Start and End dates for users in Enterprise portal

    Hi Expert,
    I have to maintain start and end dates for around 200 users in 4 different Java systems. When I export the file of users it does not capture the validity fields. Is there a way/script to automate this? Otherwise I will have to do it manually.

    Hello
    Please check below URL for User Import Format:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/abdd83c3333205e10000000a42189c/content.htm?frameset=/en/48/a96f43db653206e10000000a42189c/frameset.htm&current_toc=/en/43/05e450d1cd6e95e10000000a11466f/plain.htm&node_id=2802&show_children=true#jump2822
    Regards,
    Tapan Goyal

  • Need to add number of days to users end date.

    Hi,
    I have a code where we are adding number of days(30) to current date and then updating user's end date in IDM DB.
    Now we have a requirement where we need to add number of days(30) to existing end date of user instead of adding to current date.
    *public String incrementDate(int daysToAdd)
         // Start date
         log.info("NotifyLastDayOfService::incrementDate(): Enter");
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
         Calendar c = Calendar.getInstance();
         c.add(Calendar.DATE, daysToAdd); // number of days to add
         String newDate = sdf.format(c.getTime());
         log.info("NotifyLastDayOfService::incrementDate(): Exit");
         return newDate;
    Have any body implemented this scenario?
    Please suggest.
    Thanks,
    Kalpana.

    Hi Nayan,
    Here is the code:
    System.out.println("----inside increment date method-----");     
              HashMap<String, String> hm = new HashMap<String, String>();
              HashMap<String,Date> modifyMap=new HashMap<String,Date>();
              SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
              tcResultSet usrList = null;
         String enddate = null;
         hm.put("Users.Key",usrKey );
         try {
         usrList = this.usrIntf.findUsers(hm);
         usrList.goToRow(0);
         Date endDate =usrList.getDate("Users.End Date");
         System.out.println("-----users end date-----"+endDate);
         String userEndDate=sdf.format(endDate);
         System.out.println("-----String value of users end date-----"+userEndDate);
         Calendar cal=null;
         System.out.println("-----Calender date-----"+cal);
         cal.setTime(endDate);
         System.out.println("-----end date-----"+endDate);
    cal.add(Calendar.DATE, Integer.parseInt(daysToAdd)); // number of days to add
    Date newEnddate = cal.getTime();
    System.out.println("-----new end date-----"+newEnddate);
    //usrList.setEndDate(Edate);
    modifyMap.put(userEndDate,newEnddate);
    usrIntf.updateUser(usrList, modifyMap);
    System.out.println("updated user's end date in OIM DB");
    //System.out.println("-----updated user's end date in OIM DB-----");
    logger.info("NotifyLastDayOfService::incrementDate(): Exit");
         System.out.println("-----new date-----");
         } catch (tcAPIException e) {
         logger.error("Error in finding end date for user" + e);
         } catch (tcColumnNotFoundException e) {
         logger.error("Error in finding end date for user" + e);
    In th log file, I can see that the code is not executing this line:
    cal.setTime(endDate);
    end date is of type Date and stores users end date from DB. Please help in resolving this issue.
    Thakns,
    Kalpana.

  • Manager extending user End Date

    I am trying to create a new form in OIM for internal purpose so that a user who is a Manager for other users can go in and change user's end date. He should be able to see only users who he is a Manager of. So I cannot give him access to Users Manage page.
    Is there any existing OIM functionality that I can use for this purpose. Like creating an automated request so that manager can approve it to extend the Date.
    Also If I create a new form for this purpose and use OIM API to update, should I do anything else other than creating jsp and Actions?

    Could be 2 possible solutions:
    - Organization Hierarchy : If you don't have any existing organizations defined then you can use this approach but it would end up in a state where OIM would have huge number of organizations but this would allow you to assign menu item and then only direct reports would be visible to the manager. Could be unmanageable in future.
    - Custom Object/Process Form : Create an object form and have a couple of fields ('User Login' and 'Extended End-Date' where 'User Login' being a lookup type field. Now have dependent look-up defined so that it would only return the direct reports for the logged in user. Select a user and a new end-date, later in *process definition' update the user/contractor with the selected end-date.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Report for Validity Start and End Date in PO

    Dear All
    Is there any report where I can get PO validity start and end date which user input in addtional data header tab of PO?
    Regards
    Satish Kumar

    Hi,
    Yes, It is available standard report using T-code ME2N - Purchasing Document (PO) Per Document Number, enter the T-code and provide the following input data's are as follows.
    Scope of List                 :  ALV ( for Ms-Excel format report)
    Plant                               :   __________ to __________ (if required)
    Document Date              : ____________ to ___________ (if Required)
    Execute the report shown by default in excel format and if required PO validity start and end data, you have to select Change Layout button and open new window options screen right side field option as Validity Per.Start, Validity Period End, Commutative number field data's are selected and click <--- arrow button and then click bottom tick marked button. Now, the report shown your requirement.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • Query to end date all reponsibilities of a user

    Hi,
    One of the user in our 11i has around 120 responsibilities. I wanted to end date them at a time. If you do have a query, pl post here.

    I agree with Kevin, try to avoid updating FND tables and use APIs instead.
    Note: 394784.1 - Is there a Stardard API Which Can be Used to Disable or End Date a Responsibility?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394784.1

  • Allow certain users to capture quotation after bid end date

    Hi
    Is it possible to allow certain users to be able to capture quotation on behalf of suppliers using surrogate bid after the end date has been reached but before the opening date? How would I do this?
    Regards

    Hi
    As the end date and opening date are at the header level common to all bidders/vendors, we cannot manually capture quotation for specific suppliers using surrogate bidding. I dont think there is even a BADI for this.
    Rgds
    Reddy

  • OIM 11g Modify User Profile for Updating End Date

    Hi Gurus!
    We have an OIM implementation where users may request the creation of other users by means of a Create User request template. In this template we set the End Date to be 3 months after the request date.
    In order for the requester to extend the period of a user's OIM user account (along with its provisioned resources) we customized a Modify User Profile by displaying the End Date field and automatically populate it again to 3 months after the request date. Also we developed a custom event handler to enable the user when it is disabled and the End Date is updated to a future date.
    This Modify User Profile is working great when the user is still enabled (the End Date is still in the future), however, when the End Date has passed (and the user is Disabled) the requester is not able to see the user when selecting the Modify User Profile request template.
    Is there a way to allow requesters to also see disabled users in the Modify User Profile request template?
    Thank you in advance.
    Regards,

    Hi Kevin,
    thanks for your reply!
    But, in this case, when the user is already disabled due to his End Date, how can a requester, through the Self Service TAB, enable it?
    The Enable User request template does not work since when trying to enable the user, OIM sees the End Date is already passed and the DataSet validation throws an exception.
    The only way I saw was providing a Modify User Profile Request template to change the End Date and developing a custom event handler to enable the user upon the extension of the End Date...
    How can, in this situation, a requester enable the user and extend its End Date?
    Thank you!
    Regards,

  • Problem in setting user end date from oim to account expiry date in AD process form

    Hi all,
    i am updating the user end date from oim to user account expiry date in ad process form using oim api.
    i am able to get the end date value from oim but when i am setting it using api it through exception but all other attribute i am able to update in process form.
    i am facing the problem only with end date field because of different date format in OIM and  AD .
    so please suggest me what are date format in Active Directory and how can i change the oim date format to Active directory time format in in my java code.

    Thanks for the reply.
    But all iplanet users need not contain end date attribute, and its an update on existing user.
    Can you please ellaborate more on Transformation class..?? example should be helpful.

  • Help-ColdFusion - enabling a user to search for records in a database by entering a startand end date - (CREATEODBCDATE)

    I want to enable a user to enter a start and end date to
    define the period they want to search for records of members who
    joined on certain dates. Funny thing is...I've got it to work half
    of the time. For e.g. I have 4 records between 26/10/2005 and
    1/08/2006. When I enter 01/01/2005 as startDate and 31/08/2006 as
    endDate, I get the 4 records. However, if I alter the endDate to
    01/09/2006 I get every record in the database!!!??? Why's this? I
    can't get my head around it!
    Here's my code:
    First the code for the form the user input the search
    criteria on:
    <html>
    <body>
    <FORM action="memberJDateSearch.cfm" method="post">
    <p>Start Date: <input type="text"
    name="startDate">
    <br>End Date: <input type="text" name="endDate">
    <input type="reset" value="Clear">
    <input type="submit" value="Submit">
    </FORM>
    </body>
    </html>
    Simple enough. Now the code for the process and display page:
    <html>
    <body>
    <cfquery name="memberJDateSearch"
    datasource="jpkelle2-access">
    SELECT *
    From members
    WHERE ((joinDate BETWEEN #CreateODBCDate(startDate)# AND
    #CreateODBCDate(endDate)#))
    </cfquery>
    <table border=1 bgcolor="beige" cellpadding="3"
    cellspacing="0">
    <tr>
    <th>Member ID</th>
    <th>Name</th>
    <th>Sex</th>
    <th>Date of Birth</th>
    <th>Address</th>
    <th>Email</th>
    <th>Date Joined</th>
    </tr>
    <CFOUTPUT Query="memberJDateSearch">
    <tr>
    <td><center>#memberID#<center></td>
    <td width="15%">#forename# #initial#
    #surname#</td>
    <td>#sex#</td>
    <td width="10%">#disp('#dob#')#</td>
    <td>#address#, #town#, #county#, #postCode#</td>
    <td>#email#</td>
    <td width="10%">#disp('#joinDate#')#</td>
    </tr>
    </CFOUTPUT>
    </table>
    <hr><p>End of members list.</p>
    </body>
    </html>
    any ideas? please help me.

    Try formatting your dates first (before the CreateODBCDate
    call). I just tried this on my test page and it worked properly. I
    removed the DateFormat calls, keeping the dates in your format and
    it didn't work. See if something like the following will help:
    <cfset startDate =
    DateFormat("31/01/2006","dd/mm/yyyy")/>
    <cfset endDate =
    DateFormat("01/09/2007","dd/mm/yyyy")/>
    <cfquery name="memberJDateSearch"
    datasource="jpkelle2-access">
    SELECT *
    From members
    WHERE ((joinDate BETWEEN #CreateODBCDate(startDate)# AND
    #CreateODBCDate(endDate)#))
    </cfquery>

  • User not disabled after end date (9i)

    Hi All,
    The Disable after end date schedule task disabled 7 users but did not disable 1 user.
    Any know issue around this.
    Thanks
    Don

    Hi Gyanprakash,
    i can not try disable manually, its in production. The log for disable user is commented in log.properties. Can not change that .
    Just need to analyze, why this user was left out.
    Regards
    Don

  • VA42 user exit to update contract start and end dates at Item level

    Hi  Experts,
                      I need to update contract start and end dates at Item level in 'VA42' transaction, for this i am using user-exit 'USEREXIT_FIELD_MODIFICATION' in the include 'MV45AFZZ'. i am able  to display the data into item level through my coding but the data is not getting updated into 'VEDA'
    Note: No need to change contract start date and end date in header level. Only at item level i want to change dates.
    Thanks,
    Sateesh.

    Thanks For your reply Vikram,
          i tried with 'USEREXIT_MOVE_FIELD_TO_VBAP' user-exit earlier it self its not working. Can you suggest me any another way how we can achieve this functionality. modification of Contract start date and end date in only item level. 
    'USEREXIT_MOVE_FIELD_TO_VBAP':
    FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_MOVE_FIELD_TO_VBAP, Start                                                                                                           A
    *$*$-Start: (3)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1  ZSD_CONT_DATE.    "active version
    DATA : lv_var TYPE CHAR10.
      lv_var = '0040000219'.
      if sy-tcode = 'VA42'.
    IF VBAK-VBELN EQ lv_var.
    VEDA-VBEGDAT = '20140502'.
      XVEDA-UPDKZ = 'X'.
    VEDA-VENDDAT = '20140602'.
      XVEDA-UPDKZ = 'X'.
    ENDIF.
    ENDIF.
    ENDENHANCEMENT.

  • VA42 user exit to update contract start and end dates at header

    Hi.
    My requirement : In VA42, if a user changes a contract end date at item level, I want the change to be reflected at header level automatically.
    I have looked in MV45AFZZ, USEREXIT_SAVE_DOCUMENT and USEREXIT_SAVE_DOCUMENT_PREPARE. I am unable to affect the contract end date in those user exits, whatever I put in VEDA-VENDDAT or XVEDA-VENDDAT or whateverVEDA-VENDDAT, does not have any effect on the actual contract dates.
    Can anyone help?
    Please note that we are running 46C.
    Thank you.

    Thanks For your reply Vikram,
          i tried with 'USEREXIT_MOVE_FIELD_TO_VBAP' user-exit earlier it self its not working. Can you suggest me any another way how we can achieve this functionality. modification of Contract start date and end date in only item level. 
    'USEREXIT_MOVE_FIELD_TO_VBAP':
    FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_MOVE_FIELD_TO_VBAP, Start                                                                                                           A
    *$*$-Start: (3)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1  ZSD_CONT_DATE.    "active version
    DATA : lv_var TYPE CHAR10.
      lv_var = '0040000219'.
      if sy-tcode = 'VA42'.
    IF VBAK-VBELN EQ lv_var.
    VEDA-VBEGDAT = '20140502'.
      XVEDA-UPDKZ = 'X'.
    VEDA-VENDDAT = '20140602'.
      XVEDA-UPDKZ = 'X'.
    ENDIF.
    ENDIF.
    ENDENHANCEMENT.

Maybe you are looking for

  • Ipod touch was working, shut down and will not power up

    Ipod was working. Went dead and will not power up. The unit was charged. I connect it to a charger and I get nothing. Tried the power and home button combo but the unit is not responding. It is less than 6 months old

  • Report Painter -  how to de activate

    Hi All, How to deactivate the "Go to the other report" only for the specified row in Report Paitner in Tcd GRR2/GRR3/GR52/GR53? what is the t.code or path for it to de activate? waiting for your reply, Regards,

  • Question about storage type 902

    Hello Everybody! I´m implementing SAP WM and I have a doubt and is the next one: When I do a material movement, system returns an error if the material is not create in the destiny storage type. On the other hand, I create a purchase order and when I

  • After icloud mail server outage no emails displayed correctly in icloud mail in BROWSER...

    hi! after the outage all is working fine again, BUT in the browser the emails in INPUT are empty with the date 01.01.1970... you can only see the emails where it comes from! cheers....

  • Final cut 5 won't work on lion

    There have been several issues regarding the old Final Cut 5.1 not working on Lion.  Well, here is the solution.  Don't let anyone tell you that your editing software is just "too outdated".  I feel like once you purchase a product.....if you keep th