<?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 Time conversion error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537178#M1072033</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;Im using FM 'SD_CALC_DURATION_FROM_DATETIME' to calculate time difference between two date and two time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output time is stored in field 'TVRO-FAHZTD' which is field type DEC with length 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV display it gives proper result like '9.7' means 9 hours and 7 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use this field for calculation the field displays &lt;/P&gt;&lt;P&gt;'      90700' rather than '9.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I convert '      90700' to '9.7' means 9 hours and 7 mins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 10:46:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T10:46:54Z</dc:date>
    <item>
      <title>Time conversion error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537178#M1072033</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;Im using FM 'SD_CALC_DURATION_FROM_DATETIME' to calculate time difference between two date and two time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output time is stored in field 'TVRO-FAHZTD' which is field type DEC with length 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV display it gives proper result like '9.7' means 9 hours and 7 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use this field for calculation the field displays &lt;/P&gt;&lt;P&gt;'      90700' rather than '9.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I convert '      90700' to '9.7' means 9 hours and 7 mins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537178#M1072033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537179#M1072034</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 'CONVERSION_EXIT_TSTRN_OUTPUT' and get the converted value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you give input as '90700', it will return '9:07'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&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;R.Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537179#M1072034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537180#M1072035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convertion exits are attached with this field.&lt;/P&gt;&lt;P&gt;So to convert the internal format to external format use the FM CONVERSION_EXIT_TSTRN_OUTPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 10:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-conversion-error/m-p/4537180#M1072035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T10:57:10Z</dc:date>
    </item>
  </channel>
</rss>

