Hi Manish,
1) Set the profile parameter login/no_sapstar_user = 0 in instance profile
2) Login to database using Sqlplus
3) Run the command delete from <SAPSCHEMA>.USR02 where BNAME='SAP*' and MANDT=000;
4) Take R3 restart
5) Login to client 000 with user SAP* ( password is pass).
6) reset the password for DDIC. Ensure DDIC is unlocked
7) Recheck login with DDIC with new password in client 000.
8) Retry the step from SAPINST.
Hope this helps.
Regards,
Deepak Kori