<?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 exec. Background Mode a Batch-Input using KP26 Transaction Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173777#M1623512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subhankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems it works, I execute my BDC from SM35 when I choose "Display Errors Only" it's ok and when I choose Background I have the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a way in my program that build the BDC to avoid the error, as the synchronous mode seems not to be an option when using BDC_INSERT function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 13:02:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-15T13:02:41Z</dc:date>
    <item>
      <title>Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173773#M1623508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that build a Batch-Input based on transaction code KP26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I encounter the following error : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Z-BDC02(1) is not an input field (Program : SAPLKPP2 Screen : 0112)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When executing in background I got the error and when executing in Foreground, it is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use SHDB to look at the field needed and  it gave me the same field to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an extract of my program for the field I have the issue on : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM F100_BDC_FIELD USING 'Z-BDC02(01)' I_T01-LST.&lt;/P&gt;&lt;P&gt;    PERFORM F100_BDC_FIELD USING 'Z-BDC05(01)' I_T01-SPRED.&lt;/P&gt;&lt;P&gt;    PERFORM F100_BDC_FIELD USING 'Z-BDC07(01)' I_T01-TOV.&lt;/P&gt;&lt;P&gt;    PERFORM F100_BDC_FIELD USING 'Z-BDC08(01)' I_T01-TOF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one have an hint to solve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 15:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173773#M1623508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173774#M1623509</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;This error will occur in BDC. If your are passing the Value to disabled field of the screen, then u will get this message as warraning and BDC will fail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even this may occurred when you run in foregroud..but in Foreground you may pressed entered button for that message,once it message occured.So in foreground it will go next screen once u press enter for warraing message.But in background this BDC will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So frist check manually in KP26 transaction,if that field is not input enabled then change your bdc code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173774#M1623509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173775#M1623510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I execute directly KP26 and my field seems to be open for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I wrote, I also use SHDB transaction to simulate what has to be done, and the field name I got are the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173775#M1623510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173776#M1623511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just call the BDC in Synchronous mode (S). I think it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173776#M1623511</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2011-09-14T16:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173777#M1623512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subhankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems it works, I execute my BDC from SM35 when I choose "Display Errors Only" it's ok and when I choose Background I have the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a way in my program that build the BDC to avoid the error, as the synchronous mode seems not to be an option when using BDC_INSERT function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173777#M1623512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T13:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173778#M1623513</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;In the BDC_INSERT FM there is a input paramater called CTUPARAMS. This is nothing but a structure. If you check the structure there are two fields DISMODE (A	Display all screens,E	Display errors, N	Background processing and P	Background processing; debugging possible) and another field UPDMODE. Here pass S for synchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check it once. Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173778#M1623513</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2011-09-15T16:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173779#M1623514</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;Just one remark: batch input is always executed in synchronous mode (hopefully, otherwise we would get many lock issues during mass updates!) Or is there something I missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same thing when you use BDC_INSERT, CTU_PARAMS is ignored ([SAP note 1437811 (Batch input: BDC_INSERT parameter CTUPARAMS)|https://service.sap.com/sap/support/notes/1437811 ])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the issue, I don't know, so maybe explain more about the context: for instance, do you run the session under a different user? (for instance, the user could be assigned a transaction/screen variant with table control variant, that protects some fields) Do you have one transaction in the batch input session or are there several ones. Try with one only to see if it works. If yes, then maybe it's something in memory that changes the "input-capability" of the field after the first transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 19:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173779#M1623514</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-09-15T19:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173780#M1623515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all the problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact Sandra was right as, there is some "Planner profile" that fix a Layout profile different for each user. As this profile is not fix under user parameter, default seems to be different in BAtch and Foreground.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 16:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173780#M1623515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-16T16:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error exec. Background Mode a Batch-Input using KP26 Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173781#M1623516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I struggled with this too, after much debugging I found that you may need to clear some parameter IDs to prevent defaulting of previously used values. For example in CJ02 it would default to a WBS element that is not for the project selected, hence it would disable input. Use SET PARAMETER ID 'XXX' FIELD ''.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 19:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-exec-background-mode-a-batch-input-using-kp26-transaction-code/m-p/8173781#M1623516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-11T19:45:41Z</dc:date>
    </item>
  </channel>
</rss>

