10-31-2007 9:29 AM
Hi all,
I would like to generate an internal number for material master in the following format:
abc-123-4567
Would you please send me any <b>sample code</b> available for the above format.
Thanks and Regards,
Madhu
10-31-2007 9:36 AM
Madhu,
can you tell me what is the format of abc-123-4567.
abc meant for what?
123 meant for what?
4567 meant for what?
Satish
10-31-2007 9:36 AM
Madhu,
can you tell me what is the format of abc-123-4567.
abc meant for what?
123 meant for what?
4567 meant for what?
Satish
10-31-2007 9:45 AM
abc, 123, and 4567 are classfications of a material.
Here I could get 1234567 from internal number range. But, getting 'abc' prefix is a difficult. I heard that we can do it through user exits.
Can use enhancement MGA00002, with an exit, EXIT_SAPLMG02_002.
I need the sample code to get the required 'abc'
Regards,
Madhu
10-31-2007 9:56 AM
Hi,
yes u can use this exit for ur rquirement..
just use concatenat statement and try
v_matnr = 1234567.
concatenate 'abc' v_matnr into v_matnr1.
now ur v_matnr1 = abc1234567
pass this value to MATNR field in the changing parameter..
MATNR = v_matnr1.
try and check.
Rewrad if helpful.
Regards,
Nagaraj