‎2007 Jul 07 10:48 AM
hai ferinds i am using the bap_user_get_detail to get the details of the user , but i want to change soem fields of this that is email id and name , so i am using bapi_user_change to change the details of user and i am entering the new email id in structure addrsmtp it is giving message that it is changing but when i am gettign again the detials it is not fetching
can any one answer my query
thanx in advance
afzal
‎2007 Jul 07 10:50 AM
‎2007 Jul 07 10:50 AM
‎2007 Jul 07 10:52 AM
‎2007 Jul 07 11:01 AM
Hi
Yes you can reset the password for any body using ABAP Code. But for that you really don't need any client number.
If this process is on regular basis, then recommended is to use BAPI for changing the user details Otherwise BDC also works fine.
=> Function Module - BAPI_USER_CHANGE
Call this in the program for resetting the password.
call function 'BAPI_USER_CHANGE'
exporting
username = pw-bname
password = pw_struc
passwordx = pw_strucx
tables
return = return_dummy.=> CALL TRANSACTION 'SU01' USING InternalTable
This will be executed in the BDC of SU01 transaction recording. Use the Password Change button in the application toolbar of transaction while recording.
Reward all helpfull answers
Regards
Pavan
‎2007 Jul 07 10:58 AM
Hi
use 'BAPI_USER_CHANGE' in this way
call function 'BAPI_USER_CHANGE'
exporting
username = pw-bname
password = pw_struc
passwordx = pw_strucx
tables
return = return_dummy.
Regards,
Reward points if helpful
‎2007 Jul 07 11:03 AM
hai azra the thing is that when i am sendiong email using abap program the sender name and email id is picked from default user , but the thing i want is that i want to change email id and detials each time when i am sending to different receivers that is where i am facing the problem if u can find solution reply me
bye
mohammad afzal