<?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: Need module pool pgm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770117#M645424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vivek ,&lt;/P&gt;&lt;P&gt;plz send me sample code if u have&lt;/P&gt;&lt;P&gt;send me pgm &amp;amp; flowlogic code.&lt;/P&gt;&lt;P&gt;&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>Tue, 18 Sep 2007 06:38:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T06:38:28Z</dc:date>
    <item>
      <title>Need module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770115#M645422</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;i need module pool pgm with table control&lt;/P&gt;&lt;P&gt;it should allow user to enter data and that data should be stored in&lt;/P&gt;&lt;P&gt;ZTABLE.plz don't give demo pgm.if any one has developed give brief idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thaks 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>Tue, 18 Sep 2007 05:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770115#M645422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T05:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770116#M645423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;make a program.&lt;/P&gt;&lt;P&gt;make a screen&lt;/P&gt;&lt;P&gt;add a table control to that screen,if you want you an use table control with wizard&lt;/P&gt;&lt;P&gt;with wizard sap itself creates the code for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make buttons for save create and delete.&lt;/P&gt;&lt;P&gt;on the basis of okcode of each button write a case statement in pai module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pai do the data select or append/insert or modify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at pbo do the screen attribute changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is all about module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want any sample code i can send you.but that will be a code only.i cannot send ou screen design.that you have to do its not possible to send screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 06:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770116#M645423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T06:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770117#M645424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vivek ,&lt;/P&gt;&lt;P&gt;plz send me sample code if u have&lt;/P&gt;&lt;P&gt;send me pgm &amp;amp; flowlogic code.&lt;/P&gt;&lt;P&gt;&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>Tue, 18 Sep 2007 06:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770117#M645424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T06:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770118#M645425</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;    First of all you can get many module pool programs in the SDN search itelf . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Anyways here is one samplw program for your reference :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creation of table controls in mpools&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;hope this will be helpful to you ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert for further assistance if needed ...&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>Tue, 18 Sep 2007 10:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-module-pool-pgm/m-p/2770118#M645425</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-09-18T10:12:37Z</dc:date>
    </item>
  </channel>
</rss>

