<?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: how to pass module pool program screen field values to a zprogram in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672765#M1668545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have created a program in se38 which is of type "Module Pool" and also create screen in SE51 for the same program. So the names which you have given to the fields in SE51 layout, give the same name and data type in se38 program. Data will automatically will be passed frm screen to progarm. &lt;/P&gt;&lt;P&gt;As you know Module pool program has 2 main events PBO and PAI. This events also have &lt;/P&gt;&lt;P&gt;"MODULE XXXX" which contains logic to be executed when PBO or PAI are triggered. So when PBO or PAI is executed the data is exchanged between screen(se51) Program(se38).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you...&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Mihir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2012 04:41:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-04T04:41:38Z</dc:date>
    <item>
      <title>how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672761#M1668541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to pass module pool program screen field values to a zprogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Moderator message: please search for available information before posting, provide much more details when posting.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 13:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672761#M1668541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-02T13:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672762#M1668542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left"&gt;Is the module pool screen called in the zprogram? Please clarify&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672762#M1668542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-02T14:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672763#M1668543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear.Can you explain more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 03:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672763#M1668543</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-04-04T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672764#M1668544</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;You can assign the value by prefixing the variable name with the module pool name. For example:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ASSIGN ('(SAPFP50M)Q0008-ANSAL') TO &amp;lt;FIELD_SYMBOL&amp;gt;.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;You can check this assignment will work by pasting the above variable (without the outer brackets and quotes) into the variable explorer in the debugger at the point you wish to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 03:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672764#M1668544</guid>
      <dc:creator>phillip_manning2</dc:creator>
      <dc:date>2012-04-04T03:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672765#M1668545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have created a program in se38 which is of type "Module Pool" and also create screen in SE51 for the same program. So the names which you have given to the fields in SE51 layout, give the same name and data type in se38 program. Data will automatically will be passed frm screen to progarm. &lt;/P&gt;&lt;P&gt;As you know Module pool program has 2 main events PBO and PAI. This events also have &lt;/P&gt;&lt;P&gt;"MODULE XXXX" which contains logic to be executed when PBO or PAI are triggered. So when PBO or PAI is executed the data is exchanged between screen(se51) Program(se38).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you...&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Mihir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 04:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672765#M1668545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-04T04:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672766#M1668546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you need to create program in se38 with &lt;STRONG&gt;Module pool&lt;/STRONG&gt; type insted of Executable type because executable type is for reports.After you need to declare &lt;STRONG&gt;Structure&lt;/STRONG&gt; with required filed As like below&lt;/P&gt;&lt;P&gt;types:begin of ty_test,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vbeln type vbeln,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; posnr type posnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end of ty_test.&lt;/P&gt;&lt;P&gt;data:it_test type standard table of ty_test,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_test type ty_test."work area&lt;/P&gt;&lt;P&gt;after you need to devlop screen using se51 Transaction Code and you need to declare input/output filed with same workarea(wa_test-vbeln) of above declared program&lt;/P&gt;&lt;P&gt;*****and Main Imprtent point is in both Tcode(se38,se51) Program name should be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva rama krishna mohan G&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: siva rama&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: siva rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 05:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672766#M1668546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-04T05:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass module pool program screen field values to a zprogram</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672767#M1668547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a data variable of the same name in the zprogram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 05:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-module-pool-program-screen-field-values-to-a-zprogram/m-p/8672767#M1668547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-04T05:14:48Z</dc:date>
    </item>
  </channel>
</rss>

