Hello Sameer,
I hope your using standard domain for custom data element.if yes it will work.please see below screen shots.
in table output we have two different views.
SE16 standard list output
same output if you can display using alv grid,you will not be able to see leading zeros.but while fetching data you will get with leading zeros only.
Thanks
Praveen