<?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 scubscreen inputs not accessible. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480062#M1556149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a module pool program in which i have created a screen and called as subscreen,&lt;/P&gt;&lt;P&gt;The screen is displaying correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI i am selecting the data this way once the execute button is clicked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_obj-&amp;gt;get_data( importing pt_data = i_tbcl[] ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the control enters the method the select options are getting cleared.To say exactly when it enters PAI the select options gets cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all ways to analyze the problem but i am not able to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody knows what is the reason ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Dec 2010 13:37:52 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-12-13T13:37:52Z</dc:date>
    <item>
      <title>Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480062#M1556149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a module pool program in which i have created a screen and called as subscreen,&lt;/P&gt;&lt;P&gt;The screen is displaying correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI i am selecting the data this way once the execute button is clicked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
v_obj-&amp;gt;get_data( importing pt_data = i_tbcl[] ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the control enters the method the select options are getting cleared.To say exactly when it enters PAI the select options gets cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all ways to analyze the problem but i am not able to solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody knows what is the reason ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 13:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480062#M1556149</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-13T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480063#M1556150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the screen and called sub-screen belong to different main program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 17:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480063#M1556150</guid>
      <dc:creator>tushar_shukla</dc:creator>
      <dc:date>2010-12-13T17:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480064#M1556151</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;It belongs to the same program . I checked with some local object examples. select-option is not holding the data when it comes to PAI.&lt;/P&gt;&lt;P&gt;May be I am missing some thing. Later i choosed some other way and did it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 18:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480064#M1556151</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-13T18:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480065#M1556152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without knowing your situation fully: Select-Options must be declared globally in the program processing the screen. If screen and sub screen belong to the same program, it is fine. The first thing in PAI will be to use a SET method to transport the select-options internal table to the class instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_obj-&amp;gt;get_data( importing pt_data = i_tbcl[] ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not see where the select-options internal table is transferred to the object v_obj. If v_obj is a local class of your screens program, it should be declared as SELECT-OPTIONS only once globally in the program. Though not the best way, it should be available in all methods. &lt;/P&gt;&lt;P&gt;If you are in debugger in the method, then step up the call hierarchy to the calling program: If select-options is filled there, then you have probably declared it more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you post the code for select-options declaration and use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 19:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480065#M1556152</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-12-13T19:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480066#M1556153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets forget about the syntax i had written. I wrote a sample program in a procedural way like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:v_ebeln type ekko-ebeln.
data:i_ekko type table of ekko.

selection-screen begin of screen 300 as subscreen.
parameters : p_bukrs type ekko-bukrs.
select-options : s_ebeln for v_ebeln .
selection-screen end of screen 300 .

start-of-selection.
  call screen 100.

module user_command_0100 input.

  select * from ekko into table i_ekko
  where bukrs = p_bukrs
    and ebeln in s_ebeln.

endmodule.                 " USER_COMMAND_0100  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flow logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
process before output.
  call subscreen sub1 including sy-repid '0300'.

process after input.
  module user_command_0100.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the subscreen is displayed fine. when i enter values to it and when the control reaches the select statement then &lt;STRONG&gt;s_ebeln&lt;/STRONG&gt; and &lt;STRONG&gt;p_bukrs&lt;/STRONG&gt; are blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480066#M1556153</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-16T13:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480067#M1556154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;process before output.
  call subscreen sub1 including sy-repid '0300'.
 
process after input.
   call subscreen sub1.  " &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; add this
  module user_command_0100.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You forgot the second &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call subscreen sub1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 14:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480067#M1556154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T14:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool scubscreen inputs not accessible.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480068#M1556155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks . I am forgetting everything nowadays &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 14:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-scubscreen-inputs-not-accessible/m-p/7480068#M1556155</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-16T14:37:37Z</dc:date>
    </item>
  </channel>
</rss>

