Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a function module with an export parameter(EX_PSWD_EXPIRED) flag for password expired

0 Kudos

Hi Guys,

I have a requirement to find whether the sap login password for a particular user is expired or not. If the password is expired I need to set the flag EX_PSWD_EXPIRED = 'X'.

Let me know the logic for finding the password expiry or please help me with the table and field.

Regards,

Manojkumar K

1 ACCEPTED SOLUTION

arindam_m
Active Contributor
0 Kudos

Hi,

Please check the FM SUSR_LOGIN_CHECK_RFC

Cheers,

Arindam

6 REPLIES 6

Former Member
0 Kudos

Hi Manoj,

Please check the below link.

Table USR02 Field TRDAT

http://scn.sap.com/thread/1875200

Former Member
0 Kudos

Hi Manoj,

Check this RFC "SUSR_RFC_USER_INTERFACE" , Pass user Name in Import Parameter and Check Export Parameter's "VALID_FROM,VALID_UNTIL".

Regard's

Smruti

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check more about C_SAPGPARAM. Probably, it may help.

arindam_m
Active Contributor
0 Kudos

Hi,

Please check the FM SUSR_LOGIN_CHECK_RFC

Cheers,

Arindam

0 Kudos

Thanks Arindam

arindam_m
Active Contributor
0 Kudos

welcome