<?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: BDC Doubts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808187#M1125547</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;when i am assigning mode 'N' to call transaction statement and executing in background ,then in SM37 tcode its showing 'JOB CANCELLED'.&lt;/P&gt;&lt;P&gt;Job log looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message text                                                                           Message class Message no. Message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job started                                                                                00           516          S&lt;/P&gt;&lt;P&gt;Step 001 started                                                                         00           550          S&lt;/P&gt;&lt;P&gt;Error during import of clipboard contents                                ALSMEX         037          A&lt;/P&gt;&lt;P&gt;Job cancelled                                                                             00           518          A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 15:01:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-18T15:01:31Z</dc:date>
    <item>
      <title>BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808182#M1125542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use a more meaningful subject in future.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    i am working on BDC,but i have some doubts:&lt;/P&gt;&lt;P&gt;(1) can call transaction BDC can be executed in background.if yes then how bcoz i tried to execute it in backgrond it got cancelled.&lt;/P&gt;&lt;P&gt;(2) if out of 20 records in the flat file ,10 records are uploaded and 10 are not uploaded due to error ,is there any way to display a log showing which all records are not uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Nov 18, 2008 2:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 11:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808182#M1125542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T11:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808183#M1125543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call transaction  method works in background also with MODE 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For error log :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the object and subobjects in SLG0. and see the log in SLG1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lt_obj_long_no TYPE STANDARD TABLE OF balnri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object              = 'YCI346'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject           = 'YCI346'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      update_or_insert    = 'I'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      messages            = gt_messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_not_found    = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject_not_found = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OTHERS              = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'APPL_LOG_WRITE_DB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object                = 'YCI346'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject             = 'YCI346'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_with_lognumber = lt_obj_long_no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_not_found      = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject_not_found   = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      internal_error        = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OTHERS                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 12:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808183#M1125543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T12:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808184#M1125544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you simply use write stmnt and write your msgs end of the program you can see those msgs in the log of the background job&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 12:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808184#M1125544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T12:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808185#M1125545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) can call transaction BDC can be executed in background.if yes then how bcoz i tried to execute it in backgrond it got cancelled&lt;/P&gt;&lt;P&gt;Ans..&lt;/P&gt;&lt;P&gt;      We can execute call transaction BDC in background by simply&lt;/P&gt;&lt;P&gt;               writing the statement call transaction &amp;lt;tcode&amp;gt; using &amp;lt;bdcdata&amp;gt; mode 'N'.&lt;/P&gt;&lt;P&gt;2) if out of 20 records in the flat file ,10 records are uploaded and 10 are not uploaded due to error ,is there any way to display a log showing which all records are not uploaded.&lt;/P&gt;&lt;P&gt;Ans..&lt;/P&gt;&lt;P&gt;       declare one internal table ITAB with strucure BDCMSGCOLL and capture the error messages.&lt;/P&gt;&lt;P&gt;       writing the statement "call transaction &amp;lt;tcode&amp;gt; using &amp;lt;bdcdata&amp;gt; mode 'N' messages into &amp;lt;ITAB&amp;gt;.&lt;/P&gt;&lt;P&gt;       In this way we can easily capture the errors.&lt;/P&gt;&lt;P&gt;       Use the FM   FORMAT_MESSAGE also for analysing the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards &lt;/P&gt;&lt;P&gt;sekhar.c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 13:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808185#M1125545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808186#M1125546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Please use a more meaningful subject in future.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 13:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808186#M1125546</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-11-18T13:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808187#M1125547</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;when i am assigning mode 'N' to call transaction statement and executing in background ,then in SM37 tcode its showing 'JOB CANCELLED'.&lt;/P&gt;&lt;P&gt;Job log looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message text                                                                           Message class Message no. Message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job started                                                                                00           516          S&lt;/P&gt;&lt;P&gt;Step 001 started                                                                         00           550          S&lt;/P&gt;&lt;P&gt;Error during import of clipboard contents                                ALSMEX         037          A&lt;/P&gt;&lt;P&gt;Job cancelled                                                                             00           518          A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 15:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808187#M1125547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T15:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808188#M1125548</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;When uploading a file from presentation server, you cannot schedule it for background job. Only if the file is in application server, background job will run. So, the option you have is first import the file into application server and then call the file in the program and then schedule background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 17:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808188#M1125548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T17:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808189#M1125549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vishwa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          how to upload the file to application server and use it through code.i haven't done this before , can u help me out....does the uploading the file to application server can be done by coding or does any transaction exists for this.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Nov 2008 19:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808189#M1125549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-23T19:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Doubts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808190#M1125550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&amp;amp;query=how" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&amp;amp;query=how&lt;/A&gt;&lt;EM&gt;to&lt;/EM&gt;&lt;EM&gt;download&lt;/EM&gt;file&lt;EM&gt;to&lt;/EM&gt;application&lt;EM&gt;server&lt;/EM&gt;&amp;amp;adv=false&amp;amp;sortby=cm_rnd_rankvalue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Nov 2008 19:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubts/m-p/4808190#M1125550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-23T19:30:24Z</dc:date>
    </item>
  </channel>
</rss>

