<?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: function module that converts days to months in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974558#M399508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a FM to know the number of months between two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are those&lt;/P&gt;&lt;P&gt;FIMA_DAYS_AND_MONTHS_AND_YEARS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 13:39:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-19T13:39:18Z</dc:date>
    <item>
      <title>function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974555#M399505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me function module that converts days to months. For example 120 days to be converted into months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974555#M399505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974556#M399506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have the start date and end date,  you may be able to use one of these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES_NEW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974556#M399506</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-02-19T13:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974557#M399507</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;but how u will determine teh starting date?&lt;/P&gt;&lt;P&gt;DATE_COMPUTE_DAY &amp;#150; Finds day of the month &lt;/P&gt;&lt;P&gt;DATE_CONV_EXT_TO_INT  - user formatted date is converted to system date &lt;/P&gt;&lt;P&gt;DATE_GET_WEEK  - convert date into year + week format &lt;/P&gt;&lt;P&gt;DATE_TO_DAY &amp;#150; gives weekday from date &lt;/P&gt;&lt;P&gt;DATE_IN_FUTURE &amp;#150; takes number of days and date  - gives future date in user format and system format &lt;/P&gt;&lt;P&gt;MONTH_PLUS_DETERMINE &amp;#150; add or subtract month from a date &lt;/P&gt;&lt;P&gt;RP_CALC_DATE_IN_INTERNAL &amp;#150; add/subtract year/month/days from a date &lt;/P&gt;&lt;P&gt;WEEK_GET_FIRST_DAY &amp;#150; take input as YYYYWW and it gives first day of the week. &lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET &amp;#150; language is only parameter. Returns internal table with months. &lt;/P&gt;&lt;P&gt;MONTH_PLUS_DETERMINE &amp;#150; subtract months from date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974557#M399507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974558#M399508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a FM to know the number of months between two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are those&lt;/P&gt;&lt;P&gt;FIMA_DAYS_AND_MONTHS_AND_YEARS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974558#M399508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974559#M399509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without start date it is not possible to find out that as you may not know between which months these dates fall, if u want approx.., then just divide that by 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_months = 120 / 30.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974559#M399509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: function module that converts days to months</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974560#M399510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data : count(100),
         quotinent(10),
         reminder(10),
         date(10) .
 
 quotinent = date / 30.

 reminder = date mod 30. 

 concatenate 'Number of months are ' quotinent ' and ' reminder ' days' into count.
  
  write : count.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-that-converts-days-to-months/m-p/1974560#M399510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:43:33Z</dc:date>
    </item>
  </channel>
</rss>

