<?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: Syntax needed for particular month in Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897980#M1143943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sabyasachi kar  ,&lt;/P&gt;&lt;P&gt;                               Thanks for the response.&lt;/P&gt;&lt;P&gt;But I am not using any selection screen for my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2008 14:28:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-09T14:28:08Z</dc:date>
    <item>
      <title>Syntax needed for particular month in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897977#M1143940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;             My Issue is I am selection some fields from IMRG table into some internal table.&lt;/P&gt;&lt;P&gt;In this I need to select some records based on month condition.&lt;/P&gt;&lt;P&gt;Means I need to get the records info into the internal table regarding this month.&lt;/P&gt;&lt;P&gt;If i execute this report next month it should fetch the data from that month only.&lt;/P&gt;&lt;P&gt;How to make the syntax in select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards ...&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897977#M1143940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax needed for particular month in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897978#M1143941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then what are your selection criteria if its date then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to use a begin date and end date and where you need to mention high and low and use the same in your select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBRK~VBELN AS VBELN&lt;/P&gt;&lt;P&gt;         VBRK~VKORG AS VKORG&lt;/P&gt;&lt;P&gt;         VBRK~VTWEG AS VTWEG&lt;/P&gt;&lt;P&gt;         VBRP~PRODH AS PRODH&lt;/P&gt;&lt;P&gt;         VBRK~FKDAT AS FKDAT&lt;/P&gt;&lt;P&gt;         SUM( VBRP~FKLMG ) AS FKLMG&lt;/P&gt;&lt;P&gt;         SUM( VBRP~NETWR ) AS NETWR&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF WA_TAB FROM VBRK AS VBRK JOIN VBRP AS VBRP&lt;/P&gt;&lt;P&gt;         ON VBRK&lt;SUB&gt;VBELN = VBRP&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;         WHERE  VBRP~MATNR = WA_TAB-MATNR&lt;/P&gt;&lt;P&gt;         AND VBRP~WERKS = WA_TAB-WERKS&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;AND VBRK~FKDAT BETWEEN S_DATE-LOW AND S_DATE-HIGH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         AND VBRK~VKORG IN S_VKORG&lt;/P&gt;&lt;P&gt;         AND VBRK~VTWEG IN S_VTWEG&lt;/P&gt;&lt;P&gt;         AND VBRK~FKSTO NE 'X'&lt;/P&gt;&lt;P&gt;         AND VBRK~FKART EQ 'ZBI1'&lt;/P&gt;&lt;P&gt;         AND  ( VBRK&lt;SUB&gt;VBTYP EQ'M' OR VBRK&lt;/SUB&gt;VBTYP EQ 'P'  OR VBRK&lt;SUB&gt;VBTYP  EQ 'O' OR VBRK&lt;/SUB&gt;VBTYP EQ '6'&lt;/P&gt;&lt;P&gt;         OR VBRK~VBTYP EQ '5'  )&lt;/P&gt;&lt;P&gt;          GROUP BY VBRK&lt;SUB&gt;VBELN VBRK&lt;/SUB&gt;VKORG VBRK&lt;SUB&gt;VTWEG VBRP&lt;/SUB&gt;PRODH VBRK&lt;SUB&gt;FKDAT VBRP&lt;/SUB&gt;FKLMG.&lt;/P&gt;&lt;P&gt;         WA_TAB-VAR0 = ( ( WA_TAB-VAR0 + WA_TAB-FKLMG ) ).&lt;/P&gt;&lt;P&gt;         WA_TAB-VAR34 = ( WA_TAB-VAR34 + WA_TAB-NETWR ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sabyasachi kar on Dec 9, 2008 3:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897978#M1143941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax needed for particular month in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897979#M1143942</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;In different variable, get the current month from the sy-datum variable. You can then use this variable in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897979#M1143942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax needed for particular month in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897980#M1143943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sabyasachi kar  ,&lt;/P&gt;&lt;P&gt;                               Thanks for the response.&lt;/P&gt;&lt;P&gt;But I am not using any selection screen for my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897980#M1143943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax needed for particular month in Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897981#M1143944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abaper,&lt;/P&gt;&lt;P&gt;               I can understand what u r saying. I used my syntax like this&lt;/P&gt;&lt;P&gt;  select point vlcod erdat from IMRG into table ITAB&lt;/P&gt;&lt;P&gt;         where vlcod NE space and erdat eq sy-datum+4(2).&lt;/P&gt;&lt;P&gt;but i am not getting the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-needed-for-particular-month-in-select-statement/m-p/4897981#M1143944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:31:01Z</dc:date>
    </item>
  </channel>
</rss>

