<?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: Reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621131#M872358</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; You can get the present month ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_date     like sy-datum.
data : v_present_date like sy-datum,
         v_present_month(2),
         v_previous_date like sy-datum,
         v_previous_month(2).

initialization.
v_date = sy-datum.

v_present_month = v_date+4(2).

CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = v_date
days = '00'
months = '01'
signum = '-'
years = '00'
IMPORTING
calc_date = v_previous_date
ENDIF.


v_previous_month = v_previous_date+4(2).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; fill the ranges with these&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 04:28:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T04:28:42Z</dc:date>
    <item>
      <title>Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621128#M872355</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 classical report,&lt;/P&gt;&lt;P&gt;I need to display present month and previous month data from 1 internal table.&lt;/P&gt;&lt;P&gt;For this I created 2 ranges and in select statement I write the ranges.&lt;/P&gt;&lt;P&gt;But I able to display for one range at a time.&lt;/P&gt;&lt;P&gt;I want  to display two ranges data at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 04:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621128#M872355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T04:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621129#M872356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try moving the output data of your select query (data for two months) into an internal table. Loop at this internal table and write.&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 04:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621129#M872356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T04:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621130#M872357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you brief your requirement a bit more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you can paste your code which displays the output and also the part in which u are populating the ranges, that would be also helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 04:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621130#M872357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T04:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621131#M872358</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; You can get the present month ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : v_date     like sy-datum.
data : v_present_date like sy-datum,
         v_present_month(2),
         v_previous_date like sy-datum,
         v_previous_month(2).

initialization.
v_date = sy-datum.

v_present_month = v_date+4(2).

CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = v_date
days = '00'
months = '01'
signum = '-'
years = '00'
IMPORTING
calc_date = v_previous_date
ENDIF.


v_previous_month = v_previous_date+4(2).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; fill the ranges with these&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 04:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621131#M872358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T04:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621132#M872359</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; Paste your select statement code here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 04:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3621132#M872359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T04:29:21Z</dc:date>
    </item>
  </channel>
</rss>

