<?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: Problem with time stamp conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468620#M1651082</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;Not sure I got this... can't you simply use a 'WRITE TO' when filling your internal table fields before downloading, so that your strings are correctly formatted and interpreted as such by excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 13:57:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-09T13:57:24Z</dc:date>
    <item>
      <title>Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468619#M1651081</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 using the below code to convert timestamp to date and time  , its working fine when i print it with write statement  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to convert and pass the time and date with format to excel sheet , but  its it taking again as string not in date time format .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see the below code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time_stamp = 20030309043000.&lt;/P&gt;&lt;P&gt;CONVERT TIME STAMP time_stamp TIME ZONE tz&lt;/P&gt;&lt;P&gt;       INTO DATE dat TIME tim.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WRITE: /(10) dat, (8) tim .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 13:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468619#M1651081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-09T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468620#M1651082</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;Not sure I got this... can't you simply use a 'WRITE TO' when filling your internal table fields before downloading, so that your strings are correctly formatted and interpreted as such by excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 13:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468620#M1651082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-09T13:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468621#M1651083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now that you've converted your time stamp to date (type d) and time (type t), convert them into alphnumeric fields like you want or tell excel what is in that column, since Excel isn't telepathic...and doesn't always know what we sent it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: date10(10) type c.&lt;/P&gt;&lt;P&gt;         time8(8) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write dat to date10 mm/dd/yyyy. "converts type d to user's specific date setting (not necessarily mm/dd/yyyy).&lt;/P&gt;&lt;P&gt;concatenate tim(2)&lt;/P&gt;&lt;P&gt;                    tim+2(2)&lt;/P&gt;&lt;P&gt;                    tim+4(2)&lt;/P&gt;&lt;P&gt;   into time8 separated by ':'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do wish that I understood the fascination with Excel....when we have such marvelous tools to work with inside SAP or BW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 18:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468621#M1651083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-09T18:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468622#M1651084</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 the function module IB_CONVERT_FROM_TIMESTAMP for your requirement, speciy the time stamp and time zone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2011 16:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468622#M1651084</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2011-12-10T16:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468623#M1651085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think venkat's solution is the perfect one. u can use  IB_CONVERT_FROM_TIMESTAMP and pass time stamp and region and get time and date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I pblm solved close the thread...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 07:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468623#M1651085</guid>
      <dc:creator>former_member209696</dc:creator>
      <dc:date>2011-12-12T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468624#M1651086</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 already tried the function module suggested by Venkat ,  Yes it will convert it to proper fomate but again the same issue when I am passing it to excel its taking it as string .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 12:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468624#M1651086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T12:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with time stamp conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468625#M1651087</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 worked out ..  Thanks to BreakPoint   ..... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 13:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-time-stamp-conversion/m-p/8468625#M1651087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T13:01:47Z</dc:date>
    </item>
  </channel>
</rss>

