<?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: Fucn Module Help Requred in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048216#M721626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;thanks for help.&lt;/P&gt;&lt;P&gt;but its displaying ...      :  Specificaton 'FOR....' is missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Nov 2007 09:14:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-03T09:14:31Z</dc:date>
    <item>
      <title>Fucn Module Help Requred</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048213#M721623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need to calculate the date diff in daya b/w two dates,but the result should come in -ive sign if exist there any b/w the dates.&lt;/P&gt;&lt;P&gt;so kindly please help in ths regards,or kingly pass on the code if there.&lt;/P&gt;&lt;P&gt;I had used the code : o_date =  ( date1 - date2 ).&lt;/P&gt;&lt;P&gt;The result is comiing fine,but there exit any FM it will be easy to manuplate the things fast.&lt;/P&gt;&lt;P&gt;Moreover,the Diff for dates is coming in -ive but the -ive sign is coming like : 21  -.&lt;/P&gt;&lt;P&gt;I want it should come:  -21.&lt;/P&gt;&lt;P&gt;Please help me fast,if u got my prob??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Vipin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048213#M721623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fucn Module Help Requred</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048214#M721624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FM is HR_HK_DIFF_BT_2_DATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if ur using some other functionality and getting the output&lt;/P&gt;&lt;P&gt;just modify the output as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search '-' in o_date .&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;replace all occurances of '-' in o_date with spaces.&lt;/P&gt;&lt;P&gt;concatenate '-' o_date into o_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tc&lt;/P&gt;&lt;P&gt;saji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 09:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048214#M721624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T09:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fucn Module Help Requred</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048215#M721625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : date1 like sy-datum,
       date2 like sy-datum,
       diff(10) type c.

date1 = '20071003'.
date2 = '20071104'.


    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        I_DATUM_BIS                   = date1
        I_DATUM_VON                   = date2
*       I_KZ_EXCL_VON                 = '0'
*       I_KZ_INCL_BIS                 = '0'
*       I_KZ_ULT_BIS                  = ' '
*       I_KZ_ULT_VON                  = ' '
*       I_STGMETH                     = '0'
*       I_SZBMETH                     = '1'
     IMPORTING
       E_TAGE                        = diff
     EXCEPTIONS
       DAYS_METHOD_NOT_DEFINED       = 1
       OTHERS                        = 2
              .
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.


CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
  CHANGING
    VALUE         = diff
          .

    write : / diff.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 09:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048215#M721625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fucn Module Help Requred</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048216#M721626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;thanks for help.&lt;/P&gt;&lt;P&gt;but its displaying ...      :  Specificaton 'FOR....' is missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 09:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048216#M721626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T09:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fucn Module Help Requred</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048217#M721627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I hope you can help me in this.&lt;/P&gt;&lt;P&gt;Well to calc the day diff o_date, i had used it as type p.now when i m using the code, told by you,its giving me error to use type c,n,t,d.which can bea prob for me.when i changed it to c or n type,its displaying nos. of zeros in fornt of it &amp;amp; how to remove them? secondly again than i have to pass this value (c or n type) to p type coz in my code i had used it as counter to calc no of days for some other purpose.is it possible to change it to p type again than.plz help me...&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2007 05:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fucn-module-help-requred/m-p/3048217#M721627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-04T05:22:24Z</dc:date>
    </item>
  </channel>
</rss>

