Get non-aliased OTR text

Hi, I would like to use already created OTR texts in my programs. I know how to get aliased OTR texts (there are several classes and methods, eg
CL_BSP_RUNTIME=>GET_OTR_TEXT( alias )
, but they all require alias as parameter. Is there a way to get non-aliased OTR texts? In SOTR_EDIT I see that they all have this guid-like Concept field, probably the unique identificator. Can it be used for getting those texts too?
Thanks!
KR,
Igor

you should use class CL_SOTR
there is a method GET_TEXT and another one GET_TEXT_BY_ALIAS

Similar Messages

  • Access multiple OTR texts at once

    Hi,
    I need to access multiple OTR texts in my Web Dynpro view at once,I know the method CL_WD_UTILITIES=>GET_OTR_TEXT_BY_ALIAS will retrieve one OTR text when alias is provided.
    I need to pass multiple aliases to retrieve their respective OTR texts.
    Can any one let me know how to get this done?
    Thanks.
    Regards,
    Salma

    Get all the OTR texts by passing all the alias...
    I don't think we can get all the OTR texts by passing all the alias one time..If we does want all the texts, i think we can only use the Internal table..For example:
    Loop at lt_table into ls_table.
       CL_WD_UTILITIES=>GET_OTR_TEXT_BY_ALIAS( ls_table-alias ).
    Endloop.
    So sorry for my Joke..._..
    Best wishes..

  • Why do I get Underlines even with None selected in Text Decoration

    This is driving me nuts!
    Even with NONE selected as text-decoration, it wants to
    underline my links.
    Please help!
    thanks.
    J.

    Here's the code for the html page, followed by the CSS:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <link href="../../css/style2.css" type="text/css"
    rel="stylesheet">
    <title>the</title>
    </head>
    <body>
    <table align="center" width="57%" border="0"
    cellspacing="2" cellpadding="2">
    <tr>
    <th align="left"
    colspan="5"scope="col">Songs:</th>
    </tr>
    <tr>
    <td><a href="sampleEmbedCode.html">After the
    Storm</a></td>
    <td><a
    href="../lurkingDelirious/sampleEmbedCode.html">Lurking
    Delirious</a></td>
    <td><a
    href="../arcticSummer/sampleEmbedCode.html">Arctic
    Summer</a></td>
    <td><a
    href="../theChased/sampleEmbedCode.html">The
    Chased</a></td>
    <td><a
    href="../throwAstick/sampleEmbedCode.html">Throw a
    Stick</a><br />
    </td>
    </tr>
    </table>
    </body>
    </html>
    Here's the external CSS:
    body {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    text-decoration: none;
    color: #3896AB;
    th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
    #body {
    font-family: "Gill Sans", "Gill Sans Light", "Gill Sans
    Ultra Bold";
    color: #5750B6;
    padding: 2px 0px 0px 0px;
    margin:0px 9px 9px 9px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    #flashPlayer {
    font-family: "Gill Sans", "Gill Sans Light", "Gill Sans
    Ultra Bold";
    color: #5750B6;
    padding: 2px 0px 0px 0px;
    margin:22px 299px 9px 299px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    text-decoration: none;
    #text {
    font-family: "Comic Sans MS";
    color: #5750B6;
    padding: 2px 0px 0px 0px;
    margin:100px 99px 199px 199px;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    text-decoration: none;

  • InDesign CS6: preflight & non-existent overset text in my document.

    Hi,
    I’m using InDesign CS6. The preflight lists overset errors. When I click on the page icon and go to where the overset txt is supposed to be…there is none.
    I deleted EVERYTHING in the entire document, then did a SAVE-AS a new name; restarted InDesign; opened the empty document...and it still says I have overset text. I’ve had this issue before with other documents and just ignored the errors after hours of trying to fix the non-existent overset text - but other people have to use my documents. Having errors is an issue with shared documents. I started a chat with an adobe tech support person, but they had no idea what the problem is. Is this a bug? More importantly, is there a fix?
    any help much appreciated.
    regards,
    m

    I have a document with a similar issue. I just opened it just to check. When I click on the overset and click somewhere else, I get an empty text frame. I guess that's what happens to you as well. I turned on Show Hidden Characters and noticed that somehow I had at the bottom of the page a paragraph sign (probably I hit enter at the end without noticing it). I just deleted it and now is fine. Turn on the Show Hidden Characters and see if something shows up at the end of your document.

  • How to use OTR text in normal ABAP UI (Not in webdynpro)

    Hello ,
    I hav a requirement to assign an OTR text to a UI element in ABAP screen. How can we do that...?
    I tried the syntax $OTR:<pkgname>/<aliasname> in the properties tab of the UI element,
    But on executinf the screen am gewtting the syntax itself as tooltip....
    Please give some inputs...
    Linda.

    Hello
    I am not sure whether we can assign it at the screen properties level. But you can do one thing, call the FM SOTR_READ_TEXT_WITH_KEY by passing the context of the SOTR you want to read and get the text associated back in the ENTRY structure.
    You can have a I/O field which is output only on the screen. And in the program you can assign the OTR text to this I/O field so that the OTR text will be displayed.
    Regards
    Ranganath

  • How to use OTR Text!

    Hi gurus,
    I am using the CRM Survey Suite to create a Survey form.
    I am supposed to create a PBO through which the OTR Texts will be displayed based on conditional checks.
    I have also created the OTR Texts via transaction Sotr_edit and  I am able to retrieve them via FM sotr_get_concept.
    Pl. let me know how I can show them on the web page, i.e. my survey form.
    I have searched and found that they can be used readily in BSP but how to use them in a Survey Form.
    Regards
    Atul

    Hello
    I am not sure whether we can assign it at the screen properties level. But you can do one thing, call the FM SOTR_READ_TEXT_WITH_KEY by passing the context of the SOTR you want to read and get the text associated back in the ENTRY structure.
    You can have a I/O field which is output only on the screen. And in the program you can assign the OTR text to this I/O field so that the OTR text will be displayed.
    Regards
    Ranganath

  • I have text appearing whenever I call up a new email format and I want to get rid of the text. Following is DOM source of selection : html id="compArea_test_i516_5171290607393724"

    I have text appearing whenever I call up a new email format. I want to get rid of the text. Following is DOM source of selection : <html id="compArea_test_i516_5171290607393724"><head> <title></title> <meta http-equiv="Content-type" content="text/html;charset=utf-8"> <style type="text/css"> body { background-color:transparent;} </style> <style type="text/css" id="styleSheet_521"> P {margin:0px;} span.mark {background:url(http://l.yimg.com/a/i/us/pim/dclient/cg504_5/img/md5/bfe4082db3a892f1c16cb9b5cf7cef98_1.png) bottom repeat-x;} span.unmark {color:"";} </style></head><body style="font-family: times new roman,new york,times,serif; font-size: 12pt; background-color: white; border: medium none; color: rgb(0, 0, 0);" vlink="#996699" alink="#0066cc" link="#0066cc"><br><div>&nbsp;</div>Name..<br>Sex...<br>Location...<div><br></div> </body></html> in English

    CSS:
    #navigation {margin-top: -3px;}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Change to OTR Text in Title changes UI look and feel

    We are running:
    ECC 6 EhP3
    NW7
    LSO 603
    We were asked to change the title of
    Package:  LSO_FRONTEND
    Alias: LSO_FRONTEND/ACTIVITIES
    When I tried to change it in the OTR it allowed the change but removed the tray around the title in the portal screen. 
    We do not have the most current version of R3trans Transport Program.  The version we use is Release 700 May 3, 2009.
    What is the process to correct the loss of the UI elements?
    Points will be awarded for instructions to correct the problem.
    Thanks,
    D. Maupin

    The following SAP Notes have been reviewed and none of these solutions worked:
    NOTE               Title                                                                             Date
    1247020            OTR: Texts are not transported                                      4/08/09
    575367              Text changes are not transported                                   9/24/08
    1102260            UI element texts are not transported                               10/11/07
    997513              Changed UI element texts are not transported                 11/13/06

  • What happens to the changes made to the standard OTR texts in E-recruitment

    Hi all,
    I have to change the <b>OTR texts of e-recruitment</b>. But I doubt whether they remain changed or overwritten in upgrade if I directly change the OTR text itself.
    Any one please help me in this issue.
    If I want to keep the changes in upgrade how should I proceed.
    Thanks in advance.
    Ravi

    Hi,
    Yoy will get propbaly SPAU. Check http://help.sap.com/saphelp_nw70/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/frameset.htm for details.
    Therefore it's advisable to make a copy of standard SAP stuff.
    Eddy
    PS. Reward useful answers and earn points yourself

  • What is Concept in OTR texts and how does it work?

    Hi,
    Can someone explain me how does concepts in OTR texts work?
    I have a problem with one of BSP Applications where I'm using a OTR text. I think the problem is with this concept.
    Thanks,
    Chaith.

    hi chaitanya,
    By using  OTR texts, you have the advantage that your BSP application will be language-independent. All the texts defined in the OTR are displayed at runtime in the logon language. If the texts are not yet available in the logon language, they are displayed in the system language. The OTR texts that you create are automatically translated or are forwarded to the translation transaction (SE63) and are entered in the translator’s worklist
    To create an OTR long text from your BSP application, you do not have to go explicitly into the OTR. Proceed as follows:
    In the page editor select the texts relevant for translation, using the <OTR>... </OTR> tag.
    When you generate your BSP, all these text fragments are passed from the system to the OTR. The concept returned by the OTR is generated in the relevant place on your page and serves as the unique identifier for your text.
    Continue as normal creating your BSP application.
    U can go through following link u will get more idea on how to use OTR.
    http://help.sap.com/saphelp_nw70/helpdata/en/2a/6ad43aa654be55e10000000a11402f/content.htm
    Edited by: anusha sabbineni on May 5, 2008 3:57 PM

  • OTR text translation doesn't appears on BSP

    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.

    Hello!
    I have same kinf of problem than you.
    I have done translations to swedish and now one maintained text comes in english.
    System language is Finnish language and now we take Swedish in use. I have use tr. SOTR_EDIT for correct some
    translations and after that few texts comes in English.
    I have run report SOTR_BUFFER_RESET  and also clear  OTR buffers via  /$OTR  and execute /$sync
    Have anybody new idea to help in this problem?
    rgs
    Maija

  • Otr text Spanish translation

    Hi,
    I have translated few otr texts which are created in english   into spanish using se63.Now when i am loging in spanish,
    and when i run the application and check for the texts,i am still getting those texts in english.Please  let me know how to get the spanish texts.what chnages exactly i need to do to get those text in spanish.

    If you have translated your text you should get it in Spanish.
    Try to add spanish language to your browsers languages and run your application.
    Browser->Tools->Internet Options->Languages-> add Spanish
    Regards,
    Sreekanth
    Edited by: Sreekanth on Dec 24, 2009 1:00 AM

  • Transporting OTR texts

    Hi
    Normally , all the translations of OTR will get reflected in all the system after translation.Else one request will be generated automatically .
    But in my case , no request has been created. So am unable to get the translated text in other systems .
    I have tried adding all the OTR text of that Package to a request through SE03 using both the logon languages .still translated text are invisible in other system
    Any other solution ??
    Please help me in this regards.
    Meikandan.

    Hi,
    Activate the BSP after the transport.
    Reset the otr after the transport. Below are the steps.
    1. Reset the OTR (Online Text Repository) buffers with /$OTR.
    2 Setting the flag correctly: Execute the SOTR_DEFAULT_CONTEXT_FLAG_SET report, 3. then reset the OTR buffer with /$OTR.
    Hope this helps.
    manasa

  • Mass OTR texts translation

    Hi all.
    I need to translate a lot of OTR texts. First I uploaded a file with the aliases, original OTR texts and all the translations to internal table. I tried to use batch input for transaction se63 (translations), but it doesn't work. Please suggest any other ways for mass OTR texts translation.
    TIA,
    regards, Nikolai.

    Hi NIk,
    Hi,
    Trasaction for the OTR is SOTR_EDIT .
    following steps:
    1: Go to Transaction SOTR_EDIT
    2: Put the Alias name and display
    3: Go to Change menu (Edit>Context>Change)
    4:Do not choose anything in the popup. Just Hit Enter.
    5: You will be in change mode. Now select the language (e.g. DE)
    6: Blank out the Length field. Enter the text in Text field.
    The length will come automatically. (Or you can also specify the max value here).
    7: Now Press Save button. The text has been saved.
    8: Now select other language from dropdown
    (E.g. EL Greek) and change the Text and blank out the Length field
    (you can also specify Max length here as per your choice)
    And press Save. In similar way,
    you can just create the OTR for Multilanguageu2019s.
    9: At last save and come out. Enter another Alias and repeat the procedure.
    Hope this will Help You
    Thanks
    Kalyan

  • OTR  text display

    i have this code
    htmlb:label for  = "<%= CL_BSP_HAP_DOCUMENT_CS=>C_BSP_INPUT_APPRAISAL_NAME %>"
                     id   = "INPUT_DOCUMENT_DESCR"
                     required = "<%= l_mandatory %>"
                     text ="Document Name"/>
    i need to  make the  translation so that when the client is opened in different language it should display translated version of the
    <b>"Document Name"</b> in that respective language.I gone through some forum threads but could not able to get the out put.
    help me out
    Thanks

    Hi,
    try this:
    Change the Text "Document Name" to
    "<%= otr(ZPACKAGE/DOCUMENTNAME) %>" where ZPACKAGE is the Package of your BSP. Doubleklick on the OTR Element and fill the text.
    After that you can translate the OTR-Text with transaction SE63_OTR.
    Hope this help.
    Best regards
    Renald
    PS: Ooops, Eddy was faster
    Message was edited by: Renald Wittwer

Maybe you are looking for