<?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: Executing Excel Session in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-session-in-background/m-p/2128988#M447328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meinder Postma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know exactly how this works but I think it is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The embedded excel functionality is obtained via SAPgui objects. &lt;/P&gt;&lt;P&gt;The application communicate with excel via a program-to-program-to-program interface between a program in the SAP kernel on the application server, via a SAPgui object on the PC with SAPgui installed and to excel on the same PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server SAP kernel &amp;lt;=&amp;gt; PC SAPgui &amp;lt;=&amp;gt; PC excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this setup I see no possible way that this can run in background, because in background you have no SAPgui communication at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2007 12:00:02 GMT</pubDate>
    <dc:creator>TMNielsen</dc:creator>
    <dc:date>2007-04-02T12:00:02Z</dc:date>
    <item>
      <title>Executing Excel Session in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-session-in-background/m-p/2128987#M447327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP BW 3.5 we created a recording (through transaction SHDB) of accessing transaction UPSPL (is a SAP transaction with an Excel session embedded in it, data in the excel is written to the SAP database). Then generated an ABAP report of the recording. When running the ABAP report  through se38 in the background, the excel mentioned above is not called/executed correctly i.e. the macros in the excel are not executed (probably because simulating running Excel macros in background is technically not possible?).&lt;/P&gt;&lt;P&gt;When running the ABAP report in the foreground (setting 'call transaction'), the report perfectly executes the macro i.e. result is the same as accessing and saving the excel manually through UPSPL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read somewhere that installing Excel on SAP (BW) server could be an idea? Because in the above the Excel desktop version is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know how to solve the above? Or experiences with it? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Meindert Postma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS also posted the above on the SAP BW/BPS forum, from a more BPS point of view.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3220052"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 11:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-session-in-background/m-p/2128987#M447327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Excel Session in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-session-in-background/m-p/2128988#M447328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meinder Postma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know exactly how this works but I think it is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The embedded excel functionality is obtained via SAPgui objects. &lt;/P&gt;&lt;P&gt;The application communicate with excel via a program-to-program-to-program interface between a program in the SAP kernel on the application server, via a SAPgui object on the PC with SAPgui installed and to excel on the same PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server SAP kernel &amp;lt;=&amp;gt; PC SAPgui &amp;lt;=&amp;gt; PC excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this setup I see no possible way that this can run in background, because in background you have no SAPgui communication at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 12:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-session-in-background/m-p/2128988#M447328</guid>
      <dc:creator>TMNielsen</dc:creator>
      <dc:date>2007-04-02T12:00:02Z</dc:date>
    </item>
  </channel>
</rss>

