‎2012 Feb 14 7:24 AM
Hi All,
I am using BAPI_USER_CHANGE for updating user parameter ID's for example if i need to change company code for the user i am giving the inputs for USERNAME = xyz i am passing the value of X for PARVA in parameterx structure as i only need to change the value of user PID and for PARAMETER1 in tables i am passing PARID = BUK and PARVA = 1000 but it is not updating the PID. I also tried passing X to PARID additionally the issue is all my PID's are deleted and only single PID BUK is updated.
Any one please help me in resolving the issue of how can i successfully update PID without disturbing the rest of PID's
Thanks&Regards,
Praveen
‎2012 Feb 14 8:07 AM
Please check if PARVA = '1000' is exiting in T001 table are not.
Regards,
Mufee
‎2012 Feb 14 8:17 AM
Hi,
1. Try selecting all the PARID, PARVA and PARTXT from the user master.
2. Append the new PARID, PARVA and PARTXT along with this selected internal table values.
3. Now update the user master by calling the FM - "BAPI_USER_CHANGE" with the values PARID = X, PARVA = X and PARTXT = X in PARAMETERX structure.
‎2012 Feb 14 8:52 AM
Hello Harish,
Thanks for your quick reply.
When i check all the parameters in parametrX input structure all the other PID's got deleted and only the updated parameter i.e, BUK is updated . please correct me where i am going wrong
‎2012 Feb 16 2:32 PM