<?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: doubt in selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450850#M213521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1 f2 ... from payr into table itab where&lt;/P&gt;&lt;P&gt;                  pridt in se_cpud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;delete itab where voidd &amp;lt; sel_cpud.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 17:45:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-15T17:45:17Z</dc:date>
    <item>
      <title>doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450848#M213519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  want to pick the data from payr table where pridt(creation date) IN sel_cpud ( selection screen field)and&lt;/P&gt;&lt;P&gt; voidd &amp;gt; sel_cpud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean , i need to get checks from payer for the period of creation date and need to include voided checks whose void date is greater than creation date which we enter in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write a query.&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;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450848#M213519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450849#M213520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from payr where pridt IN sel_cpud&lt;/P&gt;&lt;P&gt;         AND voidd &amp;gt; sel_cpud , its not picking any data even data is avilable between  this pridt period which we enter in selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450849#M213520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T17:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450850#M213521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select f1 f2 ... from payr into table itab where&lt;/P&gt;&lt;P&gt;                  pridt in se_cpud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;delete itab where voidd &amp;lt; sel_cpud.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450850#M213521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T17:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450851#M213522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need a second parameter field on your screen for "Voided Check Date Cutoff".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: p_vccd type sy-datum.

select * from payr 
   where pridt IN sel_cpud
     AND voidd &amp;gt; p_vccd.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450851#M213522</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-15T17:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450852#M213523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use OR not AND. Also, 'voidd &amp;gt; selcpud' will not work because selcpud is a select option. So if the user enters a range of dates, are you saying your voided date should be greater than every one of them? Think again if it makes sense. If it is a single date(parameter) entered in the selection screen, then it is ok no if it is a range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450852#M213523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450853#M213524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you cannot use &amp;gt; if your selection screen field is a defined using SELECT-OPTIONS.&lt;/P&gt;&lt;P&gt;if it is defined using PARAMETERS then your code should look like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from payr into table int_payr where pridt eq sel_cpud and voidd gt sel_cpud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have defined the SELECT-OPTIONS then your code should look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES r_voidd FOR payr-voidd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SEL_CPUD.&lt;/P&gt;&lt;P&gt; MOVE: SEL_CPUD-LOW TO R_VOIDD-LOW,&lt;/P&gt;&lt;P&gt;       SEL_CPUD-HIGH TO R_VOIDD-HIGH,&lt;/P&gt;&lt;P&gt;       'EQ' TO R_VOIDD-OPTION,&lt;/P&gt;&lt;P&gt;       'I' TO R_VOIDD-SIGN.&lt;/P&gt;&lt;P&gt; APPEND R_VOIDD.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from payr into table int_payr where pridt in sel_cpud and voidd in R_VOIDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-selection/m-p/1450853#M213524</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-15T17:47:37Z</dc:date>
    </item>
  </channel>
</rss>

