cancel
Showing results for 
Search instead for 
Did you mean: 

OTR Translation issue

Former Member
0 Kudos

Hi,

I have made my custom OTR and used it like this in component C1.

ls_text = cl_wd_utilities=>get_otr_text_by_alias( alias = 'Z3AF_TM_OTR/NP4_NUMBER').

Now i have to maitain the trnslation of this OTR.

When i try with FM- SOTR_API_WB_TRANSLATE, it asks for Object name. After inserting my object name ,I am not able to see OTR.

If I use the OTR in Layout then only it is allowing me to translate.

Could anyone tell if OTR's can be translated in some other way ?

Accepted Solutions (0)

Answers (3)

Answers (3)

uday_gubbala2
Active Contributor
0 Kudos

Hi Saurav,

You can try go these 2 other approaches:

1) Translation using [SE63|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11555] [original link is broken] [original link is broken] [original link is broken];

2) Translation using [SOTR_EDIT|https://wiki.sdn.sap.com/wiki/display/WDABAP/TranslatingTextswith+SOTR]

Regards,

Uday

Former Member
0 Kudos

Chk out dis thread also

Thanks,

Divya.S

Former Member
0 Kudos

Hi,

Go to the transaction SOTR_EDIT.

Under Text,choose the language as German if u need OTR in German,

choose the Text to be displayed and mention the alias name and create.

Now u can use cl_wd_utilities=>get_otr_text_by_alias and

specify the language as German(DE) and get the text.

Thanks,

Divya.S

Edited by: Divya_SAP on Jul 28, 2009 12:24 PM

Former Member
0 Kudos

hi Divya,

I dont see a way to do translation with SOTR_EDIT.

uday_gubbala2
Active Contributor
0 Kudos

Hi Saurav,

The SAP help talks about using transaction [SE63_OTR|http://help.sap.com/saphelp_nw04/helpdata/en/f8/dd8a0f276111d5b316000102a3fd99/frameset.htm] for achieving the same. I haven't ever personally done this myself so amn't able to guide you further regarding the same. But may be you can try experiment from your end.

Regards,

Uday

Former Member
0 Kudos

hi,

Translation done thru SE63-Short Texts ->OTr.

Thanks