<?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: strange select behavior in batch (bw extractor) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054347#M89979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Catherine,&lt;/P&gt;&lt;P&gt;sorry but I've got no idea what you're talking about. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should post this question in the Data Warehousing forum?&lt;/P&gt;&lt;P&gt;Or somewhere else anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2005 03:24:46 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2005-12-22T03:24:46Z</dc:date>
    <item>
      <title>strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054346#M89978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm receiving some odd behavior from a select statment being processed in batch mode (specifically, when run in a normal BW extractor - start routine), the select yields no results .. sy-subrc = 4 and target itab is empty.  however, when i run this same select statement in debug, i get sy-subrc = 0 and records are returned!!  I tried putting the select statement in a standard abap program &amp;amp; it came back successfully in both foreground &amp;amp; background.  something is strange when run in the BW extractor process?? anyone familiar with this?? any help is appreciated!!  Thanks!! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 02:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054346#M89978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T02:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054347#M89979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Catherine,&lt;/P&gt;&lt;P&gt;sorry but I've got no idea what you're talking about. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should post this question in the Data Warehousing forum?&lt;/P&gt;&lt;P&gt;Or somewhere else anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 03:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054347#M89979</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2005-12-22T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054348#M89980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for the reply. This message is also posted in the BW forum as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="92985"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 06:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054348#M89980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T06:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054349#M89981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the code you are writing can you show the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 06:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054349#M89981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T06:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054350#M89982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the comments! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is in the start routine from 0BBP_CONF_TD_1 into 0BBP_CON.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The select returns records when in debug&lt;/P&gt;&lt;P&gt;-I've tried running it open without the "for all entries" &amp;amp; it still fails in batch&lt;/P&gt;&lt;P&gt;-The select works during the delta but always fails on the initial load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select is a join:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN of t_JOIN1 OCCURS 0,&lt;/P&gt;&lt;P&gt;        CONNUM    LIKE /BI0/ABBP_CON00-BBP_CON_ID,&lt;/P&gt;&lt;P&gt;        CONITEM   LIKE /BI0/ABBP_CON00-BBP_COITEM,&lt;/P&gt;&lt;P&gt;        PONUM     LIKE /BI0/ABBP_PO00-BBP_PO_ID,&lt;/P&gt;&lt;P&gt;        POITEM    LIKE /BI0/ABBP_PO00-BBP_POITEM,&lt;/P&gt;&lt;P&gt;        ACGUID    LIKE /BI0/ABBP_PO00-BBP_ACGUID,&lt;/P&gt;&lt;P&gt;        SCNUM     LIKE /BI0/ABBP_SC00-BBP_SC_ID,&lt;/P&gt;&lt;P&gt;        SCITEM    LIKE /BI0/ABBP_SC00-BBP_SCITEM,&lt;/P&gt;&lt;P&gt;        REQSTR    LIKE /BI0/ABBP_SC00-BBP_REQSTR.&lt;/P&gt;&lt;P&gt;DATA: END of t_JOIN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         SELECT a~BBP_CON_ID&lt;/P&gt;&lt;P&gt;                a~BBP_COITEM&lt;/P&gt;&lt;P&gt;                a~BBP_PO_ID&lt;/P&gt;&lt;P&gt;                a~BBP_POITEM&lt;/P&gt;&lt;P&gt;                b~BBP_ACGUID&lt;/P&gt;&lt;P&gt;                c~BBP_SC_ID&lt;/P&gt;&lt;P&gt;                c~BBP_SCITEM&lt;/P&gt;&lt;P&gt;                c~BBP_REQSTR&lt;/P&gt;&lt;P&gt;           INTO TABLE t_JOIN1&lt;/P&gt;&lt;P&gt;           FROM /BI0/ABBP_CON00 as a&lt;/P&gt;&lt;P&gt;     INNER JOIN /BI0/ABBP_PO00  as b&lt;/P&gt;&lt;P&gt;             ON a&lt;SUB&gt;BBP_PO_ID  =  b&lt;/SUB&gt;BBP_PO_ID AND&lt;/P&gt;&lt;P&gt;                a&lt;SUB&gt;BBP_POITEM =  b&lt;/SUB&gt;BBP_POITEM&lt;/P&gt;&lt;P&gt;     INNER JOIN /BI0/ABBP_SC00  as c&lt;/P&gt;&lt;P&gt;             ON b&lt;SUB&gt;BBP_SC_ID  =  c&lt;/SUB&gt;BBP_SC_ID&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            AND b&lt;SUB&gt;BBP_SCITEM =  c&lt;/SUB&gt;BBP_SCITEM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            FOR ALL ENTRIES IN  DATA_PACKAGE&lt;/P&gt;&lt;P&gt;          WHERE a~BBP_CON_ID =  DATA_PACKAGE-BBP_CON_ID AND&lt;/P&gt;&lt;P&gt;                a~BBP_COITEM =  DATA_PACKAGE-BBP_COITEM AND&lt;/P&gt;&lt;P&gt;                a~BBP_COITEM &amp;lt;&amp;gt; 0 AND&lt;/P&gt;&lt;P&gt;                b~BBP_ACGUID &amp;lt;&amp;gt; '0000' AND&lt;/P&gt;&lt;P&gt;                c~BBP_SCITEM &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 14:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054350#M89982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: strange select behavior in batch (bw extractor)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054351#M89983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;really sorry to waste everyone's time.. please see the BW forum posting to read the entire thread.  &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="92985"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue was basically a tremendous oversight in the design!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the tables in the select is actually the table that the BW extractor is loading.  Therefore, on the initial load, the select never returns records bc records don't exist yet!  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the contributions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 15:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-select-behavior-in-batch-bw-extractor/m-p/1054351#M89983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T15:27:32Z</dc:date>
    </item>
  </channel>
</rss>

