Application Development 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: 

Unit of measure language problem

Former Member
0 Kudos

Hi experts,

I'm selecting matnr and meins from MARA. In SE11 I see the meins in my language (DB), but when I'm executing my program than I see the Unit of measure as 'ST' (Stück).

Could you help me in how can I get the unit of measure in a certain language?

6 REPLIES 6

kesavadas_thekkillath
Active Contributor
0 Kudos

check whether there is any field called SPRAS in MARA.

0 Kudos

There is no SPRAS field in MARA.

There is a check table T006, but I don't know how can I get the meins in my languge from there.

Edited by: mrwhite on Apr 27, 2010 10:33 AM

Former Member
0 Kudos

Hi,

The text table for Unit of Measure is T006A. You will have to do a join between MARA and T006A, and put a where condition as follows:

Where T006A~SPRAS = sy-langu.

Thanks,

Wenonah

0 Kudos

Wenonah that won't work since the meins in MARA cannot be found in T006.

But finally I found a function module which solves my problem:

CONVERSION_EXIT_CUNIT_OUTPUT

Thanks everybody to trying to help me, I appreciate it.

kesavadas_thekkillath
Active Contributor
0 Kudos

You say that the language in database is changed when you select the data to your internal table ?

Former Member
0 Kudos

Thanks