cancel
Showing results for 
Search instead for 
Did you mean: 

OTR text

Former Member
0 Kudos

Hi,

i have some labels in my WD view.

how do i map the text of these labels to OTR text.

Thanks,

Ritwik.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

1.To use an OTR short text as the value of a UI element property, perform the

following steps:

• Press the value help button in the Properties value field. The OTR

browser will appear, showing all texts of your package and of the

SOTR_VOCABULARY_BASIC package, which contains standard texts.

• Select a text from the list and choose Enter.

• The OTR directive for using this text will be automatically entered in the

Properties value field.

The OTR directive is a combination of the text's alias name, the package name,

and the prefix OTR: $OTR:<package>/<alias>.

2.create an OTR text in SOTR_EDIT tx.

data:lv_otr_text type string.

CL_WD_UTILITIES->get_otr_text_by_alias

Exporting

Alias= ‘alias name’

Returning

Value = lv_otr_text

Former Member
0 Kudos

hi

Ritwik Chatterjee

Go to the transaction sotr_edit transaction , from the Tcode and give your Text , Alias and Concept Id there, for the label which you want to maintain the OTR Alias and click on Create . after that go to your webdynpro application, select the Label which you want to apply OTR. select the 'Text' Property for the Label and clik on the side, then a dialog box appers, There you can see your otr text created. select it and bind it.

Hope u find this useful. If any questions pls ask.

Former Member
0 Kudos

hi ritwik,

create otr alias name in Sotr_edit transaction and create ur alias name there and assign it to package. from that u can bind alias name to lable in lable properties.