<?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 BDC issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569017#M858949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility in call transaction that error records can have the report program( in the same bdc program) and provided as a list. if it scheduled at background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any specific number for records that the user should choose the foreground or background when he run the program.i.e  for ex. if it is 50 records you can execute immediately say if it is 1000 records go for background scheduling the program.&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 in advance,&lt;/P&gt;&lt;P&gt;poorna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2008 12:08:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-19T12:08:14Z</dc:date>
    <item>
      <title>BDC issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569017#M858949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility in call transaction that error records can have the report program( in the same bdc program) and provided as a list. if it scheduled at background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any specific number for records that the user should choose the foreground or background when he run the program.i.e  for ex. if it is 50 records you can execute immediately say if it is 1000 records go for background scheduling the program.&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 in advance,&lt;/P&gt;&lt;P&gt;poorna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 12:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569017#M858949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T12:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: BDC issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569018#M858950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Purna,&lt;/P&gt;&lt;P&gt;            It would be better if you store the log messages inside a custom table and then roll it out in a report form. &lt;/P&gt;&lt;P&gt;The other way is to pass them in another spool form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 01:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569018#M858950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T01:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: BDC issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569019#M858951</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;&lt;/P&gt;&lt;P&gt;1. After CALL TRANSACTION  statement in BDC  check sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare internal table(i_errors) having the fields which required to show in error records file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF i_RECORDS OCCRS 0,&lt;/P&gt;&lt;P&gt;               REC(500),&lt;/P&gt;&lt;P&gt;            END OF i_RECORDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TARASACTION  ..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MOVE  : ITAB records into i_errors.&lt;/P&gt;&lt;P&gt;    APPEND.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-BATCH EQ 'X'.&lt;/P&gt;&lt;P&gt;  OPEN DATA SET filename.&lt;/P&gt;&lt;P&gt;   LOOP AT i_errors.          &lt;/P&gt;&lt;P&gt;      TRANSFER i_errors TO filename.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;  CLOSE DATASET  filename.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here all eroor records will store in Application server file.You can view by tcode AL11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab LINE v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF v_lines &amp;gt; 50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     use FM   JOB_OPEN , JOB_SUBMIT  ,JOB_CLOSE. to run in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    BDC code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 02:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-issue/m-p/3569019#M858951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T02:41:35Z</dc:date>
    </item>
  </channel>
</rss>

