<?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 module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549477#M580308</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; this is priya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have doubts in module pool programs, table control?what is table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam giving table vbak-vbeln as basic list. once i enter value the details list is displayed in secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i insert,delete,update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls send me code if it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx and regrads,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 11:33:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-11T11:33:39Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549477#M580308</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; this is priya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have doubts in module pool programs, table control?what is table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam giving table vbak-vbeln as basic list. once i enter value the details list is displayed in secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i insert,delete,update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls send me code if it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx and regrads,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 11:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549477#M580308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T11:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549478#M580309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Defining a Table Control &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the table control area. &lt;/P&gt;&lt;P&gt;Define the table control elements. &lt;/P&gt;&lt;P&gt;Add a title (optional). &lt;/P&gt;&lt;P&gt;Declare the table control in your module pool.&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The procedures described in this documentation are different if you are using the fullscreen editor in alphanumeric mode. For further information, see Creating a table control in alphanumeric mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining the Table Control Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the Screen Painter in change mode, choose the table control icon from the element palette.&lt;/P&gt;&lt;P&gt;The mouse pointer changes its shape. &lt;/P&gt;&lt;P&gt;Drag and drop the object onto the screen work area. &lt;/P&gt;&lt;P&gt;Resize or reposition the table control if necessary. &lt;/P&gt;&lt;P&gt;Assign an element name to the new table control.&lt;/P&gt;&lt;P&gt;Defining Elements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To define elements for your table control, you can use ABAP Dictionary fields, fields from the program, or completely new fields. If you are using ABAP Dictionary or program fields, follow the procedure described in Selecting Fields. If you want to create new fields, you use elements from the element palette as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose an element from the element palette and place it in the definition line of the table control.&lt;/P&gt;&lt;P&gt;The system creates a new column. &lt;/P&gt;&lt;P&gt;Assign an element name to the element, and any necessary attributes. &lt;/P&gt;&lt;P&gt;Create a column header by dragging a text or entry element into the column heading. &lt;/P&gt;&lt;P&gt;Repeat steps 1-3 for each additional column. &lt;/P&gt;&lt;P&gt;Set the remaining table control attributes.&lt;/P&gt;&lt;P&gt;Adding a Title&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control attributes, select With title.&lt;/P&gt;&lt;P&gt;A dialog box appears, reminding you to create a title element. &lt;/P&gt;&lt;P&gt;Enter a text field or an input/output element in the title row. &lt;/P&gt;&lt;P&gt;Enter an element name, and the title in the Text field.&lt;/P&gt;&lt;P&gt;Declaring the Table Control in the Module Pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert the following CONTROLS statement in the global data declaration of your transaction: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS &amp;lt;tab_ctrl_name&amp;gt; TYPE TABLEVIEW USING SCREEN &amp;lt;screen_no&amp;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;rewards point if helpful....&lt;/P&gt;&lt;P&gt;regards....&lt;/P&gt;&lt;P&gt;Abhay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 11:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549478#M580309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T11:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549479#M580310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;Table control is nothing to do with list output , it is data showing in the Excel like sheet using dialog programming that screen painter or Customized screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are displying vbeln then you have to use the events of table control.&lt;/P&gt;&lt;P&gt;It is basically a vast topic to understandd.&lt;/P&gt;&lt;P&gt;Go through below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 11:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549479#M580310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549480#M580311</link>
      <description>&lt;P&gt;this  are step  of the   module  pool.  table control  creation  ..  if you want the  screen shots  please see the  link  below .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creating a Table Control&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create new structure for table control)&lt;BR /&gt;Type is name of structure (ZTC_EKKO) and press create&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create Program)&lt;BR /&gt;Goto transaction SE80(Object Navigator) -&amp;gt; Repository Browser -&amp;gt; Program. &lt;BR /&gt;Enter your program name, please ensure that is begins with SAPMZ…… as this is a module pool (dialog program).&lt;BR /&gt;Press enter to create, and press yes!&lt;BR /&gt;&lt;BR /&gt;Ensure that you create a top include, and press Enter.&lt;BR /&gt;Accept the name created for the top include.&lt;BR /&gt;&lt;BR /&gt;Press Enter. &lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create TOP include)&lt;/P&gt;&lt;P&gt;Double click on the top include and enter following ABAP code:&lt;/P&gt;&lt;P&gt;Press Save and Activate&lt;/P&gt;&lt;P&gt;·        &lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create screen)&lt;BR /&gt;&lt;BR /&gt;Right click the program to create a screen 100 for the dialog. Enter Short description, set screen type to Normal and enter 0 or blank into Next screen. Then move to Element List tab and enter the OK code as OK_CODE (i.e. the same as what you declared in the top include with data: ok_code type sy-ucomm&lt;BR /&gt;&lt;BR /&gt;· &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create table control)&lt;BR /&gt;&lt;BR /&gt;Press the Layout button to bring up the screen painter editor.&lt;BR /&gt;&lt;BR /&gt;Press table control button and drag it on to the screen, enter the name of table control created in TOP include (TC100). Now press the yellow button for attributes and set the table control as below options&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Populate table control )&lt;BR /&gt;Press the orange button (Fields). On the next screen enter ZTC_EKKO and press the ‘Get from Dict’ button. Select the fields you want (all) and press enter. Now drag them onto your Table Control.&lt;BR /&gt;&lt;BR /&gt;Below is the result, there will been syntax errors if we check now! So Save and go back into the flow logic tab.&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create flow control )&lt;/P&gt;&lt;P&gt;Within the flow logic of screen 100 and create two modules, one to select the data from the database and the other to move the selected fields into the table control. Also insert the two loop statements to populate and retrieve the lines of the table control.&lt;/P&gt;&lt;P&gt;Double click the module data_retrieval to create and click yes to get past the popup. Ensure that a new include is created to hold all the PBO modules (default). Press enter.&lt;/P&gt;&lt;P&gt;Select 10 rows of data from the EKKO table and load into the internal table it_ekko. Go back to the flow logic to load this data into the Table Control.&lt;/P&gt;&lt;P&gt;Double click the module populate_screen to create. Now move the values in this loop from the wa_ekko into the Table Control with the move-corresponding statement.&lt;/P&gt;&lt;P&gt;·        &lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Create transaction )&lt;BR /&gt;&lt;BR /&gt;Now create a transaction to test the table control program. Right click the Program and select create-&amp;gt; transaction.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;· Step 9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; (Execute transaction )
&lt;/P&gt;&lt;P&gt;Execute transaction ZTC&lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;reward  points if it is usefull....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2007 11:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/2549480#M580311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T11:50:27Z</dc:date>
    </item>
  </channel>
</rss>

