<?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 translation in sap script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310338#M1392598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my sap script, i am using a standard text. Now I need to maintain this standard text for 2 languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two standard text with name name ZCPQM_INSPECTION_RESULT and maintained differerent values for language  EN and FR in SO10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script, i have to write it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZCPQM_INSPECTION_RESULT OBJECT TEXT ID ST LANGUAGE &amp;amp;lv_langu&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am not sure wher eto declare the variable lv_langu. Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2009 08:56:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-10T08:56:15Z</dc:date>
    <item>
      <title>translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310338#M1392598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my sap script, i am using a standard text. Now I need to maintain this standard text for 2 languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two standard text with name name ZCPQM_INSPECTION_RESULT and maintained differerent values for language  EN and FR in SO10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script, i have to write it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZCPQM_INSPECTION_RESULT OBJECT TEXT ID ST LANGUAGE &amp;amp;lv_langu&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am not sure wher eto declare the variable lv_langu. Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 08:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310338#M1392598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T08:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310339#M1392599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: INCLUDE TESTTEXT OBJECT TEXT ID ST LANGUAGE &amp;amp;NAST-SPRAS&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will include a SO10 Standard text "TESTTEXT" in the corresponding lagnuage in your form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP-Script you can not use statements like call funtion: edit_text, read_text, save_text, commit_text, delete_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to do so you need to jump off to an external perform like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: Perform edit_text in program YSD_PERFORM&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;NAST-SPRAS&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;VARIABLE&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhii...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 09:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310339#M1392599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T09:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310340#M1392600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Do like this put if condition in script editor and chk the languagae for eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if languaga eq 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text1. write incluude syntax here&lt;/P&gt;&lt;P&gt;else .&lt;/P&gt;&lt;P&gt;text2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And check in debugging whether the form is getting the language correctrly or not by activating the debugger..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 09:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310340#M1392600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T09:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310341#M1392601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your ans . but still I am stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have writeen the code like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: IF SY-LANGU = 'E'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: INCLUDE ZCPQM_INSPECTION_RESULT OBJECT TEXT ID ST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: ELSE IF SY-LANGU = 'F'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: INCLUDE ZCPQM_INSPECTION_RESULT_FR OBJECT TEXT ID ST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls correct me if i am doing wrong anywhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 11:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310341#M1392601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310342#M1392602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; Chk whether your sy-langu is getting in Script...Otherwise do like this nast-spras eq ;E; else.&lt;/P&gt;&lt;P&gt;something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 11:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310342#M1392602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T11:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: translation in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310343#M1392603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do like this I think it will work.if u hav any queries let me knw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: IF SY-LANGU = 'E'&lt;/P&gt;&lt;P&gt;/: INCLUDE ZCPQM_INSPECTION_RESULT OBJECT TEXT ID ST language E&lt;/P&gt;&lt;P&gt;/: ELSE IF SY-LANGU = 'F' &lt;/P&gt;&lt;P&gt;/: INCLUDE ZCPQM_INSPECTION_RESULT_FR OBJECT TEXT ID ST langauage F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 12:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translation-in-sap-script/m-p/6310343#M1392603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T12:00:35Z</dc:date>
    </item>
  </channel>
</rss>

