<?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: Is this a correct if.. else.. statement using in Call Function? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899554#M1596641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, when you go to translation you translate texts from the original langauge into the required languages. So you need to translate to 'E' ('EN') and 'N' ('NL') for texts 007 and 008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what 2 languages you need here. 'N' is the SAP internal language code length 1 for 'NL' (Dutch). But you might need 'O' here. 'O' is the SAP internal language code length 1 for 'NO' (Norwegian).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 03:57:49 GMT</pubDate>
    <dc:creator>JackGraus</dc:creator>
    <dc:date>2011-05-24T03:57:49Z</dc:date>
    <item>
      <title>Is this a correct if.. else.. statement using in Call Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899550#M1596637</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;Is this a correct way by using IF and ELSE statement to call the function call?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF SY-LANGU = 'N'.&lt;/P&gt;&lt;P&gt;        l_header = 'Vennligst '(007).&lt;/P&gt;&lt;P&gt;        l_txtques = 'Er du sikker '(008).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF SY-LANGU = 'E'.&lt;/P&gt;&lt;P&gt;        l_header = 'PLEASE SELECT REASON'(006).&lt;/P&gt;&lt;P&gt;        l_txtques = 'Are you sure want to enter reason code?'(004).&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DO.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'POPUP_TO_DECIDE_LIST'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              mark_flag          = ' '&lt;/P&gt;&lt;P&gt;              mark_max           = 1&lt;/P&gt;&lt;P&gt;              start_col          = 80&lt;/P&gt;&lt;P&gt;              start_row          = 5&lt;/P&gt;&lt;P&gt;              textline1          = l_header&lt;/P&gt;&lt;P&gt;              titel              = 'REASON FOR CHANGE'(002)&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;              answer             = l_ans&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;              t_spopli           = i_spopli&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              not_enough_answers = 1&lt;/P&gt;&lt;P&gt;              too_much_answers   = 2&lt;/P&gt;&lt;P&gt;              too_much_marks     = 3&lt;/P&gt;&lt;P&gt;              OTHERS             = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 02:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899550#M1596637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T02:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a correct if.. else.. statement using in Call Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899551#M1596638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will work and syntactically it is correct but better would be something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*IF SY-LANGU = 'N'.
 l_header = 'Vennligst '(007).
 l_txtques = 'Er du sikker '(008).
 
*ELSEIF SY-LANGU = 'E'.
* l_header = 'PLEASE SELECT REASON'(006).
* l_txtques = 'Are you sure want to enter reason code?'(004).
* ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then translate the texts 007 and 008 into language 'N' and 'E'. You can do that in transaction SE38 with 'Goto -&amp;gt; Translation'.&lt;/P&gt;&lt;P&gt;The benefit is cleaner, shorter coding and the ability to possibly translate into more languages winthout changing the coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 02:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899551#M1596638</guid>
      <dc:creator>JackGraus</dc:creator>
      <dc:date>2011-05-24T02:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a correct if.. else.. statement using in Call Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899552#M1596639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do I need to include in the temporary worklist after I selected SE38 -&amp;gt; Goto -&amp;gt; translation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 03:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899552#M1596639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T03:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a correct if.. else.. statement using in Call Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899553#M1596640</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;SY-LANGU will return 2 char ., ie if logon language is English it will return EN not E., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u have to use  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-LANGU = 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 03:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899553#M1596640</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-05-24T03:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a correct if.. else.. statement using in Call Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899554#M1596641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, when you go to translation you translate texts from the original langauge into the required languages. So you need to translate to 'E' ('EN') and 'N' ('NL') for texts 007 and 008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what 2 languages you need here. 'N' is the SAP internal language code length 1 for 'NL' (Dutch). But you might need 'O' here. 'O' is the SAP internal language code length 1 for 'NO' (Norwegian).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 03:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-this-a-correct-if-else-statement-using-in-call-function/m-p/7899554#M1596641</guid>
      <dc:creator>JackGraus</dc:creator>
      <dc:date>2011-05-24T03:57:49Z</dc:date>
    </item>
  </channel>
</rss>

