<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text Elements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349244#M803311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using text elements you give the user defined description to the technical name. And using this text element the text will change depend on the login language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 13:43:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T13:43:04Z</dc:date>
    <item>
      <title>Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349238#M803305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the use of text elements in program?In that they have given Selection Texts,Field Symbols....?When and how to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349238#M803305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349239#M803306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they are used because they get converted in login language that means if u login by chinese language your text that u created in english will b converted to chinese&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEEP ROCKIN&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 23, 2008 6:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349239#M803306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349240#M803307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you want to write text in the Selection Screen you have to write it in the Selection Texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Selection-screen suppose you are giving a parameter as p_matnr and if you want to write material number in the selection-screen then you have to write it in the Selection-texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Text Elements go to Selection -Texts and next to the parameter you defined write the text whatever you want in the Selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roja Velagapudi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349240#M803307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349241#M803308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  The main purpose of text elements are language dependable, Selection texts can be used as the text of selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349241#M803308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349242#M803309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text element maintenance is a tool in the ABAP Workbench that makes it easier to maintain program texts in different languages. Any text that a program displays on the screen can be maintained as a text element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text elements make it very easy for programmer to code and provide some wndrful features.&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;in selection text if u click in dictionary check box then ,it will take all the properties of that elements data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;kushagra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 23, 2008 6:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349242#M803309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349243#M803310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text elements are used to store text , the basic purpose of using this is that the same program can be run in diffrent languages and so the titles/headers must be in the language the program is execued , if you hardcode it in the program this will not work , so we use a text elemnt and the system selects the language for the text element based on the language in which the user has logged in.&lt;/P&gt;&lt;P&gt;You can translate a text element by using the option in the menu&lt;/P&gt;&lt;P&gt;Goto--&amp;gt; Translation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are useful when the program is used in other languages.&lt;/P&gt;&lt;P&gt;So that they are automatically converted to that language.&lt;/P&gt;&lt;P&gt;So define the texts in the text elements and use their ID's like (TXT-05) in the code&lt;/P&gt;&lt;P&gt;don't sue the complete texts in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection texts are used to give meaning ful names for the fields on selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto your program in display mode in se38&lt;/P&gt;&lt;P&gt;in menu goto&lt;DEL&gt;text elements&lt;/DEL&gt;selection texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field symbols offer functionlity similar to pointers in other programming languages. It does not occupy memory for the data object, it points to the object that has been assigned to the field symbol. You use the assign command to relate to the data object. After the assign operation you can work with field symbol in the same way as with the object itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You define the field symbol as: field-symbols &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbol &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;data field value 'X'.&lt;/P&gt;&lt;P&gt;asssign field to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field symbol &amp;lt;fs&amp;gt; now inherits all the properties from the assigned field, and you can work with the field symbol in the same way as with the field itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the examples given here for working with field symbols:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2401.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2401.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2402.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2402.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2403.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2403.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple program.&lt;/P&gt;&lt;P&gt;data : letter(10) .&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign letter to &amp;lt;fs&amp;gt; type 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple program.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF NAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXTNAME(10),&lt;/P&gt;&lt;P&gt;FIRSTNAME(10),&lt;/P&gt;&lt;P&gt;LASTNAME(10),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF NAME.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;F&amp;gt; TYPE NAME.&lt;/P&gt;&lt;P&gt;DATA: LINE(30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LINE = 'JOHN SMITH SHRI'.&lt;/P&gt;&lt;P&gt;ASSIGN LINE TO &amp;lt;F&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;WRITE: / 'Lastname:', &amp;lt;F&amp;gt;-LASTNAME,&lt;/P&gt;&lt;P&gt;'Firstname:', &amp;lt;F&amp;gt;-FIRSTNAME,&lt;/P&gt;&lt;P&gt;'Nextname :', &amp;lt;F&amp;gt;-NEXTNAME.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349243#M803310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349244#M803311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using text elements you give the user defined description to the technical name. And using this text element the text will change depend on the login language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 13:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements/m-p/3349244#M803311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T13:43:04Z</dc:date>
    </item>
  </channel>
</rss>

