Urgent -- User responsiblity end dates
Hi,
Needed some clarification about end dating some responsibilities.
I am given this huge excel mentioning around 1000's of users of various responsibilities which we need to end date.
In case all the users under a responsibilty are to be end dated the entire responsibilty can be end dated.
Going manually is very difficult so wanted to confirm the tables that apps affects while doing the same through front end.
How much i know they are fnd_user ,fnd_user_resp_groups
and fnd_responsibility.
Would be a great help if somebody can confirm this ASAP as this is quite urgent.
Regards,
Neelam
Neelam,
Do you want to end date or want to end date users after a specific time period?
Both of then can be end dated either manually or using a custom package( Create a custom packege, register the same with Apps and run the same)
Hope this will be of help.. do let me know in case of further help..
Thanks
Yogi
[email protected]
Needed some clarification about end dating some responsibilities.
I am given this huge excel mentioning around 1000's of users of various responsibilities which we need to end date.
In case all the users under a responsibilty are to be end dated the entire responsibilty can be end dated.
Going manually is very difficult so wanted to confirm the tables that apps affects while doing the same through front end.
How much i know they are fnd_user ,fnd_user_resp_groups
and fnd_responsibility.
Would be a great help if somebody can confirm this ASAP as this is quite urgent.
Similar Messages
-
Behaviour of "Disable/Delete User After End Date" Task
Hi Expert,
We ran the given OOTB task "Disable/Delete User After End Date" and the behavior is always delete. How,if possible, to change the behavior to disable?
Thanks in advance.
SKIn order to change the behavior, you have to set the system manager preference called "Period to Delay User Delete" to something bigger than the task will make the user disabled and will automatically delete them at a future date.
-
Hello Gurus,
I required a script which will check the END_DATE of the responsibilities assigned of a particular user.
Also how can I extend the END_DATE of the assigned responsibility from backend.
Please suggest.
Thanks-
Pokhraj DasHello Gurus,
I ran the below sql to check the end of any responsibilities.
=================
select a.USER_NAME, a.EMPLOYEE_ID, b.RESPONSIBILITY_ID, c.RESPONSIBILITY_NAME, b.START_DATE, b.END_DATE from apps.FND_USER a, apps.FND_USER_RESP_GROUPS b, apps.FND_RESPONSIBILITY_VL c where a.USER_ID=b.USER_ID and b.RESPONSIBILITY_ID=c.RESPONSIBILITY_ID
and user_name = UPPER('&user_name');
===========
From the above query NO END_DATE is showing so far/
But when I am checking from FROENT_END it is showing the responsibility end date as 10-Sep-2013.
Please help to fix the issue.
Regards-
Pokhraj Das -
Urgent-change the end date for a existing wage type.
Hi,
Can u pls let us know how to change the end date for a existing wage type.
The current end date is 30.8.2008 and we would like to change to 31.12.9999.
Rgds,Use This report RPCLGV00
The Wage Type Distribution report enables you to display wage types for several payroll periods. It does not take into consideration differences resulting from retroactive payroll. The report shows the current values (number and amount) for each wage type. The report evaluates the payroll records that are marked with update indicator A when the report is run. Subsequent reporting runs may not give the same result if - in the intervening period - retroactive payroll has taken place for the evaluation period. The wage type distribution uses the data from the results table RT for the relevant payroll result. The employees organizational assignment is also evaluated from the payroll result. This data is taken from the Work Center Basic Pay table (WPBP).
The wage type distribution offers you the following options for evaluation:
Individual reporting for a specific personnel number or name.
Totals evaluation without specifying a personnel number or name.
You cannot use wage type distribution to run a report for several countries. You can only select payroll areas from one country for reporting.
Scope of Function
You use the following parameters to determine how the appearance of the wage type statement:
Wage type for evaluation
Enter all wage types that are to be evaluated. If you do not make an entry here, the system selects all wage types. Note that you can only select wage types that occur in the RT table.
Evaluation start date
Evaluation start date and evaluation end date define the evaluation period. Enter the year and payroll period for the start of the evaluation.
Evaluation end date
This parameter delimits the evaluation period. If you do not make an entry here, only the period from the period from the parameter Evaluation start date is evaluated. -
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. -
Urgent ! Exit code to calculate End Date (31/12/9999) to Current system Dat
Dear All,
I have a scenario where i need to calculate Position time hold by an employee in an organisation.
I have 2 date Char ( DATE FROM & DATE TO), the problem is that is , If an employee is having
2/3 position in an organisation its current position End Date is always 31.12.999 as its End date is
not know. For previous position End Date is maintained.
My requirement is to calculate Position hold time including Current position.
I have created 2 Formula Variable on Date From & Date To,
The issue is that Date To is having both Values Previous Position Date thats ok as its not 31/12/9999
I am geting those values in Forumla in addition its also having Date For Current position as 31/12/9999
which should be converdet in to current system date.
I need to write a User Exit on End Date Forumla Variable which should only convert if Date = 31/12/9999
else leave it as it.
For EX,
EndDate
1/1/2005
1/1/2006
31/12/9999(Only this value need to convert as current system date and leave above valuse as it)
Can any one please provide me the code for this, this is v urgent.
Thanks V V much.
Regards,Hi Dilek,
I now understand what you were writing.
I played around a bit and it still doesn't work like I want to.
The really strange thing is when I adapt an existing (SAP - standard) dynamic action (for another IT) the 'calculation part' is performed and with my own attempt it doesn't substract the day.
0442 BEGDA 06 10 P T001P-MOLGA='05'
0442 BEGDA 06 20 I MOD,0014,1539
0442 BEGDA 06 30 W P0014-ENDDA=P0442-BEGDA
0442 BEGDA 06 50 W P0014-VTROP='-'
0442 BEGDA 06 55 W P0014-VTRAN='1'
0442 BEGDA 06 60 W P0014-VTRZH='010'
If IT0442 is created or changed, IT0014 with subtype/wagetype 1539 should be delimited with enddate = (startdate IT0442 -/- 1 day)
If you can have a look whether I mak e an obvious mistake, it's appreciated.
In the meantime I'll fiddle around as well at my end.....
Thanks,
Wilfred. -
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?
RegardsHi
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. -
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> -
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.
ThanksOnly 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. -
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
DonHi 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
-
Iphoto keeps freezing up and events do not show photos, missing photos, constant crashes
I have a recurring issue that is causing major headaches. It involves iPhoto (9.4.3 the latest version currently) and I noticed that photos and videos I had imported seemed to be missing. I started looking deeper and there were photos and specificall
-
my MAc Book PRO 13" Retina display will not update. It crashes every time I try to do an update. I have sent in the information on each update but so far nothing back from Apple. Also it does not matter what I am trying to update, the operating sy
-
Error on creation of Materialized view
Hi all, how are u? :-D Well, I´m trying to use MATERIALIZED VIEW with refresh fast, when first I grant permissions on the table action to an user, after I create the MATERIALIZED VIEW LOG on the master and, finally, I create the MATERIALIZED VIEW on
-
Custom Transaction for maintenance with conditions
Hi all, My requirement is to create in SE93 a generic transaction with a call to sm30, with skip first screen edit mode. It's easy! Now I've to enter a conditions on a field of table maintened, to grant the view/add/modify of only a subset of records
-
Even Based XML Parsing in ABAP
Hi all , Currently i am using DOM Based Parsing to parse XML in my ABAP program. i am planning to change the code by using Event based parsing which is recommended for perfomance when we parse large xml document Any one have the Example program for