<?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 To get the days any Function Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157389#M455937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the no.of days if I will pass months.&lt;/P&gt;&lt;P&gt;for examples if I pass 18 months, it has to calculate how many days for 18 months calculation starts from the date which I give. for example if I give 02.05.2007 as date and no.of months 18, it has to give either no.of days or date after adding 18 months.&lt;/P&gt;&lt;P&gt;is there any function modules to get above result or any method is there in the SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2007 06:57:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T06:57:00Z</dc:date>
    <item>
      <title>To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157389#M455937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the no.of days if I will pass months.&lt;/P&gt;&lt;P&gt;for examples if I pass 18 months, it has to calculate how many days for 18 months calculation starts from the date which I give. for example if I give 02.05.2007 as date and no.of months 18, it has to give either no.of days or date after adding 18 months.&lt;/P&gt;&lt;P&gt;is there any function modules to get above result or any method is there in the SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 06:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157389#M455937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T06:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157390#M455938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_SGPBS_YRS_MTHS_DAYS--&amp;gt;no of days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to add dates &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'RP_CALC_DATE_IN_INTERVAL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 06:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157390#M455938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157391#M455939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'      
           EXPORTING
                months  = 1
                olddate = olddate
           IMPORTING
                newdate = newdate         
    EXCEPTIONS
                OTHERS  = 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157391#M455939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157392#M455940</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;Use FM 'HR_PSD_DATES_ADD_MONTHS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157392#M455940</guid>
      <dc:creator>MohanChauhan</dc:creator>
      <dc:date>2007-05-02T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157393#M455941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Look at the below thread &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="115519"&gt;&lt;/A&gt;&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157393#M455941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157394#M455942</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;Just check this if it helps you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_date1 like sy-datum,&lt;/P&gt;&lt;P&gt;            p_date2 like sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:       diff_days(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diff_days = p_date2 - p_date1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ diff_days,'days'.&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;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157394#M455942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: To get the days any Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157395#M455943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Praveen,&lt;/P&gt;&lt;P&gt;why u not check out this link i think this will help you to sort out all your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abapfun.html" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abapfun.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please award graciously if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 07:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-days-any-function-modules/m-p/2157395#M455943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T07:26:38Z</dc:date>
    </item>
  </channel>
</rss>

