<?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: delete? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742452#M637294</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;&lt;/P&gt;&lt;P&gt;   I think u have to check this parameter only if the user enters any value here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope by using this event u can solve ur problem.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON  field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The Event AT SELECTION-SCREEN ON  field name&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This event is assigned to the selection screen fields corresponding to the report parameter or selection criterion psel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the filtering code inside this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LIJO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 12:16:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T12:16:03Z</dc:date>
    <item>
      <title>delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742447#M637289</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;i am getting data from a table besed on different input parameters.&lt;/P&gt;&lt;P&gt;in those P_CDATE is a select option and ints a OPTIONAL field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if user enters date in this i have to filter the output data.&lt;/P&gt;&lt;P&gt;it means i have to delete other records which r not equal to input DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vkr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742447#M637289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742448#M637290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you get data from table (with SELECT statement I guess ?) you just specify WHERE date IN p_date and it will work in any case (select-options is empty or not)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this would not work with a PARAMETER: in this case you have to check if it is empty then do a SELECT accordingly (with or without WHERE field EQ p_param)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742448#M637290</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2007-09-17T12:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742449#M637291</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;this input field i have not to use in where clause.&lt;/P&gt;&lt;P&gt;so that i am asking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other way to delect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am writing like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_cdate is not initial.&lt;/P&gt;&lt;P&gt;    delete int_outtab where andat ne p_cdate-low.&lt;/P&gt;&lt;P&gt;    if int_outtab[] is initial.&lt;/P&gt;&lt;P&gt;      message s958(ZKKI).&lt;/P&gt;&lt;P&gt;      stop.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742449#M637291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742450#M637292</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;u ca write like that.&lt;/P&gt;&lt;P&gt;why can't u use parameters in case u are using only p_cdate-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742450#M637292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742451#M637293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;If u've declared p_cdate as a select-option then use the following code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;if p_cdate is not initial.&lt;/P&gt;&lt;P&gt;delete int_outtab where andat NOT IN p_cdate.&lt;/P&gt;&lt;P&gt;if int_outtab[] is initial.&lt;/P&gt;&lt;P&gt;message s958(ZKKI).&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;If u've declared p_cdate as a parameter then use the following code&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;if p_cdate is not initial.&lt;/P&gt;&lt;P&gt;delete int_outtab where andat NE p_cdate.&lt;/P&gt;&lt;P&gt;if int_outtab[] is initial.&lt;/P&gt;&lt;P&gt;message s958(ZKKI).&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742451#M637293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742452#M637294</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;&lt;/P&gt;&lt;P&gt;   I think u have to check this parameter only if the user enters any value here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope by using this event u can solve ur problem.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON  field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The Event AT SELECTION-SCREEN ON  field name&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This event is assigned to the selection screen fields corresponding to the report parameter or selection criterion psel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the filtering code inside this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LIJO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742452#M637294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742453#M637295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajesh,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i written like this in select-options it wasa deleting entire data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vkr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 12:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742453#M637295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T12:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742454#M637296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;beware to check contents of table select-options ! (not header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do it with brackets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_cdate[] is not initial.&lt;/P&gt;&lt;P&gt;delete int_outtab where andat NOT IN p_cdate.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to use SO_CDATE in place of P_CDATE in order to make it clear if it is a parameter or a select-options  &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 08:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742454#M637296</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2007-09-18T08:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: delete?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742455#M637297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the changes made in second line of your code,&lt;/P&gt;&lt;P&gt;i hope it serves your purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_cdate is not initial.&lt;/P&gt;&lt;P&gt;delete int_outtab where NOT andat IN p_cdate. "Changes made here&lt;/P&gt;&lt;P&gt;if int_outtab[] is initial.&lt;/P&gt;&lt;P&gt;message s958(ZKKI).&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful, get back in case of query...&lt;/P&gt;&lt;P&gt;Cheers!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 08:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/2742455#M637297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T08:48:34Z</dc:date>
    </item>
  </channel>
</rss>

