<?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: create excel in background with data sheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110795#M106129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anid,&lt;/P&gt;&lt;P&gt;Does this solution apply to 4.0B? I can't find the function 'SAP_CONVERT_TO_XLS_FORMAT' in 4.0B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2005 08:55:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-20T08:55:01Z</dc:date>
    <item>
      <title>create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110793#M106127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any way to create a excel with data sheet with specific name in background?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2005 03:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110793#M106127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-18T03:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110794#M106128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this simple program.Instead of giving hard-coded file name as i did in this report, you can take the filename dynamicaly from a selection screen parameter. if you call this report from some other program by "submit .." statement, t runs in back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF intab occurs 0,&lt;/P&gt;&lt;P&gt;mandt LIKE mara-mandt,&lt;/P&gt;&lt;P&gt;matnr LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;ersda LIKE mara-ersda,&lt;/P&gt;&lt;P&gt;ernam LIKE mara-ernam,&lt;/P&gt;&lt;P&gt;laeda LIKE mara-laeda,&lt;/P&gt;&lt;P&gt;aenam LIKE mara-aenam,&lt;/P&gt;&lt;P&gt;END OF intab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mandt matnr ersda laeda aenam from mara&lt;/P&gt;&lt;P&gt;                     into corresponding fields&lt;/P&gt;&lt;P&gt;                     of table intab up to 30 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at intab.&lt;/P&gt;&lt;P&gt; write:/ intab-matnr,intab-ersda,intab-ernam,intab-laeda,intab-aenam.&lt;/P&gt;&lt;P&gt; clear intab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    I_FIELD_SEPERATOR          = ','&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_LINE_HEADER              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    i_filename                 = 'c:\test123.xls'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_APPL_KEEP                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    i_tab_sap_data             = intab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TAB_CONVERTED_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONVERSION_FAILED          = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2005 04:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110794#M106128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-18T04:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110795#M106129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anid,&lt;/P&gt;&lt;P&gt;Does this solution apply to 4.0B? I can't find the function 'SAP_CONVERT_TO_XLS_FORMAT' in 4.0B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 08:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110795#M106129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T08:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110796#M106130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Des,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to create a excel sheet with data and store it in the local PC, you cannot do it in the back ground mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you want to create excel format data and store it in application server, (in back ground mode) and then an online program to read the content from application server and store it in a excel sheet in the desktop , it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let us know which one you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 09:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110796#M106130</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-10-20T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110797#M106131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;That what I am looking for.&lt;/P&gt;&lt;P&gt;Create excel format data and store it in application server in background mode.&lt;/P&gt;&lt;P&gt;I am still on 4.0B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Desmond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 09:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110797#M106131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T09:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: create excel in background with data sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110798#M106132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think you have to do anything special, just save to itab with commoa separate or tab separated in application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the download program just read it from application server into an itab and download as excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are looking for special formatting of excel, like formula, graph, etc., then its totally different approach you may have to take.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2005 10:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-excel-in-background-with-data-sheet/m-p/1110798#M106132</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-10-22T10:33:29Z</dc:date>
    </item>
  </channel>
</rss>

