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

Lexicographical material number conversions using CONVERSION_EXIT_ALPHA_OUT

Hello All,

I am facing a issue with material number conversion with the std function module CONVERSION_EXIT_ALPHA_OUTPUT.

Customer has configured the material number in a Lexicographical format with leading zeros.Hence the range defined is

Material No. Length 18

Material Number Template

Lexicographical Leading Zeros

with material examples as



0871 etc

Now due in process of F4 search help with selection criteria the the following code is encountered(web dynpro search help) :



input = lv_mat18


output = lv_mat40.

The conversion leads to a output 123324,3451214214

123324 etc..whereas its not the requirement... how can this be handled..??

the same function is required for other type of materials(eg :material number with alpha numeric characters) which have a different configuration...

Please let me know the handling!

Thank you.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2011 at 01:48 PM


    In this case FM CONVERSION_EXIT_ALPHA_OUTPUT will not help. Since this eliminates leading zero`s.

    You if you know you would not need '123324' from 123324,3451214214 what you can do is use off set.

    matnr +6(10).


    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.