SAP Basis, Functional and ABAP Programming Reference Books
MM  - Control the Output Format of your Material Numbers

In OMSL, you can define the following:

1.  Input and output length of material numbers 
    (A material number can have a maximum of 18 characters).

2.  Template for displaying or printing material numbers.
     You indicate with an underscore any position in the material number that you do not want 
     to contain a template character.

3.  Form in which material numbers are stored 

4.  Output with or without leading zeros 

The settings are client independent.

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff