<?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 Table control in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-program/m-p/6093983#M1359236</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;I have 2 screens 100 and 110 in my module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter the hu_barcode value in the screen 100 and click enter control goes to screen 110 and appends the barcode value in the table control.Again if I enter a separate hu_barcode value in screen 110 and click enter that value also gets appended in table control of the same screen 110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I enter the hu_barcode value in screen 110 which I have entered for the first time in screen 100 that should not get appended in the table control as the value is already there in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I capture the values entered in table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the following code in my program.But it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF hu_barcode &amp;lt;&amp;gt; lv_exidv.

        APPEND wa_vekp TO tab_vekp.

      ENDIF.
      lv_exidv = wa_vekp-exidv.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2009 09:33:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-11T09:33:55Z</dc:date>
    <item>
      <title>Table control in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-program/m-p/6093983#M1359236</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;I have 2 screens 100 and 110 in my module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter the hu_barcode value in the screen 100 and click enter control goes to screen 110 and appends the barcode value in the table control.Again if I enter a separate hu_barcode value in screen 110 and click enter that value also gets appended in table control of the same screen 110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I enter the hu_barcode value in screen 110 which I have entered for the first time in screen 100 that should not get appended in the table control as the value is already there in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I capture the values entered in table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the following code in my program.But it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF hu_barcode &amp;lt;&amp;gt; lv_exidv.

        APPEND wa_vekp TO tab_vekp.

      ENDIF.
      lv_exidv = wa_vekp-exidv.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 09:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-program/m-p/6093983#M1359236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T09:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-program/m-p/6093984#M1359237</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;U need to insert a control in the loop of table control in PAI process, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code}PROCESS PAI.&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;      FIELD BARCODE MODULE CHECK_BARCODE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.code}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE CHECK_BARCODE.

   LOOP AT ITAB INTO WA WHERE BARCODE = BARCODE.
      IF SY-TABIX &amp;lt;&amp;gt; &amp;lt;table control&amp;gt;-current_line.
         ERROR = 'X'.
         EXIT.
     ENDIF.
  ENDLOOP.
  IF ERROR = 'X'.
------------&amp;gt; error message
  ENDIF.

ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 09:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-module-pool-program/m-p/6093984#M1359237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T09:39:09Z</dc:date>
    </item>
  </channel>
</rss>

