<?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: Table Controls: LOOP WITH CONTROL skips code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575554#M860713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used this style plenty of times for data entry screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"[ in PBO ]
  loop with control tc_8888_sr.

    module d8888_fill_tc.     "load data from internal table row

  endloop.

"[ in PAI ]
  loop with control tc_8888_sr.

    chain.

      field:
        gs_8888_tc-sel,
        gs_8888_tc-ltext.
      module d8888_line_tc_handler.  "line validation / capture into internal table row

    endchain.

  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and not had a problem... The symptom you describe sounds more like the module in PAI isn't actually implemented - what happens when you double click on it?  (extended check will also show up exceptions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 06:14:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-01T06:14:42Z</dc:date>
    <item>
      <title>Table Controls: LOOP WITH CONTROL skips code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575552#M860711</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 use a table control to get data from the dialog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both in PBO and in PAI there is a LOOP transfering the datasets from the internal table to the table control and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO the "LOOP WITH CONTROL"-statement works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI the "LOOP WITH CONTROL"-statement is execute and sy-stepl/sy-loopc are filled with the correct values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in PAI "LOOP WITH CONTROL" skips the source-code inside the loop. The debugger jumps to the ENDLOOP-statement ignoring all statements between LOOP .. and ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 17:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575552#M860711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T17:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Controls: LOOP WITH CONTROL skips code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575553#M860712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthias,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In PAI code that I've written with Table Controls, I do not use the WITH CONTROL option.  Here is one example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  loop at WT_ZLMACT.
    chain.
      field WK_ZLMACT-SEQNO.
      field WK_ZLMACT-CONT_TY.
      field WK_ZLMACT-CONT_DT.
      field WK_ZLMACT-CONT_TM.
      field WK_ZLMACT-CONTRE.
      field WK_ZLMACT-COMP_DT.
      field WK_ZLMACT-COMP_TM.
      field WK_ZLMACT-COMP_NM.
      field WK_ZLMACT-AEDAT.
      field WK_ZLMACT-AETIM.
      field WK_ZLMACT-AENAM.
      field WK_ZLMACT-ERDAT.
      field WK_ZLMACT-ERTIM.
      field WK_ZLMACT-ERNAM.
      field WK_ZLMACT-DISP_NOTE.
    endchain.
    field WK_ZLMACT-SEL
      module TABCTL_ZLMACT_mark on request.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 18:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575553#M860712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T18:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table Controls: LOOP WITH CONTROL skips code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575554#M860713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used this style plenty of times for data entry screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"[ in PBO ]
  loop with control tc_8888_sr.

    module d8888_fill_tc.     "load data from internal table row

  endloop.

"[ in PAI ]
  loop with control tc_8888_sr.

    chain.

      field:
        gs_8888_tc-sel,
        gs_8888_tc-ltext.
      module d8888_line_tc_handler.  "line validation / capture into internal table row

    endchain.

  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and not had a problem... The symptom you describe sounds more like the module in PAI isn't actually implemented - what happens when you double click on it?  (extended check will also show up exceptions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 06:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575554#M860713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T06:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Controls: LOOP WITH CONTROL skips code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575555#M860714</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;&lt;/P&gt;&lt;P&gt;thanks a lot for the advices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the problem. It is rather simple. There are 4 lines displayed in my table control and all of them are initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI skips initial lines automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm so stupid. That took me a long time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 17:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-loop-with-control-skips-code/m-p/3575555#M860714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T17:34:45Z</dc:date>
    </item>
  </channel>
</rss>

