how to get internal unit

Question: Hello fans,

In sap, the unit have several display ways. like commercial unit, and internal measure unitl

when i write the program, system always let me use internal measure unit. my problem is how can i get the internal measure unit. could u tell me?

e.g.
commercial unit int. mea. unit
PC ST
G GRM

Clark

Answer:
Use FM

CONVERSION_EXIT_RUNIT_INPUT
CONVERSION_EXIT_RUNIT_OUTPUT

regards,

Answer:
Hi Sant.

tks your help.

But more question,but some unit of weight can't convert it to internal unit.

just like G, the function convert it as G. but sap just can recognize GRM.

Is there another FM?

Clark

Answer:
Hi Sant.

tks your help.

But more question,but some unit of weight can't convert it to internal unit.

just like G, the function convert it as G. but sap just can recognize GRM.

The reason is that the internal representation of G is indeed G.
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Copyright ?2007 - 2008 www.jt77.com