11-12-2010 10:04 AM
Hi experts,
In my program i need the material with last 8 digit. Is there any function moudle is there to covert the material number with last few digits?
otherwise how todo?
Example : 000000000000010675
required : 00010675
Thanks in advance.
Anandhan
11-12-2010 10:05 AM
Move it to a field that only has 8 characters.
gv_matnr(8) type N.
11-12-2010 10:05 AM
Move it to a field that only has 8 characters.
gv_matnr(8) type N.
11-12-2010 10:16 AM
Hi,
try this:
data: matnr like mara-matnr VALUE '000000000000010675'.
data: matnr8(8).
matnr8 = matnr+10(8).
write: / matnr8.
Regards, Dieter