cancel
Showing results for 
Search instead for 
Did you mean: 

OTR text from abap

former_member186783
Participant
0 Kudos

Hi everyone,

I'm tríing to retrieve the OTR text from ABAp code:


  ls_info-text = cl_wd_utilities=>get_otr_text_by_alias(
                                alias = 'YHR1/COMPLE'
                                language = sy-langu ).

The problem is that the text only retrieved by it's original language, if I try a different language the result is empty

(Of course the text exist in both languages I've double checked it )

Does anyone have any idea what is the problem?

Thanks & bye

N.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186783
Participant
0 Kudos

Ok I have the answer now.

The only way to translate the text properly is SOTR_EDIT transaction

Here's a guide :

https://wiki.sdn.sap.com/wiki/display/WDABAP/TranslatingTextswith+SOTR