Skip to Content
author's profile photo Former Member
Former Member

Serial numbers missing leading zero's

Hi,

My client has a requirement to create Serial Numbers with leading zeros's - an example being 0021123 but when SAP creates the Serial Number the leading zero's are removed hence 21123 is created.

Would BAPI MB_MIGO_ITEM_BADI. for MIGO transaction provide this facility?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 15, 2011 at 06:53 PM

    You might have to implement enhancement in the following function modules

    CONVERSION_EXIT_GERNR_INPUT (this one pads the leading zeros to the SERNR field if the data is numeric to fill all the 18 characters)

    CONVERSION_EXIT_GERNR_OUTPUT (this one hides the padded leading zeros while displaying)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 10:09 PM

    Hi,

    Check this link: [Serial Numbers starting with zero|http://www.sapfans.com/forums/viewtopic.php?t=237163]

    Should solve your problem!

    Reetesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2011 at 01:00 AM

    Serial numbers with leading zeros are not supported within SAP standard.

    Only in industry solution DIMP (ADEC), this functionality could be achieved by applying the modification note 198285.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.