<?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: how to compare data using dynamic operators in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564312#M1564737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to fill a TYPE RANGE internal table with your criteria, and use a IN range in your check.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR ls_range.
REFRESH lt_range.
ls_range-sign = 'I'.
ls_range-option = zoperator. " e.g. 'GT' or 'NE'
ls_range-low = zseize. "
APPEND ls_range TO lt_range.
*  (...)
IF a IN lt_range.
  a = 1.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jan 2011 07:43:20 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2011-01-14T07:43:20Z</dc:date>
    <item>
      <title>how to compare data using dynamic operators</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564311#M1564736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually I have a problem in making my code more dynamic. I have a control table, which contains several conditions.&lt;/P&gt;&lt;P&gt;e.g. if seize &amp;gt; 50, or if seize &amp;gt;50 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to use this table to compare transcational. However I could not find a way to replace the mathematical operator dynamically:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a &amp;gt; zseize.&lt;/P&gt;&lt;P&gt;a = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I want to replace the operator &amp;gt; using another variable e.g. &lt;/P&gt;&lt;P&gt;if a variable_operator zseize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Goliad001&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 07:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564311#M1564736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-14T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare data using dynamic operators</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564312#M1564737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to fill a TYPE RANGE internal table with your criteria, and use a IN range in your check.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR ls_range.
REFRESH lt_range.
ls_range-sign = 'I'.
ls_range-option = zoperator. " e.g. 'GT' or 'NE'
ls_range-low = zseize. "
APPEND ls_range TO lt_range.
*  (...)
IF a IN lt_range.
  a = 1.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 07:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564312#M1564737</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-01-14T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare data using dynamic operators</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564313#M1564738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, that is what I was looking for. I will try it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Goliad001&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 08:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-compare-data-using-dynamic-operators/m-p/7564313#M1564738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-14T08:09:21Z</dc:date>
    </item>
  </channel>
</rss>

