<?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: Month wise splitting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612753#M1086855</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;For example user given date range like 01.01.2007 to 20.05.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can get month and year by using the fuction module like&lt;/P&gt;&lt;P&gt;CACS_DATE_GET_YEAR_MONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if pass 01.01.2007  we will get month like 01.&lt;/P&gt;&lt;P&gt;if pass 20.05.2008  we will get month like 05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define internal table with 12 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using ALV bulid the fieldcatalog dynamically .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_var = 05 - 01.&lt;/P&gt;&lt;P&gt;add 1 to lv_var.&lt;/P&gt;&lt;P&gt;do lv_var times.&lt;/P&gt;&lt;P&gt;bulid the fieldcatalog .&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 07:27:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T07:27:04Z</dc:date>
    <item>
      <title>Month wise splitting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612749#M1086851</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 did a report to get details of customers based on invoice date. Now I have to modify the report to get month wise splitting of columns based on invoice dates. In the selection screen if the user selects a range of dates for 3 months based on the invoice date i have to get data by month wise like eg...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer no.     may(price)  june   july&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19                   100              200    20&lt;/P&gt;&lt;P&gt;20                    0                10      300. in this the output should come. how should i write the code to get month wise splitting based on invoice date. Kindly suggest.&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;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 06:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612749#M1086851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T06:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Month wise splitting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612750#M1086852</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;&lt;/P&gt;&lt;P&gt;For getting your desired you have to use dynamic internal table.&lt;/P&gt;&lt;P&gt;where your fields will be based on the date range given.&lt;/P&gt;&lt;P&gt;Check out saptechnical.com for help in creating dynamic internal table.&lt;/P&gt;&lt;P&gt;As coding will be huge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 06:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612750#M1086852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T06:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Month wise splitting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612751#M1086853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will be using for max range of 12 months only so i don't require dynamic internal table. my doubt is how to split on month wise based on invoice date. how to keep control on month in the invoice date. any clues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 07:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612751#M1086853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T07:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Month wise splitting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612752#M1086854</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;Then capture the value of month by using offset and use fm 'IDWT_READ_MONTH_TEXT' to get the months name. Then in the field of invoice date...replace the dates by the name of months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then sort the table by month and use at end of month to add up the pricing values.....you will have like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer no  date  price&lt;/P&gt;&lt;P&gt;&amp;lt;some value&amp;gt; jan  10.00&lt;/P&gt;&lt;P&gt;&amp;lt;some value&amp;gt; feb  20.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on....then create another table the way you want and use case to fill up the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 07:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612752#M1086854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T07:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Month wise splitting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612753#M1086855</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;For example user given date range like 01.01.2007 to 20.05.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can get month and year by using the fuction module like&lt;/P&gt;&lt;P&gt;CACS_DATE_GET_YEAR_MONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if pass 01.01.2007  we will get month like 01.&lt;/P&gt;&lt;P&gt;if pass 20.05.2008  we will get month like 05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define internal table with 12 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using ALV bulid the fieldcatalog dynamically .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_var = 05 - 01.&lt;/P&gt;&lt;P&gt;add 1 to lv_var.&lt;/P&gt;&lt;P&gt;do lv_var times.&lt;/P&gt;&lt;P&gt;bulid the fieldcatalog .&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 07:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-wise-splitting/m-p/4612753#M1086855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T07:27:04Z</dc:date>
    </item>
  </channel>
</rss>

