<?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 executing BDC in background. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232329#M771064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens that batch input programs behave differently in foreground then in background.&lt;/P&gt;&lt;P&gt;When you create a recording, you can switch on the flag: "Simulate background mode". In this way, the recording will behave as in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( transaction SM35, menu 'go to -&amp;gt; recording' , create recording, switch on flag 'simulate background mode')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 11:17:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T11:17:26Z</dc:date>
    <item>
      <title>Error while executing BDC in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232328#M771063</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 have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter at least one plant                                               &lt;/P&gt;&lt;P&gt;Enter at least one plant                                               &lt;/P&gt;&lt;P&gt;Spool request (number 0000023938 ) created without immediate output    &lt;/P&gt;&lt;P&gt;No batch input data for screen SAPMSSY0 0120                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why this problem is occuring only during background execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Do I need to find out a Function Module to update the future price of materials?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2008 12:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232328#M771063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-12T12:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing BDC in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232329#M771064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens that batch input programs behave differently in foreground then in background.&lt;/P&gt;&lt;P&gt;When you create a recording, you can switch on the flag: "Simulate background mode". In this way, the recording will behave as in background mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( transaction SM35, menu 'go to -&amp;gt; recording' , create recording, switch on flag 'simulate background mode')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 11:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232329#M771064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T11:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing BDC in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232330#M771065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 12:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-bdc-in-background/m-p/3232330#M771065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T12:51:42Z</dc:date>
    </item>
  </channel>
</rss>

