Sourcetable for text elements

Hi there, could You tell me which table keeps application texts?
I've got such problem, that I'd like to determine text language by code, so for example:
IF ( condition1 ) .
  text-001 will be taken in language A .
ELSEIF ( condition 2 ) .
  text-002 will be taken in language B .
ENDIF .
I tried
IF ( condition1 ) .
  langu = 'A' .
ELSEIF ( condition 2 ) .
  langu = 'B' .
ENDIF .
but it has no effect, because when sy-langu in one line is set to new value ... in the next line in debuger it takes the old value
So maybe I could ... SELECT texts directly from database with language key, according to some code-condition ... is it make any sense?
DATA: langu LIKE sy-langu .
IF ( condition1 ) .
  langu = 'A' .
ELSEIF ( condition 2 ) .
  langu = 'B' .
ENDIF .
SELECT text FROM text_table WHERE language = langu .
Which table are text kept in? I'd be thankful for some tip, greetings. P.

HI,
Use this Statement to get the text elements of the program..
READ TEXTPOOL prog INTO itab LANGUAGE lang.
For more help press F1.

Similar Messages

  • Language translation for text elements.

    Hey ABAP Gurus,
    I am having a problem, with translation of text elements in korean language. I have translated the TEs in korean, but they dont appear in ko, they appear in Portuguese...
    I have tried using se63, and se80 for the translation...
    Am I missing anything here? Please advise!
    Thanks Nina.

    Hi,
    Check out transaction
    SE32
    Please check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/b4/54601d77f38e429ffad9e3e11c1b25/frameset.htm
    Regards
    Kiran Sure

  • No new editor for Text elements in Smart forms

    Hello all,
    I've a problem on SAP demo system (version 7.2). When I add new Text element on window then on tab General Attributes I'm only able to see ComboBoxes for "Text Type", "Start", button pencil (for going into fullscreen old editor) and button for checking object. The last thing is that I can also see here label "Use the fullscreen text editor". When I've checked on other systems I saw that instead of that label there is new editor here, and clicking on pencil button leads to new fullscreen editor.
    Does anybody know where I can enforce smartforms builder to use new editor?
    Best regards
    Marcin Cholewczuk

    Hello Marcin,
    Is the text edit portion showing as disabled?
    FYI i don't have MS Office installed on my frontend & in my case the text edit is disabled. Is this the case with you as well
    BR,
    Suhas

  • SAP SCRIPTs and syntax for text elements!

    Hi all,
    I am very new to this forum.
    I am learning SAP scripts.Can any body here suggest me how to go about it?
    More over i want the syntax that is used in page windows text elements.
    It would be greatly appreciated if u could provide the documents if any for the same.
    Thanks,
    Ravi Soni.

    Warm welcome to SDN.
    Have a look below online PDFs related to scripts:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
    Also have a look at below links:
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf.
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    I hope it helps.
    If you are satisfied with the answers, then you can give points to those answers by clicking on left side of the answer and mark them as useful answer, very helpful answer or solved problem.
    Best Regards,
    Vibha
    <b>*Please mark all the helpful answers</b>

  • Feature request: Heading Tags and Paragraph Tags for Text element

    Sugestion: Would like to see Reflow be able to format text element with heading tags like <h1> and paragraph tag <p>.

    Thanks! Style management and reusable styles are a HUGE feature set coming to Reflow...won't be there immediately but very soon.  Thanks for the input.

  • Table for text elements and selection texts

    Hi All,
    In which DB table does SAP stores program name and corresponding text-elements and selection texts used in that program.
    There is a table D010TINF which just stores basic information but not the text elements number and name.
    Thanks in advance.
    Regards,
    Atish

    hi,
    table name - RS38M (take se11 and give this, u can confirm)
    field name  - STEXTT
    rgds
    anver
    if hlped pls rwrd points

  • Syntax for text element in page windows.

    Hi ,
    I have written the syntax in page windows as follows:
    <B>Customer/Supplier:</> ,, &KNA1-NAME1&
    But I am not getting any data in the output screen.
    Plz suggest me the correct syntax.
    Regards,
    Mridul.

    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001 .
    PARAMETERS:  p_cheque   RADIOBUTTON GROUP rb1 DEFAULT 'X',              " Cheques
                 p_credit   RADIOBUTTON GROUP rb1,                          " Credit card
                 p_bacs     RADIOBUTTON GROUP rb1.                          " Bacs/Chaps
    SELECTION-SCREEN END OF BLOCK blk1.
    goto ->Text Element Selection Text
    P_CHEQUE     Cheques
    P_CREDIT                     Credit Card
    P_BACS               Bacs / Chaps
    you can able to assign text to radio button.
    Rewards if useful...............
    Minal

  • Focus for text elements

    hi
    I want to set the focus of mouse cursor on a certain component.
    for example - if the text in the text feld is not valid -> move the focus to this field.
    how can i control that?

    textComponent.requestFocus()

  • Text elements not displayng for upgraded 7.x worbook

    Hi Experts,
    I have migrated a 3.x workbook to 7.x worbook. In 3.x I have text elements for variable in my layout.. After migration the text elements for variables are not displaying and they are blank in 7.x workbook. Is there any equelent opton for text elements option in a workbook in BI 7.0 as it is in BW 3.5 in the layout menu
    Please respond to this if you have same issue.
    Thanks
    Bhanu

    Yeah DB,
    when you Upgrade from 3.5 to 7.0 follow the below procedure ,
    Open 3.x WB.
    Click okie on upgrade options and on the messages.
    Refresh your WB, enter required varaibles ( by default variables should bring some data if 'Save and reuse varaibles option is ticked in 3.x WB' ) - there is some problem with this variables in SP14(Back end)
    Now save your WB - will give u an pop up to save it .Click okie.
    Close and reopen your WB , change varaibles and see still you are missing your text elements or not ?
    Regards
    KK

  • Maintaining Text Elements in Original vs. Logon Language

    For report RFIDPL06, we are adding a new text element. The button "Maintain in Original Language" was clicked and the new text element was added to language "DE".
    Our question: How do we switch to "Maintain in Logon Language" so that we can add the new text element in language "EN"?
    The RFIDPL06 original language is "DE".
    Any help appreciated.
    We are using SE38 to maintain the text elements. The new text element is in English so we do not need a translation. We need to be able to maintain the text element in English. The logon language is English but the text elements are in German.
    How do we switch to maintain the text elements in English?
    Edited by: Doris Howard on Jan 5, 2009 5:16 PM

    Doris Howard wrote:
    > For report RFIDPL06, we are adding a new text element.
    1. How you are adding a new text element to a standard report. after getting access key?
    If you want to maintain translaction for text element in EN then you need to use transaction code SE63.

  • Creating text elements dynamically by program

    Hi all,
    Do you know how I can create text symbols or selection texts dynamically by program? (calling a FM or editing a table?)
    What's the table for text elements?
    Thanks in advance,
    Mathieu

    Hi,
    Not sure of FM. But programically u can do.
    Check the statement
    INSERT TEXTPOOL PROGRAM FROM TAB LANGUAGE
    SY-LANGU.
    This creates the text elements in the specifies program and in specified language.
    Not only text elements but also list headings u can create.
    Check below sample code given by SAP.
    DATA: PROGRAM(8) VALUE 'PROGRAM',
          TAB LIKE TEXTPOOL OCCURS 50 WITH HEADER LINE.
    TAB-ID = 'T'. TAB-KEY = SPACE.  TAB-ENTRY = 'Sales'.
    APPEND TAB.
    TAB-ID = 'I'. TAB-KEY = '200'.  TAB-ENTRY = 'Tax'.
    APPEND TAB.
    TAB-ID = 'H'. TAB-KEY = '001'.  TAB-ENTRY = 'Name   Age'.
    APPEND TAB.
    TAB-ID = 'S'. TAB-KEY = 'CUST'. TAB-ENTRY = 'Customer'.
    APPEND TAB.
    TAB-ID = 'R'. TAB-KEY = SPACE.  TAB-ENTRY = 'Test program'.
    APPEND TAB.
    SORT TAB BY ID KEY.
    INSERT TEXTPOOL PROGRAM FROM TAB LANGUAGE SY-LANGU.
    eg:TAB-ID = 'I'.                 For Text elements
    TAB-KEY = '200'.             Text element number
    TAB-ENTRY = 'Tax'.        Actual text
    But use it only for new developments. Bucause it may overwrite the existing texts.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Aug 8, 2008 2:48 PM

  • Creation of Text Element in Custom Script for MEDRUCK

    hi,
         i have a problem in the scripts, the script is customized one but driver program is standard one.
    few text element which are in the page windows but not appering in the output, how can we make them to appear in the output.
    can we add new text element without modifying driver program in script,
    can any one suggest me any thing for solving this problem.
    thanks in advance.

    hi,
    i havent found any write_form function call in the standard driver program.i think is it is system generated driver program for MEDRUCK.
    in my custom form few text elements are defined alredy but they are not appearing in the output, i tried by putting some hardcoded text in those text elements but it doesnt worked.
    what might be the reason.
    can any one know about this help me solving this problem.
    thanks in advance
    regards,
    pavan

  • Smartform u0096 SO10 Vs Text Elements for Lang translation

    Hi,
    I have lot of text elements to be created in smartform, which needs to be translated in different languages. I would like to know the best approach. Is it better to create S010 objects and have them maintained in different language or is it better to maintain as text elements and then get them translated via SE63.
    Can some please suggest the best approach with reason for the same?
    Thanks,
    Vimal

    hi
    It is better to create in SO10 because if you want those elements in feature for any other purpose you can directly use those text elements.
    regards
    sreelatha gullapalli

  • Problem in transporting the text elements for user exit EXIT_SAPLV09A_002

    Hi  All,
    I am facing a problem in transporting the text element (text symbol) for the exit EXIT_SAPLV09A_002. It is implemented and transported but the text elements are not transported and even if I try to delete them and then create them again, on activation it doesn't prompts for TO and it version its shows it as local object. I have tried to manually assign the TO by using limu as id of program and rept as type and SAPLXV09 as the name of the object but still it doesn't allows as an error message comes prompting local object cannot be assigned to TO. Kindly suggest solution this problem.
    Regards,
    Sachin
    Edited by: Sachin Dangayach on Nov 15, 2010 4:21 PM

    Hello ,
               In the Quality after you run the report check in the layout option>display text elements> variables and check what value is displayed for the use exit variable , if it is correct then problem may be in the selection you gave when you run the report if the user exit variable value is wrong , then set a break point in the code and run the report from rsrt and check where the error is.
    hope it is clear
    assign points if useful

  • Text elements in Webdynpro for Abap

    Hi,
    Can anybody explain me how to create text element in webdynpro for abap?
    Regards,
    Soumya

    Hi,
    when you are in the component and that view, then click on menu->GOTO->TEXT symbols and maintain there.
    You can access them through this coding
    lv_str = wd_assist->if_wd_component_assistance~get_text( `016` ).
    Regards,
    Lekha.

Maybe you are looking for