Hello Sameer,
I hope your using standard domain for custom data element.if yes it will work.please see below screen shots.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
in table output we have two different views.
SE16 standard list output
Image may be NSFW.
Clik here to view.
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.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Thanks
Praveen