<?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: Error while execution report in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424282#M822386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Straight answer to your question is that the function module can not be used for background processing. you have to use some other fm or use the DATASET to read from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the reason of why it can not be used. Inside the function module there are calls to fm intern like CLPB_IMPORT, WS_QUERY which can only be designed for foreground processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Harikrishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 12:53:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T12:53:00Z</dc:date>
    <item>
      <title>Error while execution report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424279#M822383</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 am uploading the data from excel file using ALSM_EXCEL_TO_INTERNAL_TABLE function module in one of the report. If I execute the report in background its giving a error message 'Error during import of clipboard contents'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out what should be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 21, 2008 11:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424279#M822383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while execution report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424280#M822384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while executing the report in backgroung you dont have connection to the frontend. Hence that FM will not work when you are executing the report in backgroung mode.&lt;/P&gt;&lt;P&gt;try uploading the file on application server and the run the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424280#M822384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while execution report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424281#M822385</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 dont think so you can upload excel sheet from desktop in background processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Convert the excel sheet to DAT file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to upload the file into application server then give the path and run in background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424281#M822385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error while execution report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424282#M822386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    Straight answer to your question is that the function module can not be used for background processing. you have to use some other fm or use the DATASET to read from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the reason of why it can not be used. Inside the function module there are calls to fm intern like CLPB_IMPORT, WS_QUERY which can only be designed for foreground processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Harikrishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424282#M822386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while execution report in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424283#M822387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a program is executed in background, the programs runs in the application server and so connection exists with the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the FM ALSM_EXCEL_TO_INTERNAL_TABLE reads the file from PC. Since the connection is already lost when the program is run in background, the program will not work and might give a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you might have to upload the file into application server and then use OPEN DATASET, READ DATASET commands to read data from the application server file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 21, 2008 11:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-execution-report-in-background/m-p/3424283#M822387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:57:01Z</dc:date>
    </item>
  </channel>
</rss>

