<?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: using table control in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746560#M638520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;  go to se38-&amp;gt; environment-&amp;gt;examples-&amp;gt;ergonomic examples-&amp;gt;screens&lt;/P&gt;&lt;P&gt;      OR &lt;/P&gt;&lt;P&gt;  use Tcode -&amp;gt; BIBS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2007 06:13:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-14T06:13:35Z</dc:date>
    <item>
      <title>using table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746557#M638517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;can some one give sample code of using table control in module pool pgm&lt;/P&gt;&lt;P&gt;i need to design 2 screens&lt;/P&gt;&lt;P&gt;1st screen shuold accept values from user and save it in ZTABLE&lt;/P&gt;&lt;P&gt;2nd screen based  on the input i should get the data from my ZTABLE and shuold allow me to change the values and save it in ZTABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;soorya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 15:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746557#M638517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T15:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: using table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746558#M638518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi soorya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For demo programs on table controls with module pools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following in se38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_tabcont_loop.&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_tabcont_loop_at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They have only one screen...if you are stuck on a particular issue in the process of development pls revert with the issue and reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 05:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746558#M638518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T05:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: using table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746559#M638519</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; Check with the following program it sould be helpful :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you go with the  complete steps  for creating module pool programs  using table control:&lt;/P&gt;&lt;P&gt;open se51, choose the icon like a table for table control . drag it and then place it in your screen . click on F6 and you will get a screen where youi need to provide the table name / field name that ( fields ) you are going to use in the screen and table control. after giving the ztable name click on get it from dictionary . you will get the list of available fields in a table. next choose the fields you wish to place in the table control , and if you want to place all fields in your table control then select every fields . after this you will get a structure which you should drag place inside the table control area .&lt;/P&gt;&lt;P&gt;double click on the table control , set the proper attributes, tickmark the horizontal and vertical scroll bars to appear in your TC in the screen . save , check and activate ..&lt;/P&gt;&lt;P&gt;following are the sample code you should follow to display datas in your table control ..&lt;/P&gt;&lt;P&gt;write the following code in the flow logic of the screen ............&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;module tc_01_init.&lt;/P&gt;&lt;P&gt;loop at g_tc_01_itab&lt;/P&gt;&lt;P&gt; into g_tc_01_wa&lt;/P&gt;&lt;P&gt;with control tc_01&lt;/P&gt;&lt;P&gt;cursor tc_01-current_line.&lt;/P&gt;&lt;P&gt;module tc_01_move.&lt;/P&gt;&lt;P&gt;module tc_01_get_lines.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;module status_0001.&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt;loop at g_tc_01_itab.&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field sflight-carrid.&lt;/P&gt;&lt;P&gt;field sflight-connid.&lt;/P&gt;&lt;P&gt;field sflight-fldate.&lt;/P&gt;&lt;P&gt;module tc_01_modify on chain-request.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;module tc_01_user_command.&lt;/P&gt;&lt;P&gt;Write the following code in your Zmodulepool program !!&lt;/P&gt;&lt;P&gt;program z_tst_mpool_tc_01.&lt;/P&gt;&lt;P&gt;data: begin of l_tab_sflight occurs 10,&lt;/P&gt;&lt;P&gt;carrid like sflight-carrid,&lt;/P&gt;&lt;P&gt;connid like sflight-connid,&lt;/P&gt;&lt;P&gt;fldate like sflight-fldate,&lt;/P&gt;&lt;P&gt;end of l_tab_sflight.&lt;/P&gt;&lt;P&gt;tables: sflight.&lt;/P&gt;&lt;P&gt;types: begin of t_tc_01,&lt;/P&gt;&lt;P&gt;carrid like sflight-carrid,&lt;/P&gt;&lt;P&gt;connid like sflight-connid,&lt;/P&gt;&lt;P&gt;fldate like sflight-fldate,&lt;/P&gt;&lt;P&gt;end of t_tc_01.&lt;/P&gt;&lt;P&gt;data: g_tc_01_itab type t_tc_01 occurs 0,&lt;/P&gt;&lt;P&gt;g_tc_01_wa type t_tc_01. "work area&lt;/P&gt;&lt;P&gt;data: g_tc_01_copied. "copy flag&lt;/P&gt;&lt;P&gt;controls: tc_01 type tableview using screen 0001.&lt;/P&gt;&lt;P&gt;data: g_tc_01_lines like sy-loopc.&lt;/P&gt;&lt;P&gt;data: ok_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_pbo .&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_pai .&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_incl01 .&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_status_0001.&lt;/P&gt;&lt;P&gt;include Z_TST_MPOOL_TC_01_PBO .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;inside include &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;module tc_01_init output.&lt;/P&gt;&lt;P&gt;if g_tc_01_copied is initial.&lt;/P&gt;&lt;P&gt;select * from sflight&lt;/P&gt;&lt;P&gt;into corresponding fields&lt;/P&gt;&lt;P&gt;of table g_tc_01_itab.&lt;/P&gt;&lt;P&gt;g_tc_01_copied = 'X'.&lt;/P&gt;&lt;P&gt;refresh control 'TC_01' from screen '0001'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;module tc_01_move output.&lt;/P&gt;&lt;P&gt;move-corresponding g_tc_01_wa to sflight.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;module tc_01_get_lines output.&lt;/P&gt;&lt;P&gt;g_tc_01_lines = sy-loopc.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 07:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746559#M638519</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-09-13T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: using table control in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746560#M638520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;  go to se38-&amp;gt; environment-&amp;gt;examples-&amp;gt;ergonomic examples-&amp;gt;screens&lt;/P&gt;&lt;P&gt;      OR &lt;/P&gt;&lt;P&gt;  use Tcode -&amp;gt; BIBS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 06:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-table-control-in-module-pool/m-p/2746560#M638520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-14T06:13:35Z</dc:date>
    </item>
  </channel>
</rss>

