Hello Divyanshu,
the problem is in the files shipped by SAP .dbenv.hostname.sh.
Here are used "=~" as bash regex match operators, which can't be interpreted by ksh.
With your solution to rename the profiles the environment for the sidadm and orasid is not correct.
So a better workaround would be to use bash for sidadm and orasid. But this is not a final solution.
Regards,
Julia