<?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: modification of function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528717#M1070367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Zagent_Start should be any date of the month it will be 3rd jan or 10th jan or 01st Feb or any date . After adding 29 days it should not goes to next month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I am very very thakful to your earliest response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Sep 2008 13:33:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-20T13:33:58Z</dc:date>
    <item>
      <title>modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528713#M1070363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;This is the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for "R3001" contract type (specified as WHEN 'R3001'),&lt;/P&gt;&lt;P&gt;the extended termination date should be end of the month ,for this we  are aading 29 days to agent starting date, but in the case of february if we add 29 days it is going to the next month,(every year the problem appearing in  the month of FEB only) for leap year also its creating problem in the month of february only,if it is moving to next month the checks are paying unnecessarily. My requirement is  whatever the "ZAGENT_START" ,the extended termination should be last day of the month only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; How can we modify this ? Please suggest me ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************************&lt;/P&gt;&lt;P&gt;FUNCTION zepc_get_extended_trm_dt_new.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(INSOBJECT) TYPE  INSOBJECT_MD&lt;/P&gt;&lt;P&gt;*"     REFERENCE(ZAGENT) TYPE  ZAGENT_NO&lt;/P&gt;&lt;P&gt;*"     REFERENCE(SUB_CHANNEL) TYPE  ZSUB_CHANNEL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(ZCONT_CODE) TYPE  ZCONTR_CODE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(ZAGENT_START) TYPE  ZAGENTNUMSTDATE&lt;/P&gt;&lt;P&gt;*"     REFERENCE(ZAGENT_REF) LIKE  ZEPC_IO_AGENT STRUCTURE&lt;/P&gt;&lt;P&gt;*"        ZEPC_IO_AGENT OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(ZAGENT_NEW) LIKE  ZEPC_IO_AGENT STRUCTURE&lt;/P&gt;&lt;P&gt;*"        ZEPC_IO_AGENT OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(EXTENDED_TRM_DATE) TYPE  ZAGENTNUMSTDATE&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;02/10/06  TMARVIN  DV2K908222    TD #3181&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;08/09/06  APOT5    DV2K910117    Include status reason code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;  DATA: l_day TYPE p,&lt;/P&gt;&lt;P&gt;        t_agent LIKE zepc_io_agent OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        l_enddate LIKE sy-datum,&lt;/P&gt;&lt;P&gt;        f_extend TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR l_enddate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF zagent_ref IS INITIAL AND&lt;/P&gt;&lt;P&gt;     zagent_new IS INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Then derive the from DB.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT * FROM zepc_io_agent INTO TABLE t_agent&lt;/P&gt;&lt;P&gt;           WHERE insobject = insobject AND&lt;/P&gt;&lt;P&gt;                 zagent_no = zagent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SORT t_agent BY zintrl_agt_no DESCENDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE t_agent INDEX 2.&lt;/P&gt;&lt;P&gt;    IF t_agent-zagent_stat = 'ACT' AND&lt;/P&gt;&lt;P&gt;        ( t_agent-zstat_reas  = '010'&lt;/P&gt;&lt;P&gt;       or t_agent-zstat_reas  = '028' ) .&lt;/P&gt;&lt;P&gt;      f_extend = 'X'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.  "Compare structures.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Still to do.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Processing Logic&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF f_extend IS INITIAL.&lt;/P&gt;&lt;P&gt;    extended_trm_date = zagent_start - 1.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CASE zcont_code+0(5).&lt;/P&gt;&lt;P&gt;      WHEN 'R3001'.&lt;/P&gt;&lt;P&gt;          extended_trm_date = zagent_start + 29.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set the comparison date to the end date of the active record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        l_enddate = zagent_start - 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      WHILE zagent_start&lt;EM&gt;4(2) = extended_trm_date&lt;/EM&gt;4(2).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        WHILE l_enddate&lt;EM&gt;4(2) = extended_trm_date&lt;/EM&gt;4(2).&lt;/P&gt;&lt;P&gt;          ADD 1 TO extended_trm_date.&lt;/P&gt;&lt;P&gt;        ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'L2000' OR 'NYFS '.&lt;/P&gt;&lt;P&gt;        extended_trm_date = zagent_start + 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CLEAR l_day.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'DAY_IN_WEEK'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            datum = extended_trm_date&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            wotnr = l_day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'DATE_CHECK_WORKINGDAY'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            date                       = extended_trm_date&lt;/P&gt;&lt;P&gt;            factory_calendar_id        = 'ZD'&lt;/P&gt;&lt;P&gt;            message_type               = 'I'&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            date_after_range           = 1&lt;/P&gt;&lt;P&gt;            date_before_range          = 2&lt;/P&gt;&lt;P&gt;            date_invalid               = 3&lt;/P&gt;&lt;P&gt;            date_no_workingday         = 4&lt;/P&gt;&lt;P&gt;            factory_calendar_not_found = 5&lt;/P&gt;&lt;P&gt;            message_type_invalid       = 6&lt;/P&gt;&lt;P&gt;            OTHERS                     = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If not a working day and it is Thursday, make it Friday.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IF sy-subrc = 4 AND&lt;/P&gt;&lt;P&gt;              l_day = 4.&lt;/P&gt;&lt;P&gt;          extended_trm_date = extended_trm_date + 1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;        extended_trm_date = zagent_start - 1.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&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;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 11:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528713#M1070363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528714#M1070364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Function Module RP_LAST_DAY_OF_MONTHS to get the last day of the month and assign it to EXTENDED_TRM_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
  EXPORTING
    day_in                  = ZAGENT_START
 IMPORTING
   LAST_DAY_OF_MONTH       = EXTENDED_TRM_DATE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if u have any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Karthik D on Sep 20, 2008 5:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 11:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528714#M1070364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528715#M1070365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;If I wants the lastday of the month means your reply very helpful almost solves the problem.&lt;/P&gt;&lt;P&gt;If I want to add 29 days and It(extended temination date) should not goes to the next month. For every year we are getting the problem for the month of february only. Because February has 28 days only and 29 days in case of leap year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to add 29 days to all months , modify in case o february.the result EXTENDED TERMINATION DATE should not enter into next month( I want to check seperately for leap year also).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me Karthik.If you don't mind with coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 12:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528715#M1070365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T12:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528716#M1070366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My requirement is  whatever the "ZAGENT_START" ,the extended termination should be last day of the month only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Sam.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only since you asked as above i gave the solution, but now you are confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Zagent_start is 12th january and you add 29 days it will also go to next month, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give some example zagent_start dates and what you expect in EXTENDED_TRM_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 13:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528716#M1070366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528717#M1070367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Zagent_Start should be any date of the month it will be 3rd jan or 10th jan or 01st Feb or any date . After adding 29 days it should not goes to next month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I am very very thakful to your earliest response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 13:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528717#M1070367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T13:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528718#M1070368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really you are confused, tell me how we can add 29 days to 10th of a month without going to next month. If it should not go to next month then the date should be the last day of the month, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is to get the last day of the month use my solution given above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 13:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528718#M1070368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T13:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528719#M1070369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt; In the function module WHEN 'R3001' case&lt;/P&gt;&lt;P&gt;if the Zagent_start = 02/01 i.e., Feb 1st&lt;/P&gt;&lt;P&gt;the extended termination date should be last day of the month(by adding 27 days to the ZAGENT_START we get it,&lt;/P&gt;&lt;P&gt;If it is a leap year we have to add 28 days to the ZAGENT_START, then  the extended termination should become last day of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The modification should done only for "02/01" month and for "R3001" case, not for all months. this is my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest me how to do this(With coding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you reply ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 06:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528719#M1070369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T06:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528720#M1070370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following Code satisfy your requirement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHEN 'R3001'.
IF zagent_start+4(4) EQ '0201'. " If its February 1st
  extended_trm_date = zagent_start + 28. " Add 28 days to it
  IF extended_trm_date+6(2) NE '29'. " If Date is not 29, ie Current year is not a leap Year
    extended_trm_date = zagent_start + 27. " Add only 27 days to it.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 07:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528720#M1070370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T07:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: modification of function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528721#M1070371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your reply solved my problem .I am very thankful to you.&lt;/P&gt;&lt;P&gt;The same I done it in different way i.e., I checked whether given year is a leap year, if yes added 28 days,if not 27 days I added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again very very Thanks for your due response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 10:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modification-of-function-module/m-p/4528721#M1070371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T10:03:54Z</dc:date>
    </item>
  </channel>
</rss>

