<?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 running BDC in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799846#M1311477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have a great idea on this....&lt;/P&gt;&lt;P&gt;But from what I have searched in Google and SDN...it looks like there will be problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the below thread..&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="598119"&gt;&lt;/A&gt;&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="860746"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2009 08:25:15 GMT</pubDate>
    <dc:creator>former_member212005</dc:creator>
    <dc:date>2009-06-19T08:25:15Z</dc:date>
    <item>
      <title>Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799836#M1311467</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 using BDC for a custom transaction YMMFGC. The operation that I am acheiving using this transaction is updating Materials from SalesOrg/Dist Chnl to another SalesOrg/Dist Chnl. When I am trying to run the Program in Foreground in No Screens Mode or Visible screen navigations, the data is getting updated in the MVKE table. Extension is verified for in this table. But when I try to run the program in the background, the job is getting finished successfully, but the data is not getting updated in the table. Please suggest how to proceed with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 17:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799836#M1311467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T17:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799837#M1311468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you trying to upload your data for the BDC Session?     A search of the forum on similar threads would provide a solution for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 17:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799837#M1311468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T17:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799838#M1311469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a CALL TRANSACTION...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 18:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799838#M1311469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T18:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799839#M1311470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the data coming from that you are updating From/To?   Are you trying to Upload a File?  If you are trying to Upload a File, how are you doing it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 18:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799839#M1311470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799840#M1311471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i suggest u to debug the background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sm37,select the job and type JDBG in the ok-code and press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kanishak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 22:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799840#M1311471</guid>
      <dc:creator>kanishakgupta1</dc:creator>
      <dc:date>2009-06-17T22:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799841#M1311472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have debugged the job and getting SY-SUBRC Value as 1001 and also, E_GROUP as Space, so this below piece of code is getting executed, because of which the table is not getting updated. SY-SUBRC is zero and E_GROUP is Space for executing in foreground with no screens mode and Mode as 'P'. How to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF L_SUBRC &amp;lt;&amp;gt; 0 AND E_GROUP &amp;lt;&amp;gt; SPACE.&lt;/P&gt;&lt;P&gt;      IF E_GROUP_OPENED = ' '.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;                  CLIENT   = SY-MANDT&lt;/P&gt;&lt;P&gt;                  GROUP    = E_GROUP&lt;/P&gt;&lt;P&gt;                  USER     = E_USER&lt;/P&gt;&lt;P&gt;                  KEEP     = E_KEEP&lt;/P&gt;&lt;P&gt;                  HOLDDATE = E_HDATE.&lt;/P&gt;&lt;P&gt;        E_GROUP_OPENED = 'X'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                TCODE     = TCODE&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                DYNPROTAB = BDCDATA.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Harsha Cheruku on Jun 18, 2009 12:25 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 10:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799841#M1311472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T10:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799842#M1311473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write your BDC_OPEN_GROUP in the following manner..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_group  - Name of BDC session&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             p_keep   - set to 'X' to keep session after process&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             p_user   - User ID for authorizations&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             p_subrc  - returned status.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
            client            = sy-mandt
            group             = p_group
            keep              = p_keep
            user              = p_user
       IMPORTING
            qid               = p_qid
       EXCEPTIONS
            client_invalid    = 1
            group_invalid     = 3
            group_is_locked   = 4
            running           = 8
            system_lock_error = 9
            user_invalid      = 10
            OTHERS            = 11.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also..what does update mode 'P' means..it should be either 'S' or 'A' or 'L'..&lt;/P&gt;&lt;P&gt;Check below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

ctumode LIKE ctu_params-dismode
  "          A: show all dynpros
  "          E: show dynpro on error only
  "          N: do not display dynpro

cupdate LIKE ctu_params-updmode 
  "          S: synchronously
  "          A: asynchronously
  "          L: local

  TRANSLATE: p_tcode  TO UPPER CASE,
             ctumode   TO UPPER CASE,
             cupdate TO UPPER CASE.

  CALL TRANSACTION p_tcode USING         p_tb_bdc
                           MODE          ctumode
                           UPDATE        cupdate
                           MESSAGES INTO p_tb_bdcmsg.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 11:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799842#M1311473</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-06-18T11:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799843#M1311474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have all those details in Place still it is not working. I got to know there will be problem if there are table controls in a transaction. Is it true? My custom transaction has around 3-4 table controls. If it is true, is it possible to solve the issue or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 06:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799843#M1311474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799844#M1311475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 07:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799844#M1311475</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-06-19T07:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799845#M1311476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to update that the BDC I am using is having a Problem only when i am trying to run the program in background, but when I am running it in foreground with no Screens Mode or A or E, the table is getting updated.So will the table control throw problems only when we are trying to run it in the background mode???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the links. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 08:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799845#M1311476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799846#M1311477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have a great idea on this....&lt;/P&gt;&lt;P&gt;But from what I have searched in Google and SDN...it looks like there will be problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the below thread..&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="598119"&gt;&lt;/A&gt;&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="860746"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 08:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799846#M1311477</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-06-19T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running BDC in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799847#M1311478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the help!!!! I Really appreciate your effort in helping me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 10:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-bdc-in-background/m-p/5799847#M1311478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T10:13:56Z</dc:date>
    </item>
  </channel>
</rss>

