‎2013 Jun 17 11:14 PM
Hi,
I have a question on functional module.
I have Developement and Quality.
I am passing a Material number with padding zeros in development and I get returned values..
If I am passing a material number with padding zeros in quality and it does'nt return values but if I remove the padding zeros it works...
What could be different ..I thank you for help..
Thanks,
Mark
‎2013 Jun 18 1:42 AM
Hi Mark,
Are you testing this FM in SE37/SE80 or in a program? If in a programa, do as Ravi says. If in SE37/Se80, go to menu utilities->settings, then go to Function Builder tab. Make sure the checkbox "Switch off conversion exits while testing" is the same (either checked or unchecked) in both systems
Cheers,
Custodio
‎2013 Jun 18 1:41 AM
HI,
What function module you are using did any changes made in development system to that particular FM,Compare version management. This is because of conversion routine " CONVERSION_EXIT_MATN1_INPUT" " CONVERSION_EXIT_MATN1_OUTPUT" used before passing this input value to the function module. It automatically removes or adds zero before the material number.
Go to se11->type matnr in database table,click display=>Double click on data type it will shows the Domain,Double click it again you will get the convertion routines MATN1 for MATNR now double click it you can get the FM.
Use this 2 FM in SE37,Pass material number with zero and without zero you will get the difference.
Regards,
Ravi Shankar L
‎2013 Jun 18 1:42 AM
Hi Mark,
Are you testing this FM in SE37/SE80 or in a program? If in a programa, do as Ravi says. If in SE37/Se80, go to menu utilities->settings, then go to Function Builder tab. Make sure the checkbox "Switch off conversion exits while testing" is the same (either checked or unchecked) in both systems
Cheers,
Custodio
‎2013 Jun 18 4:33 AM
I tried doing it..but still has the same issue..
It dint fix the issue..I tried both checking in and checking out...
‎2013 Jun 20 10:45 AM
‎2013 Jun 18 3:27 AM
‎2013 Jun 18 8:56 AM
Hi Mark,
Go to transaction OMSL.
Make sure the settings are same in Development and Quality.
(Most probably Lexicographical will be checked in one system and unchecked in other. )
To explain what each setting does,
The Material Number is the Maximum length of the material number that can be entered or displayed. That would usually be10 or 18. That should be same for both.
Lexicographical indicator defines the way numeric material numbers are stored in database. If this is not set, material number will be padded with zeroes acc to the max length defined above. If it is set, material number is stored as entered, left justified.
If leading zeroes is set, the material number will be displayed with leading zeroes till the defined length.
This will solve the issue.