<?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: Issue with program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708871#M1769898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;BEGIN OF &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; partno &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbpn&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; fam &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbfamge&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; version&amp;nbsp; &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbversge&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;END OF &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;BR /&gt; str_mph &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; tble_mph &lt;SPAN style="color: blue; background: white;"&gt;TYPE TABLE OF &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; it_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;LIKE &lt;/SPAN&gt;RESULT_PACKAGE&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; wa_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;LIKE LINE OF &lt;/SPAN&gt;RESULT_PACKAGE&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DATA &lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;: &lt;/SPAN&gt;program &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbprog&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONSTANTS&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;: &lt;/SPAN&gt;novlue &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;string &lt;SPAN style="color: blue; background: white;"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; background: white;"&gt;'NA'&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Loop on MPL&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;str_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;IF &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_mph &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONCATENATE &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;/bic/zbmodule&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;APPEND &lt;/SPAN&gt;str_mph &lt;SPAN style="color: blue; background: white;"&gt;TO &lt;/SPAN&gt;tble_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Copy of Result package&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;FREE &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;REFRESH &lt;/SPAN&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;wa_resultpackage&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;fl_gpd &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_mph &lt;SPAN style="color: blue; background: white;"&gt;IS INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;APPEND &lt;/SPAN&gt;wa_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;TO &lt;/SPAN&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;EM style="color: gray; background: white;"&gt;*Loop on GPD&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;it_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;READ TABLE &lt;/SPAN&gt;tble_mph &lt;SPAN style="color: blue; background: white;"&gt;WITH KEY&lt;/SPAN&gt;&lt;BR /&gt; partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;BINARY SEARCH TRANSPORTING NO FIELDS&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; background: white;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Delete lines already on MPH&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DELETE &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;WHERE&lt;/SPAN&gt;&lt;BR /&gt; /bic/zbmodule &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;/bic/zbmodule&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;article&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;article&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;rept&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;rept&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;partno&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_gpd &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_gpd&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_mph&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;EM style="color: gray; background: white;"&gt;"&lt;/EM&gt; &lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Assignement of program&lt;/EM&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONCATENATE &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version novlue &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Assign NO_PROG where no program is assigned&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;program&amp;nbsp; &lt;SPAN style="color: blue; background: white;"&gt;IS INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; background: white;"&gt;'NO_PROG'&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 14:48:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-09T14:48:56Z</dc:date>
    <item>
      <title>Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708868#M1769895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a program in BW to make some complex calculations, but it's making forever to complete the calcuations.&lt;/P&gt;&lt;P&gt;I used fields symbols and read binary serach to accelerate treatments, but i only won few minutes, I have about 4 millions records in my database.&lt;/P&gt;&lt;P&gt;What other kind of improvements can i use to accelerate my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708868#M1769895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-09T14:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708869#M1769896</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;depends of the code Amine &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1735/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a little tips to accelerate READ TABLE but it's more easy to explain with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708869#M1769896</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-09-09T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708870#M1769897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Merci Frederic &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1735/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was on debug mode, i think that i have too much loops in my code and this what's wrong with my program. I have to use sort statements and find a way to supress those loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708870#M1769897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-09T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708871#M1769898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;TYPES&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;BEGIN OF &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; partno &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbpn&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; fam &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbfamge&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; version&amp;nbsp; &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbversge&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;END OF &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;:&lt;/SPAN&gt;&lt;BR /&gt; str_mph &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; tble_mph &lt;SPAN style="color: blue; background: white;"&gt;TYPE TABLE OF &lt;/SPAN&gt;structure&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; it_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;LIKE &lt;/SPAN&gt;RESULT_PACKAGE&lt;SPAN style="color: purple; background: white;"&gt;,&lt;/SPAN&gt;&lt;BR /&gt; wa_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;LIKE LINE OF &lt;/SPAN&gt;RESULT_PACKAGE&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DATA &lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;: &lt;/SPAN&gt;program &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;/bic/oizbprog&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONSTANTS&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;: &lt;/SPAN&gt;novlue &lt;SPAN style="color: blue; background: white;"&gt;TYPE &lt;/SPAN&gt;string &lt;SPAN style="color: blue; background: white;"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; background: white;"&gt;'NA'&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Loop on MPL&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;str_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;IF &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_mph &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONCATENATE &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;/bic/zbmodule&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; str_mph&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;APPEND &lt;/SPAN&gt;str_mph &lt;SPAN style="color: blue; background: white;"&gt;TO &lt;/SPAN&gt;tble_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Copy of Result package&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;FREE &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;REFRESH &lt;/SPAN&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;wa_resultpackage&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;fl_gpd &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version &lt;SPAN style="color: blue; background: white;"&gt;IS NOT INITIAL&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_mph &lt;SPAN style="color: blue; background: white;"&gt;IS INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;APPEND &lt;/SPAN&gt;wa_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;TO &lt;/SPAN&gt;it_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;EM style="color: gray; background: white;"&gt;*Loop on GPD&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;it_resultpackage &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;READ TABLE &lt;/SPAN&gt;tble_mph &lt;SPAN style="color: blue; background: white;"&gt;WITH KEY&lt;/SPAN&gt;&lt;BR /&gt; partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;BINARY SEARCH TRANSPORTING NO FIELDS&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; background: white;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Delete lines already on MPH&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;DELETE &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;WHERE&lt;/SPAN&gt;&lt;BR /&gt; /bic/zbmodule &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;/bic/zbmodule&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;article&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;article&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;rept&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;rept&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;partno&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_gpd &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_gpd&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fl_mph&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fl_mph&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;EM style="color: gray; background: white;"&gt;"&lt;/EM&gt; &lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Assignement of program&lt;/EM&gt; &lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;partno &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;partno&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;fam &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;AND &lt;/SPAN&gt;version &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;wa_resultpackage&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CLEAR &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;CONCATENATE &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;fam&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;version novlue &lt;SPAN style="color: blue; background: white;"&gt;INTO &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;program&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*Assign NO_PROG where no program is assigned&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;LOOP AT &lt;/SPAN&gt;RESULT_PACKAGE &lt;SPAN style="color: blue; background: white;"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;result_fields&amp;gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;WHERE &lt;/SPAN&gt;program&amp;nbsp; &lt;SPAN style="color: blue; background: white;"&gt;IS INITIAL&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;result_fields&amp;gt;&lt;SPAN style="color: gray; background: white;"&gt;-&lt;/SPAN&gt;program &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; background: white;"&gt;'NO_PROG'&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708871#M1769898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-09T14:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708872#M1769899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="systran_seg" id="Sp1.s2_o"&gt;&lt;SPAN class="systran_token_word" id="p1.t2_1"&gt;You&lt;/SPAN&gt; &lt;SPAN class="systran_token_word" id="p1.t2_2"&gt;could&lt;/SPAN&gt; &lt;SPAN class="systran_token_word" id="p1.t2_3"&gt;try&lt;/SPAN&gt; &lt;SPAN class="systran_token_word" id="p1.t2_5"&gt;to parallel&lt;/SPAN&gt; &lt;SPAN class="systran_altmeaning" id="altmeaning_1"&gt;&lt;SPAN class="systran_token_word" id="p1.t2_7"&gt;calculations&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="systran_token_word" id="p1.t2_8"&gt;in&lt;/SPAN&gt; &lt;SPAN class="systran_altmeaning" id="altmeaning_2"&gt;&lt;SPAN class="systran_token_word" id="p1.t2_9"&gt;batches of records, but you should give us more informations, what do you perform with internal tables ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="systran_seg"&gt;&lt;SPAN class="systran_altmeaning"&gt;&lt;SPAN class="systran_token_word"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="systran_seg"&gt;&lt;SPAN class="systran_altmeaning"&gt;&lt;SPAN class="systran_token_word"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708872#M1769899</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-09-09T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708873#M1769900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why did you LOOP several times in the same table ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it's possible to make only one loop ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;P&gt;(ok to speak in French &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1735/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708873#M1769900</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-09-09T14:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708874#M1769901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try choosing more meaningful subject lines in the future, most people here have an "issue with program".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you run your program through an ABAP trace, transactions SAT or ST12, this will tell you exactly where most time is spent and where to focus first for performance tuning measures.&lt;/P&gt;&lt;P&gt;Please search for existing SCN how-to-blogs for these transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708874#M1769901</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2013-09-09T14:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708875#M1769902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't forget that a READ TABLE BINARY SEARCH on a not sorted table may (and will) give unpredictable result, and that a LOOP WHERE is only optimized on SORTED TABLE TYPE, not STANDARD tables even if sorted by SORT statement (define a TYPE SORTED TABLE of structuer and give the keys)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(It is not always easy to optimize BW extraction, I know for sure. And extraction can break package of records so you may not have every required record in the same package, or you insure this in a custom extractor bypassing package sieze when necessary...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 15:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708875#M1769902</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-09-09T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708876#M1769903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I can find couple of bottlenecks in the code. Well, I would also like to suggest few performance improvement points :&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Pls use Parallel Curser Method for Looping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing"&gt;http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing&lt;/A&gt;&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;take the entries of internal table&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;into another duplicate table, sort the table by relevant fields and the delete the unwanted entries and then loop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: arial,helvetica,sans-serif;"&gt;Also free the duplicate table after the loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Do not delete the entries inside the loop, better set a flag and then delete the entries outside the loop, sort the table before deleting entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. use as much as free as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Sort the internal table before using in Loop ( with where cond. ) or Read ( with Binary search ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. post for further clarification, if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708876#M1769903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-09T18:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708877#M1769904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can merge most of the loop processes in a single loop itself. Like when you are doing &lt;/P&gt;&lt;P&gt;Loop on MPL, at that time just add a condition before endloop and update it_resultpackage. Also in this loop only Assign NO_PROG where no program is assigned. These will reduce your 3 loops to 1. This NO_PROG can be updated if you find another value in subsequent loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if you can avoid a loop inside it_resultpackage - though i did not understand fully logic of this new internal table. Check if you can check conditions in first loop itself and populate the program field. So every thing is done in one loop only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And offcourse do sorting of intenal tables before reading or better use Hashed Table with proper keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 08:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708877#M1769904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T08:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708878#M1769905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using parallel cursor method will increase the time while you are doing loop inside loop(almost 50%).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Supratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 09:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708878#M1769905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T09:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708879#M1769906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the use of each internal table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Courier New'; background-color: #ffffff;"&gt;RESULT_PACKAGE&lt;/SPAN&gt; = Package of data collected by BW while loading&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Courier New'; background-color: #ffffff;"&gt;tble_mph&lt;/SPAN&gt; = Table where i am collecting only MPH records&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Courier New'; background-color: #ffffff;"&gt;it_resultpackage&lt;/SPAN&gt; = I am copying the result package but only GPD records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 09:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708879#M1769906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T09:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708880#M1769907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the following point:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;2. Do not delete the entries inside the loop, better set a flag and then delete the entries outside the loop, sort the table before deleting entries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;How can i set a flag?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Amine&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708880#M1769907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708881#M1769908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the following tips to increase performance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Aggregate the loop over RESULT_PACKAGE in a minimal level (might be in a single LOOP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Rather to use Loop all the time prefer to use READ statement if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Also prefer to process 4 million records in multiple processes part by part based on primary key of RESULT_ PACKAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Debabrata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 16:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708881#M1769908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T16:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708882#M1769909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose we have a internal table &lt;/P&gt;&lt;P&gt;lt_tab with fields four fields f1, f2, f3 and&amp;nbsp; f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose we need to delete any particular type of&amp;nbsp; entry inside loop based on some condition.&lt;/P&gt;&lt;P&gt;Then, we can now add one more filed in the table lt_tab,&lt;/P&gt;&lt;P&gt;say lf_del,&lt;/P&gt;&lt;P&gt;Based on the condition, set the flag lf_del = 'X' for all the records with suitable condition, where we need to delete the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, once the loop ends, &lt;/P&gt;&lt;P&gt;sort lt_tab by lf_del&lt;/P&gt;&lt;P&gt;and then delete all the entries which does not satisfy our condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete lt_tab where lf_del = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By following this approach we can eliminate deletion of records inside loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 18:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708882#M1769909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T18:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708883#M1769910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avoid using where conditions in loop also.Instead of that put check condition after loop pass with those where conditions.&lt;BR /&gt;@Thomas Zloch has suggested a good point and parallel cursor could lead the program performance to better extend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Samal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 19:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708883#M1769910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-10T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708884#M1769911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amine Lamkaissi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before using READ statement with BINARY SEARCH -&amp;nbsp; SORT internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Avoid LOOP inside LOOP - Use Parallel Cursor method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Avoid DELETE inside the loop - Use DELETE after LOOP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 03:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708884#M1769911</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-09-11T03:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708885#M1769912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that i have to delete my records directly in a BW result package.&lt;/P&gt;&lt;P&gt;I can't add any additional field to my result fields (not allowed in BW)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how i can bypass it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 08:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-program/m-p/9708885#M1769912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-11T08:53:31Z</dc:date>
    </item>
  </channel>
</rss>

