<?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: Getting Error when createing Table control in Module Pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482165#M1419123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use the table control wizard when it is available, please try to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 12:22:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-05T12:22:17Z</dc:date>
    <item>
      <title>Getting Error when createing Table control in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482161#M1419119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am creating a module pool program . i want to crate line item value for that i have created table control  on screen 200 .&lt;/P&gt;&lt;P&gt;but when i am activation to that giving error below mention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field "ZFBDCHALLAN-EBELN" is not assigned to a loop. "LOOP ...ENDLOOP" must appear in "PBO" and "PAI".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482161#M1419119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error when createing Table control in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482162#M1419120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to copy the screen data between program and screen we need to code a LOOP statement in both PBO and PAI events &lt;/P&gt;&lt;P&gt;for each table in the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through the basics of creating a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://www.sapmaterial.com/tablecontrol_sap.html]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482162#M1419120</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-05T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error when createing Table control in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482163#M1419121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its mandatory to have loop endloop in both events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO and PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop your internal table similarly.&lt;/P&gt;&lt;P&gt;Please check it should be below format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PROCESS BEFORE OUTPUT.
* Set PF Status for screen 100.
  MODULE status_0200.

* This module will initialize the field
  MODULE init_0100.

  LOOP AT t_custmat_asg INTO w_custmat_asg
      WITH CONTROL tc_1
      CURSOR tc_1-current_line.
* It will count the record in internal table
    MODULE set_linecount.
* Screen Modifications
    MODULE status_check.
  ENDLOOP.

PROCESS AFTER INPUT.
* Module AT EXIT-COMMAND
  MODULE exit_0200 AT EXIT-COMMAND.

  LOOP AT t_custmat_asg .
    CHAIN.
      FIELD :
      w_custmat_asg-check,
              w_custmat_asg-kunnr,
              w_custmat_asg-name1,
              w_custmat_asg-asgtyp,
              w_custmat_asg-productcls,
              w_custmat_asg-sctegry,
              w_custmat_asg-ctegry,
              w_custmat_asg-parent,
              w_custmat_asg-frmdate,
              w_custmat_asg-todate,
              w_custmat_asg-frecster,
              w_custmat_asg-salesrep,
              w_custmat_asg-flag,
              w_custmat_asg-username,
              w_custmat_asg-udate.
* Validation For Forecaster.
      MODULE validate_forecaster.
* Validation For Salesrep.
      MODULE valiate_salesrep.
* Validation for Customer
      module validate_customer.
* Validate null value
      module validate_null_vals.
* Validation For Data Changed On The Screen
      MODULE data_changed_0200 ON CHAIN-REQUEST.
    ENDCHAIN.
  ENDLOOP.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Satish Boguda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482163#M1419121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error when createing Table control in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482164#M1419122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;You have declare table control in pgm.&lt;/P&gt;&lt;P&gt;CONTROLS:tc TYPE TABLEVIEW USING SCREEN 1002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in modul programming.&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;  LOOP AT lt_ekko INTO lw_ekko WITH CONTROL tc.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;  LOOP AT lt_ekko.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482164#M1419122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error when createing Table control in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482165#M1419123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use the table control wizard when it is available, please try to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 12:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-createing-table-control-in-module-pool/m-p/6482165#M1419123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T12:22:17Z</dc:date>
    </item>
  </channel>
</rss>

