04-06-2009 10:17 AM
Hi,
Can you please tell me the logic for the external number assignemt for the enhancement MGA00002 of material master.
Thanks,
Mallika
04-06-2009 2:10 PM
Hi Mallika,
with this exit you can change the material number set externally, like adding a prefix.
Let's say you create a material in TC MM01 with the manually set material number 123. That exit can add a prefix and set the material number to A123.
It might be more easy to see an advantage if materials are created by an IDOC or web service from an external system.
regards,
Edgar
04-06-2009 2:10 PM
Hi Mallika,
with this exit you can change the material number set externally, like adding a prefix.
Let's say you create a material in TC MM01 with the manually set material number 123. That exit can add a prefix and set the material number to A123.
It might be more easy to see an advantage if materials are created by an IDOC or web service from an external system.
regards,
Edgar
04-07-2009 10:14 AM
thank u so much for the reply..could u pls let me know how to code?
04-07-2009 10:26 AM
ok, this is a simple example to add a prefix to kanban recipients:
IF mmue1-mtart = 'CONT' "kanban
AND NOT matnr(1) = 'A'.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' "remove leading zeros
EXPORTING
input = matnr
IMPORTING
output = matnr.
matnr(1) = 'A'. "prefix
ENDIF.
regards,
Edgar
04-07-2009 10:28 AM