03-30-2015 10:56 AM
I want to update valid from date field in su01 transaction for 100s of users.
There are many users whose valid from date is not maintained, so I want to copy it from user create date and paste it to valid from date.
And create date is different for all users. Is there any transaction using which I can do this? Or ant SQL script or abap program through which I can achieve this?
Please tell me if any one have any idea..
Thanks.
03-30-2015 2:50 PM
Hi, SECATT or LSMW are your friend here. There are also user management BAPI's that could be pressed into action.
What is the purpose of populating the "from" date? If it is assumed to be the same as the user create date then why not reference that for this set of users?
03-31-2015 6:41 AM
As I am no friend of catt/lsmw, I suggest a select form usr02-erdat and send it to the bapi_user_change, table field logondata-GLTGV.
This will copy the last creation date of the user to the valid-from field.
b.rgds, Bernhard
03-31-2015 7:16 AM
Hi Kartiki,
please validate, that you have no Central User Management (CUM).
I'm not sure what happens, if you set a valid-from date on a CUM master system to a user, who is not valid on this master system.
Without roles on this system this user may not be able to do anything, bit this may have effects on SAP license accounting, if you have more active users.
Regards,
Klaus
03-31-2015 7:38 AM