2008 May 21 1:35 PM
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.
2008 May 21 1:44 PM
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.
2008 May 21 2:07 PM
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
2008 May 22 11:05 AM
2008 May 22 11:18 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |