<?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 report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477823#M836039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please tell me the logic to validate the date.? it should tell us in what quarter the date falls into..&lt;/P&gt;&lt;P&gt;if the from date is in I quarter it should restric the user to enter the to date from the I quarter itself.. respectively for the other quarters..&lt;/P&gt;&lt;P&gt;Please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 10:39:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-06T10:39:58Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477823#M836039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please tell me the logic to validate the date.? it should tell us in what quarter the date falls into..&lt;/P&gt;&lt;P&gt;if the from date is in I quarter it should restric the user to enter the to date from the I quarter itself.. respectively for the other quarters..&lt;/P&gt;&lt;P&gt;Please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477823#M836039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477824#M836040</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 guess there is no standard FM or report for your requirement. you can do it manually, capture the month from your from date based on the month number pass the quarter value in to some variable v_from_quarter. Do the same process for the TO date also and capture into v_to_quarter. Later check the v_from_quarter and v_to_quarter in the  &lt;STRONG&gt;at selection-screen&lt;/STRONG&gt; variant, if both same then give message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477824#M836040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477825#M836041</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;Pls refer to [&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="289560"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="409650"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhruv Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477825#M836041</guid>
      <dc:creator>dhruv_shah3</dc:creator>
      <dc:date>2008-03-06T10:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477826#M836042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Nalina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: w_last_date TYPE d, w_q_flag(3), w_quarter TYPE string.

SELECT-OPTIONS: s_date FOR w_last_date OBLIGATORY.

AT SELECTION-SCREEN ON s_date.
  IF s_date-low+0(4) &amp;lt;&amp;gt; s_date-high+0(4).
    MESSAGE e000(vz) WITH text-e01.
  ENDIF.

  IF s_date-low+4(2) &amp;lt;= '3'.
    CONCATENATE s_date-low+0(4) '03' '31' INTO w_last_date.
    w_q_flag = '1st'.
  ELSEIF s_date-low+4(2) &amp;lt;= '6'.
    CONCATENATE s_date-low+0(4) '06' '30' INTO w_last_date.
    w_q_flag = '2nd'.
  ELSEIF s_date-low+4(2) &amp;lt;= '9'.
    CONCATENATE s_date-low+0(4) '09' '30' INTO w_last_date.
    w_q_flag = '3rd'.
  ELSE.
    CONCATENATE s_date-low+0(4) '12' '31' INTO w_last_date.
    w_q_flag = '4th'.
  ENDIF.

  IF s_date-high &amp;gt; w_last_date.
    MESSAGE e000(vz) WITH text-e02 w_last_date.
  ENDIF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it works, please reward if it is helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3477826#M836042</guid>
      <dc:creator>graghavendra_sharma</dc:creator>
      <dc:date>2008-03-06T10:52:21Z</dc:date>
    </item>
  </channel>
</rss>

