<?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>Question Re: How to calculate difference between two dates in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260950#M3288629</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 map your two date fields to the infoobject in which you want to get the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And write simple field level routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true" title="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the page 7 of the above doc.it has the code with screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use any function module for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 17:20:44 GMT</pubDate>
    <dc:creator>anshu_lilhori</dc:creator>
    <dc:date>2013-02-27T17:20:44Z</dc:date>
    <item>
      <title>How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaq-p/9260947</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 know there are similar posts related to this; I've gone over them but didn't quite get what I wanted. I need to calculate the difference between two dates ClearingDate and NetDueDate and the result should be a number stored into a Characteristic called OnTime which will be in a Standard DSO and the cube above it. How can I achieve this? I would appreciate a step-by-step solution if possible. I am not proficient in ABAP and hence if there is coding involved, please provide the actual code too. I need it urgently. I will appreciate the help and points will be awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 15:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaq-p/9260947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T15:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260948#M3288627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so you will have to connect to the 2 dates to your info object in your transformation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define routine on this object and in your routine do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; DATA: EDAYS&amp;nbsp;&amp;nbsp; LIKE VTBBEWE-ATAGE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMONTHS LIKE VTBBEWE-ATAGE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EYEARS&amp;nbsp; LIKE VTBBEWE-ATAGE.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; PARAMETERS: clearingdate LIKE VTBBEWE-DBERVON,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netduedate&amp;nbsp;&amp;nbsp; LIKE VTBBEWE-DBERBIS .&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; call function &lt;SPAN style="color: navy;"&gt;'FIMA_DAYS_AND_MONTHS_AND_YEARS'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_date_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = clearingdate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_date_to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = netduedate&lt;/P&gt;&lt;P&gt; *&amp;nbsp;&amp;nbsp; I_FLG_SEPARATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN style="color: navy;"&gt;' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E_DAYS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = EDAYS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E_MONTHS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = EMONTHS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E_YEARS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = EYEARS.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that should give you the number of days your edays will the difference in days.. the fucntion moduel exists in R/3 i am not sure if it exists in Bw system, so you could copy the code from r/3 and create your own function module in Bw and call your..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 16:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260948#M3288627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T16:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260949#M3288628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amer. Appreciate the quick response. As I said earlier, I'm not too comfortable with writing routines, etc. but the code that you mentioned in your response, is that exactly what I can copy and paste into the field routine? Will my characterstic "OnTime" show the number of days with the code above? We are particularly looking for a positive, negative or a zero value to be populated into OnTime. &lt;/P&gt;&lt;P&gt;What is the name of the function module in ECC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 16:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260949#M3288628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T16:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260950#M3288629</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 map your two date fields to the infoobject in which you want to get the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And write simple field level routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true" title="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the page 7 of the above doc.it has the code with screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use any function module for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260950#M3288629</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-02-27T17:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260951#M3288630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anshu. I was going through the transformations and noticed that there is a formula called DATE_DIFF (Date Difference: Calculates the difference in days between two specified dates). Why can't we use that? Why does it have to&amp;nbsp; be a routine? Just curious about it. Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260951#M3288630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T17:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260952#M3288631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this formula but you need to specify the dates as key figure in your cube/dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260952#M3288631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T17:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260953#M3288632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please try this FM: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DAYS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have other options also if you want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;DAYS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;LEAP_DAYS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;HR_SEN_CALE_DAYS_DATE&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;ISB_DAYS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;FIMA_DAYS_BETWEEN_TWO_DATES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;FIMA_DAYS_BETWEEN_TWO_DATES_2&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;FIMA_LEAP_DAYS_BETWEEN_2_DATES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;SD_DATETIME_DIFFERENCE Give the difference in Days and Time for 2 dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;Regards,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;Bishwajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260953#M3288632</guid>
      <dc:creator>bishwajit_das</dc:creator>
      <dc:date>2013-02-27T17:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260954#M3288633</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;Try this code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PARAMETER:p_date1 TYPE dats,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;p_date2 TYPE dats.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:lv_diff TYPE i,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lv_no_date type i.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i_datum_bis = p_date1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i_datum_von = p_date2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;e_tage = lv_diff&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXCEPTIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;days_method_not_defined = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OTHERS = 2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WRITE:/ 'Error'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WRITE:/ lv_diff.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if lv_diff &amp;lt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lv_diff = lv_diff * -1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lv_no_date = lv_diff - 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bishwajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260954#M3288633</guid>
      <dc:creator>bishwajit_das</dc:creator>
      <dc:date>2013-02-27T17:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260955#M3288634</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;Yes you can use that formula as well.it should produce the same result what that routine is gonna do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260955#M3288634</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-02-27T17:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260956#M3288635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Suyash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I do that (specify as keyfigures in DSO and cube)? I have two dates, 0CLEAR_DATE and 0NETDUEDATE. Simply using the formula won't work? Please advise. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1214/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260956#M3288635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T17:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260957#M3288636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it should work , 1 way to find out, is to plug and try it :-), there is a check in the bottom of transformation for you to test it out, if u r on 7.0 version of bw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 18:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260957#M3288636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T18:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260958#M3288637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Anshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;I have been asked to get only Open Items managed into the DSO. How can I do that? I have been researching a LOT and I'm confused now. There is an indicatory in BSEG called XOPVW which is called Open Item Management. There were a few suggestions of checking if the GL account masterdata has an attribute to indicate OI management but I don't see it. We don't want to bring it at the transaction level (because thats what XOPVW is). Any suggestions? I'm stuck bad and not sure how to proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;The issue is that we are using 0fi_gl_14 and need to leverage that. We have added aging related fields to the extractor and are loading into a write-optimized. I've been looking at BSEG and there is an Open Items Management field (XOPVW) which we are not bringing to the extractor (yet). Any idea what I could do from this point onwards?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;If there is another route you can suggest, then please do in a step-by-step manner. It's urgent. I appreciate the help. The end goal is to create Aging reports for Customer and Vendor. HELP.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 15:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260958#M3288637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-28T15:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate difference between two dates</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260959#M3288638</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;It would be better if you open up a new thread with proper subject line.As this thread&amp;nbsp; is already closed and had a different content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More people may give inputs if you do as stated above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-calculate-difference-between-two-dates/qaa-p/9260959#M3288638</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-02-28T16:10:11Z</dc:date>
    </item>
  </channel>
</rss>

