Hi Nabheet,
She is right, I was faced the same situation in earlier. It works in Quality and not working in DEV.
Finally we found that some support packs issue
It is very difficult to trace the error. finally, I have placed the leading zeros of the field, it worked in all systems.
Rg, Kiran