<?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: CHAIN ENDCHAIN for a table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-for-a-table-control/m-p/7427769#M1550075</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;The code is always the same, but the place where it has to be inserted depends on which fields have to be managed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are table control field it needs to insert in the loop of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT tc_li_itab.
  CHAI,
     FIELD: &amp;lt;field1&amp;gt;,
               &amp;lt;field2&amp;gt;,
               .............
     MODULE process.
  ENDCHAIN.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else out of loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT tc_li_itab.
ENDLOOP.

  CHAI,
     FIELD: &amp;lt;field1&amp;gt;,
               &amp;lt;field2&amp;gt;,
               .............
     MODULE process.
  ENDCHAIN.&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>Sat, 06 Nov 2010 18:41:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-06T18:41:29Z</dc:date>
    <item>
      <title>CHAIN ENDCHAIN for a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-for-a-table-control/m-p/7427768#M1550074</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 have my screen logic like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT tc_li_itab.&lt;/P&gt;&lt;P&gt;      MODULE read_tc.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    MODULE &lt;STRONG&gt;&lt;U&gt;process.&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    MODULE &lt;STRONG&gt;&lt;U&gt;user&lt;/U&gt;command_0110._&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement CHAIN and ENDCHAIN for the underlined modules. How can i do that???&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Nov 2010 18:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-for-a-table-control/m-p/7427768#M1550074</guid>
      <dc:creator>former_member191562</dc:creator>
      <dc:date>2010-11-06T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: CHAIN ENDCHAIN for a table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-for-a-table-control/m-p/7427769#M1550075</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;The code is always the same, but the place where it has to be inserted depends on which fields have to be managed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are table control field it needs to insert in the loop of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT tc_li_itab.
  CHAI,
     FIELD: &amp;lt;field1&amp;gt;,
               &amp;lt;field2&amp;gt;,
               .............
     MODULE process.
  ENDCHAIN.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else out of loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LOOP AT tc_li_itab.
ENDLOOP.

  CHAI,
     FIELD: &amp;lt;field1&amp;gt;,
               &amp;lt;field2&amp;gt;,
               .............
     MODULE process.
  ENDCHAIN.&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>Sat, 06 Nov 2010 18:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-for-a-table-control/m-p/7427769#M1550075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-06T18:41:29Z</dc:date>
    </item>
  </channel>
</rss>

