<?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: Problem in module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030059#M1807797</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 written according to you, but initially &lt;STRONG&gt;it_final&lt;/STRONG&gt; is empty,&lt;/P&gt;&lt;P&gt;so it returns sy-subrc = 4.&lt;/P&gt;&lt;P&gt;So not fetching data, i have written like this, please tell me whats wrong with this code.&lt;/P&gt;&lt;P&gt;I have to declare another internal table or else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_final&lt;SPAN class="L0S70"&gt;-sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'1'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Material'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Billing'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'2'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Goods'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Inputs'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'3'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Cost'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Value'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 07:45:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-29T07:45:03Z</dc:date>
    <item>
      <title>Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030053#M1807791</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;i am using some fields to e shown on table in module pool,&lt;/P&gt;&lt;P&gt;upon hitting enter, it should gets displayed in my table,&lt;/P&gt;&lt;P&gt;the problem is that, when i hits "enter", it is displaying my data&lt;/P&gt;&lt;P&gt;but again successive, it again displays all these entries.&lt;/P&gt;&lt;P&gt;But i wants that, after first enter, it should not come again&lt;/P&gt;&lt;P&gt;after any enter hits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_final&lt;SPAN class="L0S70"&gt;-sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'1'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Material'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Billing'.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'2'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Goods'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Inputs'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'3'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Cost'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Value'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;WRITE &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DESCRIPTION &lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030053#M1807791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030054#M1807792</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;Before append statement, check whether the entry already exists in internal table or not. If not, only then append the entry. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use MODULE on request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DPM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030054#M1807792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030055#M1807793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debopriyo,&lt;/P&gt;&lt;P&gt;i am not getting your points, please elaborate how could i do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030055#M1807793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030056#M1807794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;STRONG style="margin: -9px 0 0; font-size: 11px; color: #333333; text-align: right;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="767143" data-username="shweta.chouhan" href="https://answers.sap.com/people/shweta.chouhan" style="padding: 0 3px 0 0; font-weight: normal; font-style: inherit; font-size: 20px; font-family: inherit; color: #3778c7;"&gt;Shweta Chouhan&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just sort the internal table and delete the adjacent duplicates from the internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab ascending by filedname1 fileldname2......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from itab comparing fileldnale1........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solves your issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further queries??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay SR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030056#M1807794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030057#M1807795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-sno&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'1'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;description&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'Material'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;wa_final-subject&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'Billing'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp; READ TABLE it_final INTO wa_final1 WITH KEY subject = wa_final-subject.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030057#M1807795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030058#M1807796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;you can create a&amp;nbsp; &lt;/P&gt;&lt;P&gt;PROCESS_ON_VALUE-REQUEST&lt;/P&gt;&lt;P&gt;in the PAI of your program,&lt;/P&gt;&lt;P&gt;then code in your main program to get those data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030058#M1807796</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2014-01-29T07:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030059#M1807797</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 written according to you, but initially &lt;STRONG&gt;it_final&lt;/STRONG&gt; is empty,&lt;/P&gt;&lt;P&gt;so it returns sy-subrc = 4.&lt;/P&gt;&lt;P&gt;So not fetching data, i have written like this, please tell me whats wrong with this code.&lt;/P&gt;&lt;P&gt;I have to declare another internal table or else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_final&lt;SPAN class="L0S70"&gt;-sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'1'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Material'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Billing'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'2'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Goods'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Inputs'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'3'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Cost'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;wa_final-subject = 'Value'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;SNO &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030059#M1807797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030060#M1807798</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;You should not use serial number for comparision, either use description or subject.&lt;/P&gt;&lt;P&gt;I think I mistyped '=' instead of&amp;nbsp; '&amp;lt;&amp;gt;' , in my previous thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;okay put another check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF NOT it_final[] IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;IT_FINAL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;WA_FINAL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;KEY &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SNO &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;WA_FINAL&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SNO&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SY&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SUBRC &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;&lt;STRONG&gt;&amp;lt;&amp;gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-size: 12px; color: #333333;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;wa_final &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;it_final&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;&lt;STRONG&gt;ELSE.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;APPEND wa_final TO it_final.&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DPM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030060#M1807798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T07:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030061#M1807799</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;Replace you PAI logic as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : w_line type int4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;describe &lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;it_cra &lt;SPAN class="L0S52"&gt;lines &lt;/SPAN&gt;w_lines.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;tc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;current_line &amp;gt; w_lines.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;it_final.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;modify &lt;/SPAN&gt;it_final&amp;nbsp; &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;index &lt;/SPAN&gt;tc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;current_line.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030061#M1807799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030062#M1807800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'1'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'Material'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;wa_final-subject = 'Billing'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'2'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'Goods'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;wa_final-subject = 'Inputs'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;sno&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'3'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;wa_final&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;description&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;'Cost'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;wa_final-subject = 'Value'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;APPEND &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;TO &lt;/SPAN&gt;it_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CLEAR &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;sort it_final ascending.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Insert these lines , it will work for the multiple entry for each enter key&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;delete adjacent duplicates from it_final.&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;WRITE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;: &lt;/SPAN&gt;/ WA_FINAL&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;SNO&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;, &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;DESCRIPTION &lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;wa_final-subject&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CLEAR &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;: &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Vijay SR&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030062#M1807800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030063#M1807801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debopriyo,&lt;/P&gt;&lt;P&gt;one more thing i have created a z table, along with above data, there are some more&lt;/P&gt;&lt;P&gt;fields, which will be entered by user, and after that i wants to save those data&lt;/P&gt;&lt;P&gt;in my ztable, what can i do.&lt;/P&gt;&lt;P&gt;Let say i have some fields say fld1, and fld2 that will be entered by user on run time&lt;/P&gt;&lt;P&gt;now, along with above mentioned field i wants to save these fields in my ztable.&lt;/P&gt;&lt;P&gt;How could i achieve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030063#M1807801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030064#M1807802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;i have tried this already, but not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030064#M1807802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030065#M1807803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;thanks a lot, i have solved it, now can you please tell me how could i save my data&lt;/P&gt;&lt;P&gt;in a ztable, when some entries has been done in table control .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030065#M1807803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030066#M1807804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:53:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030066#M1807804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030067#M1807805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-ucomm = 'SAVE'. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF it_final IS NOT INITAIL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY ztable FROM it_final.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 09:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030067#M1807805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T09:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030068#M1807806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create PF Status with SAVE button.&lt;/P&gt;&lt;P&gt;Then in PAI write the function of save button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if sy-ucomm = 'SAVE'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;if it_final is not initial.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; insert ztab from table it_final.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endif&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 11:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030068#M1807806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T11:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030069#M1807807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;here i am showing you a sample code, please change it accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;inside MODULE &lt;/SPAN&gt;USER_COMMAND_9000 &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this code logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CASE &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;UCOMM&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ENTER'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;DISPLAY_DATA&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'EXIT' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BACK' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'CANCEL'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LEAVE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SCREEN &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 10pt;"&gt;'SAVE'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;SAVE_DATA&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDCASE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;UCOMM&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Now write a FORM SAVE_DATA as shown below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;FORM &lt;/SPAN&gt;SAVE_DATA &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;IT_FINAL &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_FINAL&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; your ztable work area&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;MANDT &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;MANDT&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; your ztable work area&lt;SPAN class="L0S70"&gt;-field1&lt;/SPAN&gt; &lt;SPAN class="L0S55"&gt;= your final table work area&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-field1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; your ztable work area&lt;SPAN class="L0S70"&gt;-field2&lt;/SPAN&gt; &lt;SPAN class="L0S55"&gt;= your final table work area&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-field2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; your ztable work area&lt;SPAN class="L0S70"&gt;-field3&lt;/SPAN&gt; &lt;SPAN class="L0S55"&gt;= your final table work area&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-field3&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; your ztable work area&lt;SPAN class="L0S70"&gt;-field4&lt;/SPAN&gt; &lt;SPAN class="L0S55"&gt;= your final table work area&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-field4&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;ZTABLE &lt;SPAN class="L0S52"&gt;FROM your ztable work area&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CLEAR your ztable work area&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 12:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-module-pool-programming/m-p/10030069#M1807807</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2014-01-29T12:25:47Z</dc:date>
    </item>
  </channel>
</rss>

