11-30-2009 10:12 AM
Hi,
I use an OTR text in a BSP but I can't edit its translation.
The text has been created in language EN.
I have created the FR translation using transaction SE63_OTR.
The FR version exists and I can see it SOTR_EDIT.
I have clear the buffer with transaction /$otr.
Abap code used in BSP handler:
CALL METHOD cl_bsp_get_text_by_alias=>get_text
EXPORTING
language = sy-langu
alias = f_otr_text
RECEIVING
alias_text = f_designation.
Unfortunately my translation doesn't appears in my explorer.
I use the method bellow to get the french translation but it doesn't work, F_DESIGNATION is always the EN text even if SY-LANGU is FR.
Do you have an idea ?
Thank you.
Julien.
11-30-2009 10:19 AM
Hi,
You have to add the language in Internet explorer.
Go to Control Panel -> Internet Options -> Click on LANGUAGES and Add the required language. It will show in the OTR language.
11-30-2009 11:04 AM
Hi,
Thank you for your reply but it doesn't work.
Translations works good for all the texts of my BSP, I only have this issue for my new text.
Thanks.
11-30-2009 12:41 PM
Hi,
search for answers or ask this question in the forum for BSP development. This forum is for ABAP !!!
Don´t use transaction SE63_OTR for translations, since it is in fact SE63.
Method is correct for reading the OTR text. System does not recognize the translation, because either it is not active or you must not work with SE63_OTR.
Execute the method directly with EN and FR and see what it happens.
Texts are saved in tables SOTR_HEAD and SOTR_TEXT. Check if translation does indeed exist.
11-30-2009 12:50 PM
Ok, I have posted a new message in the BSP forum.
Thank you guys.
Julien.
11-30-2009 1:51 PM
Ok it's solved.
In transaction SOTR_EDIT:
Edit --> Context --> Adjust for my OTR text in French.