2015 Nov 23 8:54 AM
Hi abapers,
i have created 2 texts with same id ,object and Name with different language (english(EN) & spanish(ES).
In fm read_text : language has single character so while passing ES its taking 'E' and displaying in English text..i want display text in Spanish when i pass ES. how can i achieve this .Please guide me
2015 Nov 23 9:09 AM
Hi,
Have a look at table t002 (se11)
Field SPRAS is using Data element SPRAS .
Data element SPRAS is using Domain SPRAS .
Domain SPRAS use Conversion Routine ISOLA .
Here are the functions that implemnent Conversion Routine ISOLA .
CONVERSION_EXIT_ISOLA_INPUT Convert two-digit ISO language -> one-digit SAP language key
CONVERSION_EXIT_ISOLA_OUTPUT Convert One-digit SAP Lang. Key to Two-digit ISO Lang. Key
Regards.
Hi abapers,
i have created 2 texts with same id ,object and Name with different language (english(EN) & spanish(ES).
In fm read_text : language has single character so while passing ES its taking 'E' and displaying in English text..i want display text in Spanish when i pass ES. how can i achieve this .Please guide me
2015 Nov 23 9:03 AM
Hi Balaji
Use the ISO value from table T002 (Languages).
Read this table with your 2 Character value for 'ES', this should then return the single character value you require.
You can then use this to pass to the Function Module
Regards
Arden
2015 Nov 23 9:09 AM
Hi,
Have a look at table t002 (se11)
Field SPRAS is using Data element SPRAS .
Data element SPRAS is using Domain SPRAS .
Domain SPRAS use Conversion Routine ISOLA .
Here are the functions that implemnent Conversion Routine ISOLA .
CONVERSION_EXIT_ISOLA_INPUT Convert two-digit ISO language -> one-digit SAP language key
CONVERSION_EXIT_ISOLA_OUTPUT Convert One-digit SAP Lang. Key to Two-digit ISO Lang. Key
Regards.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |