MAINTAIN OTR

I want to maintain otr in a webdynpro environment. if i select otr via goto i just get SOTR_VOCABULARY_BASIC. How can i get all OTR texts and change them? I just wanna find the right table to write the text inside...

Strange: I can't find my OTR Text.
I want to find the text for: 'ZMM_VPM_MAIL_ABLEHNEN_TEXT' in OTR.
I am in a method for the startview...
Confuse***
  call function 'READ_TEXT'
    exporting
      client                        = sy-mandt
      id                            = 'ST'
      language                      = 'D'
      name                          = 'ZMM_VPM_MAIL_ABLEHNEN_TEXT'
      object                        = 'TEXT'
  ARCHIVE_HANDLE                = 0
  LOCAL_CAT                     = ' '
IMPORTING
  HEADER                        =
    tables
      lines                         = lt_lines
exceptions
   id                            = 1
   language                      = 2
   name                          = 3
   not_found                     = 4
   object                        = 5
   reference_check               = 6
   wrong_access_to_archive       = 7
   others                        = 8

Similar Messages

  • OTR Issue

    My Query i have BSP application which is developed in English . now i have maintained OTR for Japanese Language.
    When I Login by Japanese Language and test my bsp application it shows me the layout as English i have put the debugger in the
    Method Oncreate SY-Langu is showing me E.
    according to previous Blog there is a Trancation T.Code RZ11 , Profile parameter: zcsa/system_language shows me English Maintained.
    i also look for second  parameter which is Second_language which is also maintained in English , now please guide me whethfor er i ask client to maintain Japanese language in this Parameter Second_language , Do you feel this will solve my problem .
    I have Added the japanese language to my internet Exploere by going to internet option->general Tab -> language i added Japanes laguage to support , but still application is displaying text in English.
    For you information when i edit the qery-string and concatenate ?sap-lanhuage=ja is display me the japanese layout text.
    Sap-Basis guys are aslo request to give some light on this issue , may be this from basis issue .
    Thanks & Regards
    Ritesh Aggarwal
    Please Reply
    Ritesh aggarwal
    Edited by: Ritesh Aggarwal on Nov 26, 2009 5:08 PM

    Hi Ritesh,
                       Is this issue resolved?

  • Can I use message class(from se91) in BSP applications

    Hi,
    Can I use message from message class(se91) to display in pages of BSP application.
    Best Regards
    Rayudu

    Hi,
      Thanks for response.
    How can I get se91 message in onInput processing?
    I understand that for long texts i can use OTR texts. Weather I need to maintain OTR texts for simple error messages?
    Best Regrads
    Rayudu

  • I-views - Country specific settings

    Hi,
    We have a requirement of a WD ABAP application for education info in ESS for employee belonging to US, Canada and Trinidad.
    I have defined the z-resource, z-service and the country specific settings for same as well as done the active subtype settings in spro.
    For settings at the portal end, i want to know whether i will have to create an i-view for education data under the 'personal information' for each country?i.e. one education i-view for US, one for canada and one for trinidad. If yes, can all  the three i-views  call the same WD ABAP application?
    If the above is done, then 3 pages will have to be created for the 3 i-views.
    Kindly confirm my understanding.
    TIA.

    Hi,
    You can just have one WDA and maintain OTR for the texts which are displayed on the view.
    Using the FM SOTR_API_WB_TRANSLATE you can maintain translations in your required language.
    Thanks,
    Deepthi

  • Maintain Default OTR System Context

    Hi All!
    In my project we've just intalled EHP3 on ECC 6.0. Now when i check the table SOTR_TEXT there seems be to 2 active contexts but in the BSPs i'm getting always the standard context.
    I want to set our 'Z' context as default.
    I checked all the customizing and it is ok and the systems says to me that the 'Z' context is the default one.
    I've run the report SOTR_DEFAULT_CONTEXT_FLAG_SET a couple of times and also de  /$OTR but it does nothing.
    Does anyone knows what's the trick?
    Many thanks!!

    Hi there!
    I had previously seen that posting. The problem is that i already have an active and well defined context with all the texts. And it was working fine till we install the EHP3.
    The systems tells me that the 'Z' context is the active one but when i login in the BSPs it shows me that standard texts of the standard context.
    Weird..

  • Creation of drop down for a field which is created using otr

    Hi experts
    I have a requirement wherein i have to create a dropdown for a field which is added using otr (online text repository).
    When i did an F2 on the field on the UI i found that it had no context node and attribute and the view in the component workbench did not have a configuration also. The coding for that field is done in the htm page of that view using otr.
    For this field i need to create a dropdown (the dropdown values will be fixed). I thought it would be better to code in the method do_init_context.
    Request you to help me out with the code for this requirement as i do not have any idea with regard to otr.
    Thanks and regards
    Preeti Viswanath

    Hi Preeti,
    1.You need to maintain a page attribute(dd_list_type) which is of table type to the htm page of your view.
    2.Then in the set_models method of your view controller add the following code:
    * Put the data into the view attribute
      view->set_attribute(
            name   = 'dd_list_type'        
            value  = lt_list_type ).
    You can add OTR text list to the internal table lt_list_type.
    3.Then add the following code to .htm
    * ADDITIONAL CODING IN VIEW
    <% data:           lr_listl_type  type ref to data.
       field-symbols: <list_type>   type table.
       get reference of dd_list_type into lr_list_type.
       assign lr_list_type->* to <list_type>.
    %>
    <htmlb:dropdownListBox id="ListType"
                           table = "<%= <list_type> %>"
                           selection = "<%=controller->gv_model_id %>"
                           nameOfKeyColumn = "KEY"
                           nameOfValueColumn = "VALUE"
                           />
    Regards
    Leon

  • Issue in OTR creation with Numeric Range of Customer Code

    Dear All,
    I am facing error while creating OTR with reference to Sales order in SAP TM system. The Error message “Business partner internal ID 0000710420 does not exist” appears when I Use Customer Code as Numeric, whereas if I create customer with Alpha-Numeric, then there is no issue.
    I have debugged the same and found the error is in Class “/SCMTMS/CL_TRQ_ICPY_TRQ_REQSRV” under Method “PREPARE_MD”. In this method, the system is converting the Business partner Code (Field: EXT_BP_ID) of Customer to 60 Character for Numeric Customer Code. Due to which system is not getting the KEY (Field: INT_BP_KEY) of the Business partner as shown in below screenshot:
    Whereas for Alphanumeric Customer Code, system is not converting the Business partner Code to 60 Char and hence not giving error. Below is the screenshot:
    Kindly advice how to resolve the issue.
    Regards,
    Vibhu Gupta

    Dear Marcelo,
    Yes same number range is maintained in both systems and infact BP is creating in TM system. But while creating OTR, TM system is calling a functional module in method I mentioned above, which will cusion the Business partner ID to make it 60 Character internally while creating OTR, due to which system is able to fetch its Key and hence give error message.
    This is happening only when Business Partner Number range is Numeric. If I use Alpha Numeric, then system do not cusion the business partner code and hence do not give error.
    Regards,
    Vibhu Gupta

  • How can we maintain tetxs in webdynpro insted of hardcode

    Hi Experts,
                    i am new for this webdynpro abap.how can we maintain tetxs in webdynpro insted of hardcode like text symbols in abap.we are using freaquently texts in message manager.in best practice we should not maintain hard code.
    guys suggests me.

    Hi.,
    For Labels You can Use OTR ( Online Text Repository )  Goto View ., In Menu bar Goto Online Text Repository and Add text ., then For Label Text press F4 then u can assign the Created Text.,
    For Messages; Instead of HardCoding., Create  a Class and Use that Class in Your WDA As Assistance Class ., In the Class Go to Texts and Add the text elements same as Text elements in se38. , You can use those text elements by providing message id in WDA ., using
    WD_ASSIST->IF_WD_COMPONENT_ASSISTANCE~GET_TEXT( '001' ).  " here 001 is the text element id which u created in class
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • OTR text not displayed correctly

    Hi,
    I have view in which there are 3 tables with 3 colums each.
    All the data binding etc is fine and it is displayed correctly in the portal.
    My issue is with the OTR texts maintained. The text for column headings in the table is binded with the OTR texts (created through transaction sotr_edit) $OTR:<package>/<alias> in properties value field.
    We have an option to change the language in the portal. So when a language is selected, the texts for these column heading is displayed in the corresponding language selected.
    But for some langauges selected, the texts show some random language instead of the one selected.
    Any idea on how this can be corrected.

    Thanks for the reply Thomas.
    And sorry for delayed reply.
    I could see that the binding of the OTR was not correctly done with the texts.
    After i made the changes, the languages were displayed correctly.
    My concern here is that i have made the changes as this is a custom development and the issue was solved.
    But this same issue is seen in a standard component where the text was not displayed in the language selected and this issue is coming only for the users assigned to a particular role. And for all others, the texts are displayed with the language selected.
    Any inputs on this would be helpful.
    Thanks.

  • How to Maintain Translation of texts of Exception Class

    Hi Experts,
    I have an exception class ZCX_CHECK . I have maintained a text in the text tab of the exception class
    like No components  Exists in  Package  &PACKAGE_NAME&
    PACKAGE_NAME is the Attribute . How do I maintain Translation of the TEXT. When I navigate like Goto->Translation , it is saying Empty Object list.
    When I maintain text elements and give text-001 in the text tab of the exception class , the ouptu is coming as text-001 in the Report .
    How do I amintain translation , or how can I integrate a message class with an exception class .I know where to metion messsage class  . But how do I use it inside exception class

    Let me rephrase this: When entering a text in your Exception class it will be automatically part of the OTR. You can check this by looking this up in SOTR_EDIT.Press the binoculars button (Find), and search on package (development class).
    Now via SE63: Translation->ABAP Objects->Short texts
    open node OT on pop-up and double click on Subnode.Enter a * on screen for Object name and press F4. Now enter collection (package / development) class. Select the text to be translated.
    BTW: Via SOTR_EDIT you can retrieve the logical key (field concept) which is needed for translation. Select the GUID (logical key / concept) from SOTR_EDIT.

  • Best practice with otr texts in wd

    hi,
    when I enhance a wd component I want to work with otr texts and I have two questions:
    1. Is the best way to store the otr texts in a separate new package or in the still existing package of the enhanced wd component?
    2. Makes it sense to fetch even the static texts in the abap coding (not the ui elements) like message manager from the otr or is it then overacting?
    thanks

    Hi,
    Answer to your questions.
    1. Is the best way to store the otr texts in a separate new package or in the still existing package of the enhanced wd component?
    A. You can create OTR texts any where as long as the transport goes along with the webdynpro component. Its always good to have the OTR in the same package. Its more like the text element concept in ABAP.
    2. Makes it sense to fetch even the static texts in the abap coding (not the ui elements) like message manager from the otr or is it then overacting?
    A. Its a good habit to fetch all the static text from OTR. this helps in several ways.
       a) If the message is used n number of times then you just have to change the text in OTR and it reflects all
       b) If the message needs to be displayed in a different language then just the OTR needs to be maintained for the alias in a different language.
    Regards,
    Kinshuk

  • Can we replace OTR text with Images?

    Hi All,
    I just wanted to know can we replace OTR text with Images?
    or
    Can we define an image as an OTR text? so that it can be placed in the page where OTR text is used.
    regards...
    Ravi

    Hi Ravi,
    it is possible to replace an OTR Text with an image.
    You first have to define the Link in the OTR Text where your image is located. This can be everywhere in the Internet or better on a secured intranet server which everyone can reach easily without permission problems. Maybe in the DMZ.
    You can even link it into the MIME Repository of your SAP System as well.
    Then you have to put that OTR Text into a
    <htmlb:textview> Tag and ensure that the switch
    " encode = "TRUE" is enabled.
    Well thats all.
    Keep in mind that the a different language, set in the Internet Explorer or other viewing instances, disables the link if it not "translated" into that language.
    This can also be an advantage if you got multilingual fixed pictures with drawn text in it.
    I suggest you put all your links ( with a Value Field and at least a name field) into a seperate table into the repository for easy maintaining.
    Greetings,
    Dominik
    Edited by: Dominik Lemke on Dec 19, 2007 12:02 PM

  • How can we transport the standard changed OTR texts w.r.t translation?

    How can we transport the standard changed OTR texts with out effecting the translation concept.?
    means i need to see the text in different languages which ever logged in.

    using the function module SOTR_API_WB_TRANSLATE you can maintain translation in different languages for the OTR texts maintained in your WDA.
    No need to transport,you can directly execute this FM by passing the below parameters:
    SOURCE_LANGU                    EN
    TARGET_LANGU                    FR
    PGMID                           LIMU
    OBJECT                          WDYV
    OBJ_NAME                        %
    FLAG_STRING
    EDIT_MODE                       T

  • Bsp logon in other language translation for OTR not displaying.

    Hi All
    have few queries if you can help me to resolve those i will out of criss to hunt more.
    1) i have application designed in English, now i have created OTR for that now i have login to Spanis Language
    when i choose the option GOTO-> translate it is asking with a Pop Up EN To ES so clicked yes.
    now its also ask me Maintain In Logon Language or Original Language (Please guide me what excatly i have to Choose),
    for testing purpose i choose maintain in Original Language but when i logon in Sapanish logon its shows me in the degugger
    SY-LANGU AS EN , BUT it should be ES , i am wondering why this happen , then again i have done it in the other way round but not working , but according to your Old Blog if i change the Qery
    string for example i explain:
    Example Qery string is : http://mypageSeceret.com:1080/sap(bD1lbiZjPTA1MA==)/bc/bsp/sap/zzritesh_test/default.htm
    if i add ?sap-language= ES
    http://mypageSeceret.com:1080/sap(bD1lbiZjPTA1MA==)/bc/bsp/sap/zzritesh_test/default.htm?sap-language=es
    then the page display as spanish text.
    but Client will not be knowing to do this neither he will take the pain like this.
    please provide me a generic code so that i can handle it some method ,
    I think , may be i am wroung some abap code like( set as locale language)
    i am using Page with flow logic for development of my BSP application.
    Please guide me to solve this problem for me .
    Regards
    Ritesh Aggarwal

    Thanks Raja,
    No i am not using portal , well i will try what you guided me , and willl soon get back to you , thanks you soo much , will hook you soon on this issue once client  give the translations .
    But stilll one question do i need to login in ES language to maintain translations, then only it will ask me for maintain in original language  OR Logon Language , i will select Maintain in logon language as suggested by you thanks , still write me for more retification thanks Raja.
    Regards
    Ritesh Aggarwal
    Edited by: Ritesh Aggarwal on Nov 24, 2009 6:40 PM

  • Problem with OTR

    Hi Community,
    i got a Problem with the OTR, i want to translate german texts into spanish.
    There are already translations maintained, I´ve only changed some, but the programm just gets the old translations.
    It´s not a fault of the programm, I checked everything with the debugger, when I access to the OTR it gets the old values instead of the new.
    Do I need to update the data of the OTR? So that the Report can access to the new data?
    Thanks,
    Greetz Volker
    Points will be regarded.

    Cool, thanks Heidi it works.
    I knew it would be such a easy thing.
    Thanks

Maybe you are looking for