Procedure to display texts of pushbuttons in any language.

Hi gurus,
I am having a requirement where i needs to display 'yes', 'No','Cancel' pushbuttons in my window.here iam not able to display the texts in pushbuttons ''yes', 'No','Cancel'  in different languages. even iam logging in german language the pushbuttons are displaying in english only instead of dislplaying in german. please tell me procedure , how to maintain texts in pushbuttons dynamically.
Points will be rewarded.
Thanks,
Kishor.

Hi kishore,
1.Do you know how to translate the text elements.
If not let me explain.
while calling the function module to popup message ,instead declaring the texts decalre it has text elements .
Example :CALL FUNCTION 'POPUP_TO_DECIDE'
  EXPORTING
   DEFAULTOPTION           = '1'
    textline1                  = text-t06
    text_option1            = text-t07
    text_option2            = text-t08
    titel                        = text-t09
   START_COLUMN            = 25
   START_ROW               = 6
   CANCEL_DISPLAY          = 'X'
IMPORTING
   ANSWER                  = gv_answer.
So now you  want to translate the text elements.
After creation of text elements in english.
Go to ABAP EDITOR of that Report.
In the menu Bar ->GOTO ->Translation
you will get the popup screen asking for target language to which you have to translate.(default it will be in english where in your case u need to translate german
you declare there has "DE".
->enter
(*There you can find the all the text elements in english*
*and you can find it is asking to enter in german (to get the translations go to*
*http://www.google.com/translate_t?langpair=en|de*)
Instead of this for you i am giving the descriptions in german.you can use this
(in german - yes -ja
                  No- Nein
                  cancel-Abbrechen)
there u select from english to german.(translate it ,copy and paste in the translation of text elements in German). Activate it.
No you logon to German language you check it .
This will resolve your problem,if there is any issues reply to it
Dont forget to reward points

Similar Messages

  • Display text file in servlet with preserved formatting(newlines, etc)

    how do i display a text file in servlet, but all the blanks and newlines are preserved.
    this is what i did:
    RandomAccessFile text = new RandomAccessFile("D:/FYP/tempMessage.txt","r");
    long length = text.length();
    byte[] bytes = new byte[(int)length];
    //Read in the bytes
    int offset = 0;
    int numRead = 0;
    while (offset < bytes.length
    && (numRead=deCiphered.read(bytes, offset, bytes.length-offset)) >= 0) {
    offset += numRead;
    // Close the input stream and return bytes
    text.close();
    String plainText=new String(bytes);
    //display in servlet
    pw.println("<center>Plain text: " + plainText + "</center>");
    the problem here is the newlines are seem to be omitted when they're displayed in a web browser, rendering the displayed text in a mess.
    any help are greatly appreciated. thanks in advance :)

    display text in between <pre></pre> tags.
    or display it inside a text area,dont worry abt the text area border, u can change that using style sheets.

  • How to implement textarea/text box to accept multiple languages

    Hi,
    We have a requirement that we need to have text area/text box on screen to accept multiple languages like (Spanish and russian) that means user can able to enter their text data either in any language like english,russian and spanish(It should be possible to enter the comments in russian and spanish languages). Is it possible to implement in java/j2ee?, If yes kindly provide us solution details. Any Help is highly appreciated.

    What exactly doesn't work? No matter the (spoken) language - its still only text data. The one thing you need to look out for is in no way specific to Java/JEE and that is that you employ proper character encoding and fonts to be able to display the language specific characters. If you don't know much or anything about character encoding, I suggest you research that. Start here:
    http://www.joelonsoftware.com/articles/Unicode.html
    BTW: its a bit of a silly question, don't you agree? No - you can only create English applications using Java! What a world that would be.

  • Safari does not display text on some sites.

    I am running OSX 10.10.2 and Safari 8.03
    Some sites I visit do not display text at all.
    For example: This site (http://neflin.org/) looks fine in Chrome, Firefox, whatever. But in Safari, it has no text at all. See below.
    Mail is having difficult with some text in html email too.
    I have rebooted, reset the PRAM, deleted preferences and turned off extensions. I checked the Guest account and created a new account and in all cases the problem persists.
    I have validated fonts in Font Book, restored standard fonts and looked for duplicates. Nothing.
    Flash and Java are up to date.
    Any thoughts?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • How to add dynamic text in pushbutton created on output for ALV oop

    Hi  All,
    If you check BCALV_GRID_05 program, you will get one pushbutton ‘DETAILS’ on menu screen. Same king of pushbutton we have in our object but we need to change the text on pushbutton if the user press it we need to process the records ( we are getting number in one variable) and we need to display as '  DETAILS  no  Records with no error ' on pushbutton.
    Please let me know if any one of you have any solution for this issue.
    Points will be rewarded for helpful ans.
    Thanks
    Minal.

    Hi,
    If u see that program u can see
    METHOD handle_user_command.
    case e_ucomm.
    WHEN 'BOOKINGS'.
    U have to write ur code here to change the button name like the code u have in ur :
    METHOD handle_toolbar.
    MOVE 'Detail'(112) TO ls_toolbar-text.
    This is where u have to change ur text . In place of detail u put ur text and finally Modify the Internal Table and dont append it as in HANDLE_TOOLBAR. If u modify the text is modified, if u append , a new button is created.
    Add this code in WHEN 'BOOKINGS' part of ur code and check
    awrd points if helpful
    Bhupal
    Edited by: Bhupal on Jan 9, 2008 7:36 AM

  • Display Text in a query as a symbol

    Hi everyone,
    I have a query (BI 7) that displays runtimes of BI applications (generated from technical content -0TCT_MC01 multiprovider).
    In the rows there is 0TCTBIOTYPE (type of BI application) which usually displays texts as below:
    query
    Web Template
    I would like to show in the report the symbol (image) instead of the key/text of this infoobject.
    Any idea?

    Hi Reuvel,
    Nice requirement.
    Not sure 100% but from my memory i guess we can display the image for characteristic, instead of text or key by using Analysis web item Using parameter modification in WAD .
    Kindly check for Modifcation parameter Display image Module (com.sap.ip.bi.*.Documentcontent) in WAD, it might solve your purpose.
    Regards,
    Ashish

  • How to display TEXT more than 500 char in a report as multiple lines.

    Hi Friends,
    i have a requirement like i should display Texts of length more than 500 Characters in a report( ALV LIST) as multiple lines
    I am fetching the data Using FM READ_TEXT
    the output im currently geeting with 150 Char in lenth as a single line
    How we can split the text into multiple lines in a report
    first i would like to know is it possible? if possible please give your valuable suggitions if not is there any alternative way to do this task.
    Thanks & regards
    kumar.

    Hi,
    This is possible but the Solution might not look Standard/Appropriate to you.
    In ALV, you can have Multiple Line Output...There is a Field in the Field Catalogue..called as Row_position...this is by default 0...which means Single row/Line ALV output....You can have this Value in the Range of 0 to 3.......A ALV field with row_position 1, will be displayed in the second line for every record...i.e. you will have multiple line for a single record of ALV.
    In your case......you can use this but you need to split your field in two fields.....but you may end up spliting a single word....but for that also you can design the logic of splitting the Fiel value at SPACE only......
    This may work.......and Sorry if not work......

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • Displaying text from domain in ALV Grid OO

    Hi all,
    i have a problem regarding ALV grid OO.
    I try to displaying domain text instead of domain value in the grid.
    The domain value range are:
    1     text 1
    5     text 5
    6     text 6
    I created a drop down list and it works fine, but the eintries in the grid displaying only the value instead of text.
    General I like to work the value's but in the grid schoul be only the texts.
    Have anybody any idea?
    Thanks,
    a
    If it is not enogh clear , please ask me.

    hi,
    look this.
    U should be able to get text of domain  from table DD07V.
    SELECT DOMNAME VALPOS DOMVALUE_L DOMVALUE_H
    into idomval
    from dd07v
    where domname = Domain Name
    and ddlanguage = sy-langu.
    <i><b>opr u can use the below FM</b></i>
    DATA : BEGIN OF int_orient OCCURS 10,
               domvalue_l LIKE dd07v-domvalue_l,
               ddtext LIKE dd07v-ddtext,
               END OF int_orient.
    DATA: ZPETS_PORTORIEN type dd07l-domname,
            int_values_table  TYPE dd07v OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'GET_DOMAIN_VALUES'
        EXPORTING
          domname         = 'ZPETS_PORTORIEN'
          text            = 'X'
        TABLES
          values_tab      = int_values_table
        EXCEPTIONS
          no_values_found = 1
          OTHERS          = 2.
      LOOP AT int_values_table.
         int_orient-domvalue_l = int_values_table-domvalue_l.
        int_orient-ddtext = int_values_table-ddtext .
        append int_orient.
      ENDLOOP.
    read table int_orient. with key domvalue_l transporting  ddtext .
    rgds
    Anver
    <b>if hlped pls mark points</b>

  • Printing to PDF from MS Office: lost hyperlinks if display text changed

    Greetings.
    I'm using Acrobat Pro vers. 8.1.7 and MS Office 2007.
    I'm not sure if this is an Acrobat or an MS Office issue or somewhere in between.
    I need to print an Excel document to a PDF with hyperlinks.
    Creating hyperlinks in Excel is no problem.
    If I print to a PDF (using Adobe PDF Converter printer driver), the hyperlink appears and works in the PDF. No problem.
    But I need to change the display text of the link - instead of a URL I need to display a "user friendly" name.
    Problem.
    If I edit the link in Excel and change the display text, the link works in Excel, no problem.
    But when I print to a PDF the link is lost.  I get pretty blue underlined text, but the link information is not embedded in the PDF.
    Problem!
    I've experimented and done some research, but nothing so far.
    Any ideas?
    Help!
    Thank you,
    Greg

    The links you are seeing in the PDF are likely not hard links, but what Acrobat thinks are links. That is what happens when you print to the Adobe PDF printer. If you want to retain the links in the original form, you need to use PDF Maker (or may be listed as create PDF) in Excel. The end result should be a PDF with the links appearing in the same way as in Excel.

  • Displaying Text as HTML in the UIscrollbar component

    Greetings.
    I have a window on my Flash stage that has some scrollable copy in it.  The problem is, I can't seem to have any formatting for the text ... if I select a word or two to make bold, it all turns bold.  I gather I need to use the "Display Text as HTML" checkbox and then paste in some HTML formatted text but this doesn't seem to work.  I searched this forum and found that others were designating "htmlText" in Actionscript instead of just "text" ... that didn't work either.  I probably just did it wrong, or maybe it's becuase I'm using the UI component "UIscrollBar" for it's scrolling of the text.
    Is there anything else I need to do to be able to format some text with strong tags and maybe some href links?
    I have my properties inspector with the following check marks:
    Display as HTML
    Multiline
    Dynamic Text
    selectable
    Thanks everyone.

    Shamelss bump

  • Stored Procedure for displaying data in Crystal Reports

    Hi I am new to Oracle & Crystal Reports,so can any one please give me sample stored procedure to display data in Crystal report from Oracle by passing rwo input values.

    from site:-
    Crystal Reports will only support the return of a single refcursor from Oracle. Even the latest and greatest version 10 doesn't allow you to return more than one recordset at a time. You could add one more step to your procedure that would join up the output of the multiple refcursors into a PL/SQL table and then fetch the result set out through a single refcursor. That way you are using temporary space that will be cleaned up as soon as the connection is terminated and will only be returning a single refcursor

  • Problem in displaying text inside the item label - JFREECHART

    Hi All,
    I dont know whether this is the right place or not to post the queries related to jfreechart here .
    I am facing a problem in displaying the text inside the item label in jfreeChart. I am trying to print the text in 2 lines one below the other at the top of each bar in waterfall chart.
    Please find the code below in next post. The problem i am facing is it is neglecting the new line character . If any one knows how to display the text one below the other please help me out .
    Thanks in advance .
    Regards,
    Diw

    i am facing the problem in pasting the complete code as its exceeds the message text limitiation, please find the link below for the code .
    http://www.java-forums.org/java-2d/12087-problem-displaying-text-inside-item-label-jfreechart.html#post36648
    Early response will be appreciated . Thanks in advance
    Regards,
    Diw
    Edited by: Diw on Sep 30, 2008 11:15 AM
    Edited by: Diw on Sep 30, 2008 11:16 AM

  • Displaying text based on variable

    I have a variable defined as brushSize.  Depending on the value of brushSize, I want to display text in a dynamic text field that relates to its value.
    For brushSize values of 3, 13, 23, 33, and 43 I'd like to  display 1, 2, 3, 4, and 5 respectively.  I'm not really sure where to begin here, but I have tried and failed with something like this:
    if( brushSize == 3) {
        brushSizeDisplay("1")
    Any suggestions?

    When I open up a new flash document and start from scratch, it works fine.  But when I try to apply it to my existing project it isn't translating.  Here is the code for the variable that I wish to determine what specific text to display:
    var brushSize:Number = 23;
    var brushSizeMax:Number = 43;
    var brushSizeMin:Number = 3;
    function changeValue(pHow:Number){
        brushSize += pHow;
        if(brushSize > brushSizeMax){
            brushSize = brushSizeMax;
        if(brushSize < brushSizeMin){
            brushSize = brushSizeMin;
        brushSizeText.text = brushSize;
    brushUp.onPress = function(){
        changeValue(10);
    brushDown.onPress = function(){
        changeValue(-10);
    when I try
    if( brushSize == 3) {
         brushSizeDisp.text=1;
    I get no results.  brushSize is my variable, and brushSizeDisp is the instance name of a dynamic text field that I placed on the stage.

  • Display Text in the UI.

    Hi,
    My requirement is "To display question and, A B C as answers in three different radio buttons".
    Java
    1)How do you rate yourself in Java?
    radiobutton A radiobutton B radiobutton C
    2)where do you in Exception handling?
    radiobutton A radiobutton B radiobutton C
    Oracle
    1)How do you rate yourself in Oracle?
    radiobutton A radiobutton B radiobutton C
    Similarly I have 12 questions under three categories like Java,Oracle,Linux.I have stored all the parameters in one table sat PARAMETERS and categories in a different table say CATEGORIES.How do i display in the UI?Any pointers will be good for me to catch up with.
    Thanks in advance

    Thanks Jari..I have started it up..The problem I'm facing is to display the text above from PARAMETERS table and then displaying the A B C options as radio button below the text from another table GRADES.

Maybe you are looking for