<?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 Export data to speardsheet with date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435242#M1647965</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 export data from SAP (standard report) to spreadsheet (excel 2007). and in the posting date column appears number. i have to change the format used to date manually first, so that the number changed to date.&lt;/P&gt;&lt;P&gt;is there a way so that it can be done automatically ? i mean when i export data the column posting date contains date not number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;Saiful arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 09:34:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-09T09:34:16Z</dc:date>
    <item>
      <title>Export data to speardsheet with date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435242#M1647965</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 export data from SAP (standard report) to spreadsheet (excel 2007). and in the posting date column appears number. i have to change the format used to date manually first, so that the number changed to date.&lt;/P&gt;&lt;P&gt;is there a way so that it can be done automatically ? i mean when i export data the column posting date contains date not number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;Saiful arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 09:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435242#M1647965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-09T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to speardsheet with date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435243#M1647966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you passing data from SAP to spreadsheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which FM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 09:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435243#M1647966</guid>
      <dc:creator>former_member925838</dc:creator>
      <dc:date>2012-01-09T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to speardsheet with date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435244#M1647967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change the date column to a string column.. and then download&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 10:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435244#M1647967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-09T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to speardsheet with date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435245#M1647968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi declare a variable type string in your final internal table.&lt;/P&gt;&lt;P&gt;now concatenate the date field into that string variable in your final loop and pass this value.&lt;/P&gt;&lt;P&gt;So that you will get your desired output.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" in you final internal tab
types: begin of itab,
           .
           .
          date  type string.
           end of itab.


loop at itab.
concatenate itab-budat+6(2)  '/' itab-budat+4(2) '/' itab-budat+0(4) into date.
" now use this date field to your gui_download 
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;koolspy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 11:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435245#M1647968</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2012-01-09T11:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export data to speardsheet with date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435246#M1647969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;convert the posting date to date format first and then append it to the final internal table which can be sent to excel sheet.&lt;/P&gt;&lt;P&gt;try like this....&lt;/P&gt;&lt;P&gt;data: lv_date type string.&lt;/P&gt;&lt;P&gt;constants: lc_slash type c value '/'.&lt;/P&gt;&lt;P&gt; lv_date =  posting date...(assign posting date here)&lt;/P&gt;&lt;P&gt; CONCATENATE lv_date+4(2)&lt;/P&gt;&lt;P&gt;                           lc_slash lv_date+6(2)&lt;/P&gt;&lt;P&gt;                           lc_slash lv_date+0(4)&lt;/P&gt;&lt;P&gt;                           INTO lv_date.&lt;/P&gt;&lt;P&gt; gs_final-date = lv_date.&lt;/P&gt;&lt;P&gt; append gs_final to gt_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karuna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 12:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-data-to-speardsheet-with-date-format/m-p/8435246#M1647969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-09T12:29:27Z</dc:date>
    </item>
  </channel>
</rss>

