<?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: logic error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714951#M629606</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;&lt;/P&gt;&lt;P&gt; Check the date format in the field zsalesdata-dateofsale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_date1 type sy-datum,&lt;/P&gt;&lt;P&gt;         lv_date2 type sy-datum,&lt;/P&gt;&lt;P&gt;         lv_date3 type sy-datum.&lt;/P&gt;&lt;P&gt;lv_date1 = '20050101'.&lt;/P&gt;&lt;P&gt;lv_date2 = '20061231'.&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale LE lv_date1.&lt;/P&gt;&lt;P&gt;PERFORM improvements.&lt;/P&gt;&lt;P&gt;ELSEIF zsalesdata-dateofsale between lv_date1 AND lv_date2.&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM multiple_impr.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;PERFORM total.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ELSEIF zsalesdata-dateofsale GT lv_date2. "CPI calculations with effect from year beginning 01.01.2007&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM cpi_inflat.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 16:35:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T16:35:41Z</dc:date>
    <item>
      <title>logic error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714950#M629605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus &lt;/P&gt;&lt;P&gt;can anyone please advise me how to adjust the piece of code below as it is not validating correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale LE '2005.01.01'.&lt;/P&gt;&lt;P&gt;        PERFORM improvements.&lt;/P&gt;&lt;P&gt;      ELSEIF zsalesdata-dateofsale GT '2005.01.01' AND zsalesdata-dateofsale LE '2006.12.31'.&lt;/P&gt;&lt;P&gt;        PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;        PERFORM multiple_impr.&lt;/P&gt;&lt;P&gt;        PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;        PERFORM total.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ELSEIF zsalesdata-dateofsale GT '2006.12.31'.   "CPI calculations with effect from year beginning 01.01.2007&lt;/P&gt;&lt;P&gt;        PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;        PERFORM cpi_inflat.&lt;/P&gt;&lt;P&gt;        PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 16:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714950#M629605</guid>
      <dc:creator>prince_isaac</dc:creator>
      <dc:date>2007-08-22T16:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: logic error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714951#M629606</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;&lt;/P&gt;&lt;P&gt; Check the date format in the field zsalesdata-dateofsale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_date1 type sy-datum,&lt;/P&gt;&lt;P&gt;         lv_date2 type sy-datum,&lt;/P&gt;&lt;P&gt;         lv_date3 type sy-datum.&lt;/P&gt;&lt;P&gt;lv_date1 = '20050101'.&lt;/P&gt;&lt;P&gt;lv_date2 = '20061231'.&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale LE lv_date1.&lt;/P&gt;&lt;P&gt;PERFORM improvements.&lt;/P&gt;&lt;P&gt;ELSEIF zsalesdata-dateofsale between lv_date1 AND lv_date2.&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM multiple_impr.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;PERFORM total.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ELSEIF zsalesdata-dateofsale GT lv_date2. "CPI calculations with effect from year beginning 01.01.2007&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM cpi_inflat.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 16:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714951#M629606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: logic error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714952#M629607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale LE '2005.01.01'.&lt;/P&gt;&lt;P&gt;PERFORM improvements.&lt;/P&gt;&lt;P&gt;ELSE. "Means - Value is Greater than 2005.01.01 - Its Understood.&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale LE '2006.12.31'.&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM multiple_impr.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;PERFORM total.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;EndIF.&lt;/P&gt;&lt;P&gt;IF zsalesdata-dateofsale GT '2006.12.31'. "CPI calculations with effect from year beginning 01.01.2007&lt;/P&gt;&lt;P&gt;PERFORM insert_itab.&lt;/P&gt;&lt;P&gt;PERFORM cpi_inflat.&lt;/P&gt;&lt;P&gt;PERFORM inflation_display.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check the code in this way and let me know if you face some issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lijo Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 16:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-error/m-p/2714952#M629607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T16:46:10Z</dc:date>
    </item>
  </channel>
</rss>

