<?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: Facing problem in selecting from table vbrk in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359287#M521735</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;must include all necessary filtering fields, after select statements use COMMIT WORK, it will free the memory....and if it still take too long..then put it in background process...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2007 05:40:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-13T05:40:13Z</dc:date>
    <item>
      <title>Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359283#M521731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have developed a simple report for calculating the total logistic cost.&lt;/P&gt;&lt;P&gt;That program was working fine in the development server.&lt;/P&gt;&lt;P&gt;Now in production, its not working.&lt;/P&gt;&lt;P&gt;While debugging i found that its getting stuck at a select query where its fetching data from  VBRK table and is getting timed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should be done for reducing the time?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359283#M521731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359284#M521732</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;Make sure the VBRK select is using an index...OR using the primary key..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359284#M521732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359285#M521733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use where condition in select statement to minimize the selection criteria if u dont use the same in select  statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359285#M521733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359286#M521734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mention all the fields of a WHERE condition in order maintained in  table....because data is filtered based on order of  fields mentioned in condition ...in case if u mention a primary key as last condition in WHERE clause then performance will not be good&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359286#M521734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359287#M521735</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;must include all necessary filtering fields, after select statements use COMMIT WORK, it will free the memory....and if it still take too long..then put it in background process...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359287#M521735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359288#M521736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to add fields like GJAHR. it will restrict your select statement and improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sooness&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359288#M521736</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-06-13T05:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359289#M521737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren ,Seshu &amp;amp; Aarun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   First of all thanks a lot for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure of my select query is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SELECT cityc regiogroup bzirk  INTO  TABLE  it_ztaluka_1&lt;/P&gt;&lt;P&gt;    FROM ztaluka_1&lt;/P&gt;&lt;P&gt;         WHERE    regiogroup  IN   pregroup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE 'No records in ztaluka_1.' TYPE 'E'.&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;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="7" type="ul"&gt;&lt;P&gt;   I N I T I A L I S I N G   IT_VBRK   F R O M  VBRK  *******&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT it_ztaluka_1[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT  vbeln bzirk regio cityc zzwerks knumv&lt;/P&gt;&lt;P&gt;       FROM vbrk&lt;/P&gt;&lt;P&gt;       INTO  TABLE it_vbrk&lt;/P&gt;&lt;P&gt;         FOR ALL  ENTRIES IN it_ztaluka_1&lt;/P&gt;&lt;P&gt;           WHERE     zzwerks  IN  pzzwerks&lt;/P&gt;&lt;P&gt;           AND        regio   IN  pregio&lt;/P&gt;&lt;P&gt;           AND        cityc = it_ztaluka_1-cityc.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE 'No records in vbrk.' TYPE 'E'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SORT it_vbrk BY vbeln .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key field is vbeln,but that not included in my where condition  as its not in my selection criteria also in the previous tables which r used in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found the order in the select qusery is not in the order of vbrk table.&lt;/P&gt;&lt;P&gt;That i will change.But since the key field is not included it will again cause problems na??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359289#M521737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359290#M521738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sooness,&lt;/P&gt;&lt;P&gt;U suggested  to add fields like GJAHR,in where condition or in the select statement itself?&lt;/P&gt;&lt;P&gt;If u dont mind plz clear my doubt.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359290#M521738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359291#M521739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonard&lt;/P&gt;&lt;P&gt;How to put in back ground?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ..&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359291#M521739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359292#M521740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from ur source code it looks like u r slectiong data from vbrk on the basis of ur ztable on dev server. do you tranport the same structure on prod server along with your program code plz chk that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359292#M521740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359293#M521741</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;put your program in BDC...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359293#M521741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359294#M521742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That ztable is created by me only and i transported that to the production at the same time.&lt;/P&gt;&lt;P&gt;And in production when i debugged na,the internal table  it_ztaluka_1 is getting filled properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359294#M521742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem in selecting from table vbrk</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359295#M521743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;put it in where condition! thu you will retrieve data of current fiscal year only. Try to put other fields that will filter out unwanted data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Sooness&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/facing-problem-in-selecting-from-table-vbrk/m-p/2359295#M521743</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-06-13T06:35:32Z</dc:date>
    </item>
  </channel>
</rss>

