Hi Ganesh,
Please check BAPI_USER_CHANGE which is the function module used to change user password, which can be used for building custom application.
Complete explanation can be found here in BAPI_USER_CHANGE - any alternative thread.
Thank You,
Harsha