<?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: ragarding select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188948#M1001323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT z_manufdate z_thonum z_ndsnum z_digicard&lt;/P&gt;&lt;P&gt;FROM ztbukxxin003&lt;/P&gt;&lt;P&gt;INTO TABLE tab_ztbukxxin003.&lt;/P&gt;&lt;P&gt;WHERE z_manufdate GE s_date-low&lt;/P&gt;&lt;P&gt; and z_manufdate LE s_date-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the above query..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2008 05:09:15 GMT</pubDate>
    <dc:creator>former_member195383</dc:creator>
    <dc:date>2008-07-24T05:09:15Z</dc:date>
    <item>
      <title>ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188946#M1001321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                i have designed a selection-screen with the date range, bcz user wants to select the data pertaining to the given dates. so for this plz refer my code as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_date FOR ztbukxxin003-z_manufdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR : tab_ztbukxxin003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT z_manufdate  z_thonum z_ndsnum z_digicard&lt;/P&gt;&lt;P&gt;         FROM ztbukxxin003&lt;/P&gt;&lt;P&gt;         INTO TABLE tab_ztbukxxin003.&lt;/P&gt;&lt;P&gt;         WHERE z_manufdate IN s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF syst-subrc = 0.&lt;/P&gt;&lt;P&gt;    SORT tab_ztbukxxin003 BY z_manufdate z_thonum z_ndsnum.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in this the issue is when i am not using where clause in my select query i am getting the records but not according to the given dates(i.e.i am getting the records beyond the dates even).and when i write the select query with where clause i am not getting the records into the internal table itself.of-course i have the records pertaining to the date range in my database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody give the solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188946#M1001321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T05:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188947#M1001322</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;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-000.

SELECT-OPTIONS : s_date FOR ztbukxxin003-z_manufdate.

SELECTION-SCREEN END OF BLOCK blk1.

CLEAR : tab_ztbukxxin003.

SELECT z_manufdate z_thonum z_ndsnum z_digicard
FROM ztbukxxin003
INTO TABLE tab_ztbukxxin003
WHERE z_manufdate IN s_date.

IF syst-subrc = 0.
SORT tab_ztbukxxin003 BY z_manufdate z_thonum z_ndsnum.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u r table z_manufdate z_thonum z_ndsnum z_digicard has only those four fields if so it will work for sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188947#M1001322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T05:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188948#M1001323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT z_manufdate z_thonum z_ndsnum z_digicard&lt;/P&gt;&lt;P&gt;FROM ztbukxxin003&lt;/P&gt;&lt;P&gt;INTO TABLE tab_ztbukxxin003.&lt;/P&gt;&lt;P&gt;WHERE z_manufdate GE s_date-low&lt;/P&gt;&lt;P&gt; and z_manufdate LE s_date-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the above query..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188948#M1001323</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-07-24T05:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188949#M1001324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the date format in debug mode... i guess it is not the same format as in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188949#M1001324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T05:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188950#M1001325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no my table has 24 fields.in that i have taken only four fields as per the technical specification. so in this case what i have to do.should i use into corresponding fields in select quert or anything else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 06:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188950#M1001325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T06:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188951#M1001326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi padma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 that is not the reason.bcz if i comment the where clause then i am getting the records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 06:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188951#M1001326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188952#M1001327</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;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT z_manufdate z_thonum z_ndsnum z_digicard &lt;/P&gt;&lt;P&gt;              FROM ztbukxxin003&lt;/P&gt;&lt;P&gt;              INTO CORRESPONDING FIELDS OF TABLE tab_ztbukxxin003&lt;/P&gt;&lt;P&gt;              WHERE z_manufdate IN s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 06:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188952#M1001327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T06:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: ragarding select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188953#M1001328</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;If you comment the where clause you will definitely get all the values from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want you to check is the internal date format into which the system is converting may be different... so i wanted you to check in debug mode at the time of comparision of dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 12:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ragarding-select-options/m-p/4188953#M1001328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T12:50:18Z</dc:date>
    </item>
  </channel>
</rss>

