<?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 based on customer language in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611935#M1569413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text element. I have maintained translations for it. I don't want the text elements based on logon language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the value fetching from kna1-spras i need that respective language translation to be displayed from the text element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to maintain a piece of code for that ( like giving conditions like if..else).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the requirement is clear now. Suggestions are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Kausthub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jan 2011 09:30:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-01T09:30:11Z</dc:date>
    <item>
      <title>Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611930#M1569408</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;Is there any way i can retrieve text elements based on &lt;STRONG&gt;&lt;U&gt;customer language in kna1 table&lt;/U&gt;&lt;/STRONG&gt; , if the translations for all the languages are maintained ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, could you please provide a sample code instructing how to fetch ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 12:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611930#M1569408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611931#M1569409</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;You can use the FM READ_TEXT with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;language = kna1-spras&lt;/P&gt;&lt;P&gt;name = kna1-kunnr&lt;/P&gt;&lt;P&gt;object = KNA1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 13:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611931#M1569409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611932#M1569410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check Function Module &lt;STRONG&gt;READ_TEXTELEMENT_FROM_REPORT&lt;/STRONG&gt; for reading the text elements from report.&lt;/P&gt;&lt;P&gt;Pass below inputs to the import parameter of above FM:&lt;/P&gt;&lt;P&gt;PROGRAM = 'ZTEST'   &amp;lt;---- Program name&lt;/P&gt;&lt;P&gt;KEY   = '100'                &amp;lt;---- Text element key (text-100)&lt;/P&gt;&lt;P&gt;LANGU = 'EN'              &amp;lt;----- Customer language in KNA1 table&lt;/P&gt;&lt;P&gt;Get output from export parameter &lt;STRONG&gt;ENTRY&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 13:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611932#M1569410</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2010-12-31T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611933#M1569411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kausthub and others,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct me if I'm wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KNA1 is customer Master - not language-dependent and no language-dependent text table defined for KNA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The term Text Elements refers in ABAP to short texts in ABAP program source that can be translated and will be fetched in user logon language if maintained, otherwise in program source language. Such texts can be fetched using statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TEXTPOOL prog INTO itab LANGUAGE lang.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other short texts may be stored in language-dependent text tables. Can be fetched directly from their tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long texts are stored in pool tables and fetched using function READ_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is your turn to explain in detail and give example of what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 21:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611933#M1569411</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-12-31T21:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611934#M1569412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable suggestions. I will check and will get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy New year to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jan 2011 05:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611934#M1569412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-01T05:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611935#M1569413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text element. I have maintained translations for it. I don't want the text elements based on logon language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the value fetching from kna1-spras i need that respective language translation to be displayed from the text element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to maintain a piece of code for that ( like giving conditions like if..else).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the requirement is clear now. Suggestions are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Kausthub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jan 2011 09:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611935#M1569413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-01T09:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611936#M1569414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your suggestion. It works fine. The Field Entry in Textpools holds the translation value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Kausthub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jan 2011 10:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611936#M1569414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-01T10:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Text Elements based on customer language</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611937#M1569415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kausthub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the language from table and then use statement&amp;nbsp; " set language '&amp;lt;language you found&amp;gt;'&amp;nbsp; " in your abap code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 09:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-elements-based-on-customer-language/m-p/7611937#M1569415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-19T09:13:18Z</dc:date>
    </item>
  </channel>
</rss>

