on 04-24-2008 7:05 AM
Hi,
i have some labels in my WD view.
how do i map the text of these labels to OTR text.
Thanks,
Ritwik.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.