Application Development and Automation 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: 
Read only

Language Translation

Former Member
0 Likes
656

I am trying to convert the opening of a letter into different languages.

For example Dear Mr...should be Sehr geehrte/r Herr...In German. The dear part is stored as a text element so it converts fine, but the MR part is passed as a parameter and using the bleow statement it doens't convert.

How can I conver Mr into Herr using ABAP?

CONCATENATE text-021 iuser_salutation ','
                INTO lt_content-line SEPARATED BY space.

I am trying to convert the opening of a letter into different languages.

For example Dear Mr...should be Sehr geehrte/r Herr...In German. The dear part is stored as a text element so it converts fine, but the MR part is passed as a parameter and using the bleow statement it doens't convert.

How can I conver Mr into Herr using ABAP?

CONCATENATE text-021 iuser_salutation ','
                INTO lt_content-line SEPARATED BY space.

4 REPLIES 4
Read only

Former Member
0 Likes
600

Hi,

1. This is one option.

2. The salutions (in various languages) are stored

in table T522T

where the code (ANRED) for Mr. is 1

3.

1 Mr. Mr .

2 Ms. Ms.

3 Capt. Captain

4 Dr. Doctor

4. U can use this table to get texts in other languages

For 1 = Mr., in DE language, u will find Herr.

regards,

amit m.

Read only

Former Member
0 Likes
600

Hi,

My suggestion is to maintain translation using SE61 & SE63

and call the function module DOCU_GET_FOR_F1HELP

hope this would solve the purpose

Regards,

Keerthi

Read only

Former Member
0 Likes
600

How do you maintain the T522T table?

Read only

0 Likes
600

Hi,

U can maintain entries through SE11/SE12.

Open ur table in SE11/SE12.

utilities->Table contents->Create entries.

In SPRSL give the language key

in ANRED - Give 1 for MR and 2 for MS

In ATEXT and ANRLT give appropriate descriptions.

Another way couldbe maintain translations through SE63 which is safer way always.

Thanks,

Vinod.