Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to read profile parameter (RZ11) to get min password length in a pgm

Hi All,

I am creating a program to reset the passwords of users. It is a table control having user id and password. User ids and the new passwords can be entered there, and passwords can be reset.

I want to put a validation, where it will read the profile parameter (RZ11) and get the min password length (Current value field in RZ11) and populate an error if the password entered is less than the profile value.

How to go about this? Is there any function module to check this?

Thanks in advance.

Regards,

Arun Mohan

Former Member
replied

Hi Arun,

You can use function module RSAN_SYSTEM_PARAMETER_READ by inputing the desired parameter: login/min_password_lng.

If you test in SE37 t-code, thick the checkbox for upercase/lowercase letters.

Kind regards,

Garcia

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question