<?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: Average time in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279256#M496087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Lianto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The func module did solve part of the query, with little customization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still ALV part is mystery.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for the func module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mahadev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 17:45:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-30T17:45:59Z</dc:date>
    <item>
      <title>Average time in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279253#M496084</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 am coding my report in the ALV Grid display using the Reuse_alv_grid_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The some columns of the report are supposed to be&lt;/P&gt;&lt;P&gt;DATE1   TIME1  DATE2   TIME2  TIME DIFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time diff is calucated as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIME DIFF = DATE2 - DATE1 (IN HRS) + TIME2 -  TIME1 ( IN HRS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and Average time  = time diff / no.of rows displayed.= _____  days _______hrs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my questions are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is there a func module that can do the time diff and get me in hrs mins ans sec&lt;/P&gt;&lt;P&gt;2. In ALV how to get the average time ( in field catalog which option to be used)&lt;/P&gt;&lt;P&gt;3. The func module to convert the Time into days and hrs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone ever encountered such problems and have solution pl do reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;helpful answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember these are not quantity fields ...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mahadev.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 15:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279253#M496084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Average time in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279254#M496085</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;These are the list of FM which is related to Date &amp;amp; Time Calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solve ur future problems also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Modules related to Date and Time Calculations&lt;/P&gt;&lt;P&gt;DATE_COMPUTE_DAY : Returns weekday for a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_GET_WEEK : Returns week for a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DAY_ATTRIBUTES_GET : Returns attributes for a range of dates specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET : Get the names of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK_GET_FIRST_DAY : Get the first day of the week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_MC_TIME_DIFFERENCE : Find the time difference between two date/time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LAST_DAY_OF_MONTHS : Returns the last day of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark if helpful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tushar Mundlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 15:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279254#M496085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T15:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average time in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279255#M496086</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;Please try this FM SD_DATETIME_DIFFERENCE.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 15:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279255#M496086</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-30T15:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Average time in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279256#M496087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Lianto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The func module did solve part of the query, with little customization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still ALV part is mystery.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for the func module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mahadev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 17:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/average-time-in-alv/m-p/2279256#M496087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T17:45:59Z</dc:date>
    </item>
  </channel>
</rss>

