Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leading Zero in Material Master

Former Member
0 Likes
1,142

Hi,

I am trying to do a simple select query from MAR inside the BADI imp of IDOC_CREATION_CHECK, i get the Material no from segment E1MARAM of IDOC data & fill this in work area & use it

Now in one environment, the material no is coming without leading Zero's in another it is coming with.

What could be the difference in setting /user setting where in one environment it is coming with leading & in one without.

PS: In any way i am going to use CONVERSION_EXIT_ALPHA_INPUT to covert but curious to know.

Thanks

Hi,

I am trying to do a simple select query from MAR inside the BADI imp of IDOC_CREATION_CHECK, i get the Material no from segment E1MARAM of IDOC data & fill this in work area & use it

Now in one environment, the material no is coming without leading Zero's in another it is coming with.

What could be the difference in setting /user setting where in one environment it is coming with leading & in one without.

PS: In any way i am going to use CONVERSION_EXIT_ALPHA_INPUT to covert but curious to know.

Thanks

1 REPLY 1
Read only

Former Member
0 Likes
537

Hi Harish,

I'm not sure why, I'm just replying because you should use CONVERSION_EXIT_MATN1_INPUT instead of CONVERSION_EXIT_ALPHA_INPUT.

Of course, your problem is in the sender system.

I might be wrong but if I remember correctly you have to define in the ALE model whether material numbers are to be distributed in internal or external format. That is, if OMSL are equal of course.

regards,

Edgar