<?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: checking the select option values present in Range table.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212177#M1006547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you write Like this then it will give syntax error. I used ur coding and system is throwing me error.&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;   select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-low = '000000000060000010'.&lt;/P&gt;&lt;P&gt;r_matnr-high = '000000000060000011'.&lt;/P&gt;&lt;P&gt;r_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF S_matnr[] NOT IN R_matnr[].&lt;/P&gt;&lt;P&gt;  write: 'Not Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  write: 'Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use The code what I Given before it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;   select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-low = '000000000060000010'.&lt;/P&gt;&lt;P&gt;r_matnr-high = '000000000060000011'.&lt;/P&gt;&lt;P&gt;r_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF S_matnr[] EQ R_matnr[].&lt;/P&gt;&lt;P&gt;  write: 'Not Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  write: 'Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;U can also use loop at s_matnr to check comapre one by one record in range tab but performance will be slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nagaraj Kalbavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 11:59:12 GMT</pubDate>
    <dc:creator>former_member70391</dc:creator>
    <dc:date>2008-07-16T11:59:12Z</dc:date>
    <item>
      <title>checking the select option values present in Range table..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212174#M1006544</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;   I 've to check whether the values given in select option is present in a range table which i ve created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i ve written like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SO_SURDT NOT IN R_RANGETAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212174#M1006544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: checking the select option values present in Range table..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212175#M1006545</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;REPORT  ZTEST01.&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;   select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-low = '000000000060000010'.&lt;/P&gt;&lt;P&gt;r_matnr-high = '000000000060000011'.&lt;/P&gt;&lt;P&gt;r_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_matnr[] eq r_matnr[].&lt;/P&gt;&lt;P&gt;  write: 'Equal'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write: 'Not Equal'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nagaraj Kalbavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212175#M1006545</guid>
      <dc:creator>former_member70391</dc:creator>
      <dc:date>2008-07-16T11:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: checking the select option values present in Range table..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212176#M1006546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ' ve written like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF S_AURDT NOT IN RANGETAB.&lt;/P&gt;&lt;P&gt;    message E000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where rangetab contains fields low,high,sign,option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to check values in select option is present in rangetab or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when multiple vales for s_aurdt are given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212176#M1006546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T11:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: checking the select option values present in Range table..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212177#M1006547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you write Like this then it will give syntax error. I used ur coding and system is throwing me error.&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;   select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-low = '000000000060000010'.&lt;/P&gt;&lt;P&gt;r_matnr-high = '000000000060000011'.&lt;/P&gt;&lt;P&gt;r_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF S_matnr[] NOT IN R_matnr[].&lt;/P&gt;&lt;P&gt;  write: 'Not Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  write: 'Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use The code what I Given before it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt;   select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-low = '000000000060000010'.&lt;/P&gt;&lt;P&gt;r_matnr-high = '000000000060000011'.&lt;/P&gt;&lt;P&gt;r_matnr-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF S_matnr[] EQ R_matnr[].&lt;/P&gt;&lt;P&gt;  write: 'Not Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  write: 'Equal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;U can also use loop at s_matnr to check comapre one by one record in range tab but performance will be slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nagaraj Kalbavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-select-option-values-present-in-range-table/m-p/4212177#M1006547</guid>
      <dc:creator>former_member70391</dc:creator>
      <dc:date>2008-07-16T11:59:12Z</dc:date>
    </item>
  </channel>
</rss>

