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: 

How do I get the country code to the language?

Former Member
0 Kudos

Hi,

I have to get the country code to the language I have in NAST-SPRAS.

When I´m getting 'O', the country should be 'NO' for norway. But there

are other countries, which are talking norwegian....

Or is there another way instead of using NAST-SPRAS? Is there a field

which contains the country instead of the language code?

Thank you!

Arne

4 REPLIES 4

Former Member
0 Kudos

HI,

see the table T005T

<b>reward if helpful</b>

rgds,

bharat.

Former Member

Use the table T005

T005-SPRAS = Language

T005-LAND1 = Country Code

Please mark points if the solution was useful.

Regards,

Manoj

0 Kudos

Thank you, but it´s not working... I have tried that table!

But make a test and insert 'O for norwegian in SPRAS...

You are getting 3 entries... And I need norway as the main country for

norwegian. But how do I know which line I have to read?

thank you

Former Member
0 Kudos

Hi,

look at the function module,

WMCC_FIND_LANGUAGE_TO_COUNTRY

Regards

Sudheer