<?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 Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728726#M317475</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;1. Create program in SE38 type module pool and Activated&lt;/P&gt;&lt;P&gt;2. Go to SE51 give the program name and screen number then Layout Editor in drags table control with wizard.&lt;/P&gt;&lt;P&gt;3. Start the Wizard give the table control name (TBCL)&lt;DEL&gt;&amp;gt;click the continue&lt;/DEL&gt;&amp;gt;Give the Dictionary table name like(MARA)&lt;DEL&gt;&amp;gt;Continue&lt;/DEL&gt;&amp;gt;Select the filed(MATNR) or Fields&lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;check the Scroll check box &lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;click the completed --&amp;gt; Save --&amp;gt; Activated.&lt;/P&gt;&lt;P&gt;4. Automacaly code is generated.&lt;/P&gt;&lt;P&gt;5. One more Push Button (ADD) adds to layout for selected row and retrieves values into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&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;MODULE USER_COMMAND_0700.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;Data: BEGIN OF TB_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;            MNO LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;        END OF TB_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT. &lt;/P&gt;&lt;P&gt;     WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;       READ TABLE G_TBCL_ITAB INTO G_TBCL_WA WITH KEY FLAG = 'X'.&lt;/P&gt;&lt;P&gt;       MOVE G_TBCL_WA-MATNR TO TB_MARA-MNO.&lt;/P&gt;&lt;P&gt;       APPEND TB_MARA.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2006 16:36:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-14T16:36:10Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728721#M317470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using a table control on my screen. I want to know the selected row  and retrieve values in that row from code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I go about It.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728721#M317470</guid>
      <dc:creator>pbechani</dc:creator>
      <dc:date>2006-12-05T11:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728722#M317471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;within the table control U can define a checkbox which an be defined as a flag in ur internal table...Go to properties of table control and get the checkbox assigned with one row selected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when U check one row and click on button, the internal table flag will be X thru which u can write appropriate code..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728722#M317471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728723#M317472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to ABAP can you give me a sample code code on how to read this column named MARK and check if it is assigned 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 12:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728723#M317472</guid>
      <dc:creator>pbechani</dc:creator>
      <dc:date>2006-12-05T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728724#M317473</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;say if you have the code in an internal table ITAB, you can read the respective selected rows with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab where mark = 'X'.
-- 
--
 
- 
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
delete itab where mark &amp;lt;&amp;gt; 'X'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to write this code in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 13:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728724#M317473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728725#M317474</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;If itab is your internal table used for table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : selected_line type sy-stepl,&lt;/P&gt;&lt;P&gt;          delete_index type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'DELE'.&lt;/P&gt;&lt;P&gt;get cursor line selected_line.&lt;/P&gt;&lt;P&gt;delete_index = TABLECONTROL-top_line + selected_line - 1.&lt;/P&gt;&lt;P&gt;delete itab index delete_index.&lt;/P&gt;&lt;P&gt; clear selected_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need anything let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 20:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728725#M317474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728726#M317475</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;1. Create program in SE38 type module pool and Activated&lt;/P&gt;&lt;P&gt;2. Go to SE51 give the program name and screen number then Layout Editor in drags table control with wizard.&lt;/P&gt;&lt;P&gt;3. Start the Wizard give the table control name (TBCL)&lt;DEL&gt;&amp;gt;click the continue&lt;/DEL&gt;&amp;gt;Give the Dictionary table name like(MARA)&lt;DEL&gt;&amp;gt;Continue&lt;/DEL&gt;&amp;gt;Select the filed(MATNR) or Fields&lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;check the Scroll check box &lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;click the completed --&amp;gt; Save --&amp;gt; Activated.&lt;/P&gt;&lt;P&gt;4. Automacaly code is generated.&lt;/P&gt;&lt;P&gt;5. One more Push Button (ADD) adds to layout for selected row and retrieves values into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&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;MODULE USER_COMMAND_0700.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;Data: BEGIN OF TB_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;            MNO LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;        END OF TB_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT. &lt;/P&gt;&lt;P&gt;     WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;       READ TABLE G_TBCL_ITAB INTO G_TBCL_WA WITH KEY FLAG = 'X'.&lt;/P&gt;&lt;P&gt;       MOVE G_TBCL_WA-MATNR TO TB_MARA-MNO.&lt;/P&gt;&lt;P&gt;       APPEND TB_MARA.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 16:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728726#M317475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T16:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728727#M317476</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;1. Create program in SE38 type module pool and Activated&lt;/P&gt;&lt;P&gt;2. Go to SE51 give the program name and screen number then Layout Editor in drags table control with wizard.&lt;/P&gt;&lt;P&gt;3. Start the Wizard give the table control name (TBCL)&lt;DEL&gt;&amp;gt;click the continue&lt;/DEL&gt;&amp;gt;Give the Dictionary table name like(MARA)&lt;DEL&gt;&amp;gt;Continue&lt;/DEL&gt;&amp;gt;Select the filed(MATNR) or Fields&lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;check the Scroll check box &lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;click the completed --&amp;gt; Save --&amp;gt; Activated.&lt;/P&gt;&lt;P&gt;4. Automacaly code is generated.&lt;/P&gt;&lt;P&gt;5. One more Push Button (ADD) adds to layout for selected row and retrieves values into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&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;MODULE USER_COMMAND_0700.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;Data: BEGIN OF TB_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;            MNO LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;        END OF TB_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT. &lt;/P&gt;&lt;P&gt;     WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;       READ TABLE G_TBCL_ITAB INTO G_TBCL_WA WITH KEY FLAG = 'X'.&lt;/P&gt;&lt;P&gt;       MOVE G_TBCL_WA-MATNR TO TB_MARA-MNO.&lt;/P&gt;&lt;P&gt;       APPEND TB_MARA.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 16:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728727#M317476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728728#M317477</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;1. Create program in SE38 type module pool and Activated&lt;/P&gt;&lt;P&gt;2. Go to SE51 give the program name and screen number then Layout Editor in drags table control with wizard.&lt;/P&gt;&lt;P&gt;3. Start the Wizard give the table control name (TBCL)&lt;DEL&gt;&amp;gt;click the continue&lt;/DEL&gt;&amp;gt;Give the Dictionary table name like(MARA)&lt;DEL&gt;&amp;gt;Continue&lt;/DEL&gt;&amp;gt;Select the filed(MATNR) or Fields&lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;check the Scroll check box &lt;DEL&gt;&amp;gt;continue&lt;/DEL&gt;&amp;gt;continue--&amp;gt;click the completed --&amp;gt; Save --&amp;gt; Activated.&lt;/P&gt;&lt;P&gt;4. Automacaly code is generated.&lt;/P&gt;&lt;P&gt;5. One more Push Button (ADD) adds to layout for selected row and retrieves values into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic:&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;MODULE USER_COMMAND_0700.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;Data: BEGIN OF TB_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;            MNO LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;        END OF TB_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT. &lt;/P&gt;&lt;P&gt;     WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;       READ TABLE G_TBCL_ITAB INTO G_TBCL_WA WITH KEY FLAG = 'X'.&lt;/P&gt;&lt;P&gt;       MOVE G_TBCL_WA-MATNR TO TB_MARA-MNO.&lt;/P&gt;&lt;P&gt;       APPEND TB_MARA.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0100  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 16:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1728728#M317477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T16:38:15Z</dc:date>
    </item>
  </channel>
</rss>

