Skip to Content
0
Former Member
Dec 05, 2011 at 01:10 PM

Lexicographical material number conversions using CONVERSION_EXIT_ALPHA_OUT

202 Views

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

03451214214

0123324

0871 etc

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

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'

EXPORTING

input = lv_mat18

IMPORTING

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.

Regards

Niveditha