<?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 Help for Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415063#M539032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These steps i know i m using se80 and had make a progarm in that and set the PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i want wat steps or internal table or u can say code in PAI which will help me in inserting the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had made a module pool program but how to go further &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the link if u know that will help me out &lt;/P&gt;&lt;P&gt;step by step&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 10:51:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T10:51:16Z</dc:date>
    <item>
      <title>Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415059#M539028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends&lt;/P&gt;&lt;P&gt;i m new in ABAP &lt;/P&gt;&lt;P&gt;i had designed database and now i want to enter the data through module pool so please guide me about the module pool and insert condition how could i do that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do post friends...................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for ure precious suggestions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 10:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415059#M539028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T10:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415060#M539029</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;screen programming is nothing but module pool programming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check out the below links it might help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm" target="test_blank"&gt;http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/articles/SAP_Design_Introduction.asp" target="test_blank"&gt;http://www.thespot4sap.com/articles/SAP_Design_Introduction.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE IS THE SAMPLE PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM DEMO_DYNPRO_INPUT_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: INPUT  TYPE I,&lt;/P&gt;&lt;P&gt;      OUTPUT TYPE I,&lt;/P&gt;&lt;P&gt;      RADIO1, RADIO2, RADIO3, BOX1, BOX2, BOX3, EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE INIT_SCREEN_100 OUTPUT.&lt;/P&gt;&lt;P&gt;  CLEAR INPUT.&lt;/P&gt;&lt;P&gt;  RADIO1 = 'X'.&lt;/P&gt;&lt;P&gt;  CLEAR: RADIO2, RADIO3.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;  OUTPUT = INPUT.&lt;/P&gt;&lt;P&gt;  BOX1 = RADIO1.&lt;/P&gt;&lt;P&gt;  BOX2 = RADIO2.&lt;/P&gt;&lt;P&gt;  BOX3 = RADIO3.&lt;/P&gt;&lt;P&gt;  IF EXIT NE SPACE.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR MORE DETAILS PLEASE FOLLOW THE LINK BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba9e735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba9e735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********&lt;STRONG&gt;please reward points if the information is helpful to you&lt;/STRONG&gt;***********&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 10:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415060#M539029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T10:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415061#M539030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruby,&lt;/P&gt;&lt;P&gt;There is lot of help available on SDN, please search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In your case through SE51 create Screen to Enter a data, or in program write a statemetn call screen &amp;lt;srno&amp;gt; and double click , it will take you to SE51.&lt;/P&gt;&lt;P&gt;See help.sap.com to design a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Go to flow logic of it and you wll find PBO and PAI modules. create your own module or double click on them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Above step will take you to your program or report. Write your code to insert data selected on screen to yur database.&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>Mon, 02 Jul 2007 10:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415061#M539030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T10:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415062#M539031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please suggest me how to continue and the steps that will help me to save data in database through Module pool using text boxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got my point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 10:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415062#M539031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415063#M539032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These steps i know i m using se80 and had make a progarm in that and set the PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i want wat steps or internal table or u can say code in PAI which will help me in inserting the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had made a module pool program but how to go further &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the link if u know that will help me out &lt;/P&gt;&lt;P&gt;step by step&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 10:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415063#M539032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T10:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415064#M539033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this thread:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3322215"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 11:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415064#M539033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T11:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415065#M539034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Create Table Control screen in Module Pool&lt;/P&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;B&gt;&lt;P&gt;· Step 1 (Create new structure for table control)&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Type is name of structure (ZTC_EKKO) and press create&lt;BR /&gt;· Step 2 (Create Program)&lt;BR /&gt;&lt;BR /&gt;Goto transaction SE80(Object Navigator) -&amp;gt; Repository Browser -&amp;gt; Program. &lt;BR /&gt;&lt;BR /&gt;Enter your program name, please ensure that is begins with SAPMZ&amp;#133;&amp;#133; as this is a module pool (dialog program).&lt;BR /&gt;&lt;BR /&gt;Press enter to create, and press yes!&lt;BR /&gt;Ensure that you create a top include, and press Enter.&lt;BR /&gt;&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;Create Table Control &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;B&gt;&lt;P&gt;&lt;BR /&gt;· Step 1 (Create new structure for table control)&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Type is name of structure (ZTC_EKKO) and press create&lt;BR /&gt;&lt;BR /&gt; Enter the fields that you want to display in the table control. Example uses fields from EKKO.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Now save and activate it!&lt;BR /&gt; &lt;BR /&gt;&lt;B&gt;&lt;P&gt;· Step 2 (Create Program)&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;Goto transaction SE80(Object Navigator) -&amp;gt; Repository Browser -&amp;gt; Program. &lt;BR /&gt;&lt;BR /&gt;Enter your program name, please ensure that is begins with SAPMZ&amp;#133;&amp;#133; as this is a module pool (dialog program).&lt;BR /&gt;&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;&lt;BR /&gt;Accept the name created for the top include.&lt;BR /&gt;&lt;BR /&gt;Press Enter. &lt;BR /&gt;Press Save&lt;BR /&gt;&lt;BR /&gt;· Step 3 (Create TOP include)&lt;BR /&gt;&lt;BR /&gt;Double click on the top include and enter following ABAP code:&lt;BR /&gt;Tables: ZTC_EKKO.&lt;BR /&gt;&lt;BR /&gt;controls: tc100 type tableview using screen 100.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;data: ok_code type sy-ucomm.&lt;BR /&gt;&lt;BR /&gt;data: it_ekko type standard &lt;BR /&gt;&lt;BR /&gt; table of ZTC_EKKO initial size 0,&lt;BR /&gt;&lt;BR /&gt; wa_ekko type ZTC_EKKO.&lt;BR /&gt;&lt;BR /&gt;data: ok_code type sy-ucomm.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;· Step 4 (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;· Step 5 (Create table control)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Press the Layout button to bring up the screen painter editor.&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;Create Table Control &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;· Step 1 (Create new structure for table control)&lt;BR /&gt;&lt;BR /&gt;Type is name of structure (ZTC_EKKO) and press create&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Enter the fields that you want to display in the table control. Example uses fields from EKKO.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Now save and activate it!&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;· Step 2 (Create Program)&lt;BR /&gt;&lt;BR /&gt;Goto transaction SE80(Object Navigator) -&amp;gt; Repository Browser -&amp;gt; Program. &lt;BR /&gt;&lt;BR /&gt;Enter your program name, please ensure that is begins with SAPMZ&amp;#133;&amp;#133; as this is a module pool (dialog program).&lt;BR /&gt;&lt;BR /&gt;Press enter to create, and press yes!&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Ensure that you create a top include, and press Enter.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&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;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Press Save&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;· Step 3 (Create TOP include)&lt;BR /&gt;&lt;BR /&gt;Double click on the top include and enter following ABAP code:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Tables: ZTC_EKKO.&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;controls: tc100 type tableview using &lt;B&gt;&lt;P&gt;screen 100.&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: ok_code type sy-ucomm.

data: it_ekko type standard 

           table of ZTC_EKKO initial size 0,

        wa_ekko type ZTC_EKKO.

data: ok_code type sy-ucomm.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         Press Save and Activate&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;· Step 4 (Create screen)&lt;/P&gt;&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;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;· Step 5 (Create table control)&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Press the Layout button to bring up the screen painter editor.&lt;BR /&gt;&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;B&gt;&lt;P&gt;&lt;BR /&gt;· Step 6 (Populate table control )&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Press the orange button (Fields). On the next screen enter ZTC_EKKO and press the &amp;#145;Get from Dict&amp;#146; 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 &lt;BR /&gt;into the flow logic tab.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;· Step 7 (Create flow control )&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODULE STATUS_0100.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  module data_retrieval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_ekko into wa_ekko with control TC100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    module populate_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&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;  loop at it_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***INCLUDE MZ_TCONTROL_DATA_RETRIEVALO01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  data_retrieval  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE data_retrieval OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;select data from ekko table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT ebeln bukrs bstyp bsart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         bsakz loekz statu aedat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FROM ekko&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE it_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " data_retrieval  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE populate_screen OUTPUT.

    DATA: ld_line TYPE i.
*   Set which line of table is a top of displayed table control

    IF sy-stepl = 1.

      tc100-lines =

        tc100-top_line + sy-loopc - 1.

    ENDIF.

*   move fields from work area to scrren fields

    MOVE-CORRESPONDING wa_ekko TO ztc_ekko.

  ENDMODULE.                 "&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; populate_screen  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;· Step 8 (Create transaction )&lt;/P&gt;&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;BR /&gt;&lt;B&gt;&lt;P&gt;· Step 9 (Execute transaction )&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;Execute transaction ZTC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;please see the link for screen shots of the dailog module&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://"&gt;http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefull ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 11:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415065#M539034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T11:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415066#M539035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ruby&lt;/P&gt;&lt;P&gt;can u give me your mail id?&lt;/P&gt;&lt;P&gt;please....&lt;/P&gt;&lt;P&gt;bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 11:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415066#M539035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T11:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415067#M539036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   This code is Addition and Subraction of two numbers stored in database table.&lt;/P&gt;&lt;P&gt;so this code will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Main Program&lt;/STRONG&gt;********&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Module pool       ZADD                                              *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM  ZADD.&lt;/P&gt;&lt;P&gt;TABLES ZADD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OK_CODE LIKE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZADD_PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZADD_PAI.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Main part is over&lt;/STRONG&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;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_1000.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***INCLUDE ZADD_PBO .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'PF01'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_1000  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1000 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE OK_CODE.&lt;/P&gt;&lt;P&gt;    WHEN 'ADDITION'.&lt;/P&gt;&lt;P&gt;      ZADD-ADD1 = ZADD-NUMBER1 + ZADD-NUMBER2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'SUBTRACT'.&lt;/P&gt;&lt;P&gt;      ZADD-SUB = ZADD-NUMBER1 - ZADD-NUMBER2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'SAVE'.&lt;/P&gt;&lt;P&gt;       INSERT ZADD.&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;ENDMODULE.                 " USER_COMMAND_1000  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF HELPFULL REWARD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 11:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-module-pool/m-p/2415067#M539036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T11:56:09Z</dc:date>
    </item>
  </channel>
</rss>

