<?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 issue! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677898#M618799</link>
    <description>&lt;P&gt;First Screen – 100 ( single box to enter the reservation no: RKPF-RSNUM) &lt;/P&gt;
  &lt;P&gt;Based on this reservation design next screen (200) showing the reservation header (Table - RKPF) with 5 fields only (RSNUM, RSDAT, USNAM, BWART, WEMPF) and below that a item (Table – RESB) area where all the items shud be displayed in a table control (with the following fields only – RSPOS, MATNR, LGORT, BDMNG, MEINS, ENWRT, (a calculated field say x = BDMNG minus ENWRT).&lt;/P&gt;
  &lt;P&gt;could any1 tell me the complete steps n wht all should i code in pbo n pai?&lt;/P&gt;
  &lt;P&gt;please write the code.&lt;/P&gt;
  &lt;P&gt;PLEASE REPLY ASAP.&lt;/P&gt;
  &lt;P&gt;REGARDS&lt;/P&gt;
  &lt;P&gt;Essam&lt;/P&gt;</description>
    <pubDate>Sat, 11 Aug 2007 16:28:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-11T16:28:06Z</dc:date>
    <item>
      <title>module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677898#M618799</link>
      <description>&lt;P&gt;First Screen – 100 ( single box to enter the reservation no: RKPF-RSNUM) &lt;/P&gt;
  &lt;P&gt;Based on this reservation design next screen (200) showing the reservation header (Table - RKPF) with 5 fields only (RSNUM, RSDAT, USNAM, BWART, WEMPF) and below that a item (Table – RESB) area where all the items shud be displayed in a table control (with the following fields only – RSPOS, MATNR, LGORT, BDMNG, MEINS, ENWRT, (a calculated field say x = BDMNG minus ENWRT).&lt;/P&gt;
  &lt;P&gt;could any1 tell me the complete steps n wht all should i code in pbo n pai?&lt;/P&gt;
  &lt;P&gt;please write the code.&lt;/P&gt;
  &lt;P&gt;PLEASE REPLY ASAP.&lt;/P&gt;
  &lt;P&gt;REGARDS&lt;/P&gt;
  &lt;P&gt;Essam&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2007 16:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677898#M618799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-11T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677899#M618800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you get an answer to your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 14:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677899#M618800</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2007-08-13T14:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677900#M618801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope i didnt get any answer to my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 16:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677900#M618801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677901#M618802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asking others to write the code for you is not what these forums are really about.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 16:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677901#M618802</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2007-08-13T16:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677902#M618803</link>
      <description>&lt;P&gt;Hi Essam&lt;/P&gt;&lt;P&gt;I will give you a general guideline about how to go about this.&lt;/P&gt;&lt;P&gt;1.First create a screen 100. &lt;/P&gt;&lt;P&gt;2. in the Layout create a field with DDIC ref RKPF-RSNUM, that ways you dont have to worry about putting your own text there.&lt;/P&gt;&lt;P&gt;3. in the PBO Give it a PF status.&lt;/P&gt;&lt;P&gt;4, in the PAI code something like this.&lt;/P&gt;&lt;P&gt; If rkpf-rsnum is not initial.&lt;/P&gt;&lt;P&gt;  move rkpf-rsnum to t_rsnum.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;  message e(999) with 'Please enter a valid no'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;5. then according to the t_rsnum (the screen entry) pick up the corresponding data into 5 fields. use select single into (field1)....&lt;/P&gt;&lt;P&gt;6. Design a table control for screen 200. &lt;/P&gt;&lt;P&gt;    Create ur layout acc to ur o/p requiremnt.&lt;/P&gt;&lt;P&gt;    define tab con.&lt;/P&gt;&lt;P&gt;    controls: tc type tableview using screen 200.&lt;/P&gt;&lt;P&gt;suppose ur itab is i_resb.&lt;/P&gt;&lt;P&gt;In the PBO&lt;/P&gt;&lt;P&gt;MODULE status_0100.&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL tc.&lt;/P&gt;&lt;P&gt;    MODULE fill_table_control.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;MODULE fill_table_control OUTPUT.&lt;/P&gt;&lt;P&gt;  READ TABLE itab INTO wa_itab INDEX tc-current_line.&lt;/P&gt;&lt;P&gt;ENDMODULE&lt;/P&gt;&lt;P&gt;at PAI&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL tc.&lt;/P&gt;&lt;P&gt;    MODULE read_table_control.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;MODULE read_table_control INPUT.&lt;/P&gt;&lt;P&gt;  MODIFY itab FROM wa_itab INDEX tc-current_line.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;Here wa_itab is ur work area which will have the same type as ur itab.&lt;/P&gt;&lt;P&gt;alt u can use&lt;/P&gt;&lt;P&gt;loop at itab with control tc cursor tc-current_line.&lt;/P&gt;&lt;P&gt;module transfer&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;module transfer.&lt;/P&gt;&lt;P&gt;rseb = i_seb.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;This is just a rough guideline. Please follow whichever method suits u the best.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2007 16:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677902#M618803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677903#M618804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you, first give it your best shot, and If you cant succeed we are always there to help, thats the only way to learn, there are no shortcuts &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 16:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677903#M618804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: module pool issue!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677904#M618805</link>
      <description>&lt;P&gt;mr Sameer Ahmed Could u please mail Me ur Email Address.....coz iam facing lots of problems in Module programming....&lt;/P&gt;&lt;P&gt; please mail me ur email right away!&lt;/P&gt;&lt;P&gt; regards&lt;/P&gt;&lt;P&gt; essam&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2007 16:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-issue/m-p/2677904#M618805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T16:36:50Z</dc:date>
    </item>
  </channel>
</rss>

