<?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: Issue with So10 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557058#M1658759</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;Try with&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
/: DEFINE &amp;amp;W_CHECK&amp;amp; := 'X'.
/: IF &amp;amp;W_CHECK&amp;amp; = 'X'
* Cancelled Invoice
/: ELSE
* INVOICE
/: ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 14:36:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-15T14:36:55Z</dc:date>
    <item>
      <title>Issue with So10</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557056#M1658757</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;I am facing problem in So10  , I have added a IF ELSE conditionin So10 but the condition is not working .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both text are printing in output , Please find the below piece of code and kindly help  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*   INVOICE&lt;/P&gt;&lt;P&gt;/:   DEFINE &amp;amp;W_CHECK&amp;amp;&lt;/P&gt;&lt;P&gt;/*   IF &amp;amp;GS_HD_ORG-COMP_CODE&amp;amp; = '5250' AND &amp;amp;GS_HD_ORG-SALESORG&amp;amp; = 'RO10'&lt;/P&gt;&lt;P&gt;/:   IF &amp;amp;W_CHECK&amp;amp; = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Cancelled Invoice&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;/:   ELSE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INVOICE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;/:   ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In form its printing both 'Cancelled Invoice' and 'Invoice' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 13:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557056#M1658757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T13:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with So10</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557057#M1658758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never seen this done from standard text (SO10), but you don't have a defintion for W_CHECK...try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/: DEFINE &amp;amp;W_CHECK&amp;amp; = 'X' 
   or
/: DEFINE &amp;amp;W_CHECK&amp;amp; = ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557057#M1658758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with So10</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557058#M1658759</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;Try with&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
/: DEFINE &amp;amp;W_CHECK&amp;amp; := 'X'.
/: IF &amp;amp;W_CHECK&amp;amp; = 'X'
* Cancelled Invoice
/: ELSE
* INVOICE
/: ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557058#M1658759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T14:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with So10</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557059#M1658760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nusrat,&lt;/P&gt;&lt;P&gt;               Dont write the code in So10 instead  use it in the form layout itself. But if you using the same text in many places, use a subroutine pool and create a subroutine to check these global variable values and return a changing parameter such as lv_flag which can be used to check whether you should print this include text or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This ensures this So10 text to other applications also without these variables. Reusability will be more. Where as defining the variable here is also a good option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tapodipta Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so10/m-p/8557059#M1658760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-15T20:14:41Z</dc:date>
    </item>
  </channel>
</rss>

