Hi all,
I have a requirement where I have to do prefix zeros to material number t o make it standard 18 digit format.
I am getting the value of MAT_NO from an XML file and it is 678. but I need to make it u2018000000000000000678u2019.
If my material no is u20181u2019 I need to make it u2018000000000000000001u2019
If my material no is u20184272323u2019 I need to make it u201800000000004272323u2019.
My material number is not constant and is dynamic and I need to make it to standard 18 digit format by prefixing with zeros.
Do we have a Key word in ABAP to achieve this?
Any help will be highly appreciated.
Regards,
Jessica Sam.