<?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 Problem in creating a Select-option im a module pool screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-a-select-option-im-a-module-pool-screen/m-p/6887547#M1479516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been searching how to do a select option in a module pool screen, I've found this neat tutorial &lt;A href="http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html" target="test_blank"&gt;http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm having trouble to replicate it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created this conde in my TOP include&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN 201 AS SUBSCREEN.
   SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
  SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF SCREEN 201.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is my screen flow code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
  MODULE status_0100.

  MODULE pbo_200.
*
PROCESS AFTER INPUT.

  MODULE pai.

  MODULE user_command_0200.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the screen 200 I have a subscreen area named subs&lt;/P&gt;&lt;P&gt;but when I do this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE pbo_200 OUTPUT.

  CALL subscreen subs including sy-repid '0201'.

ENDMODULE.                 " pbo_200  OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it doesn't "compile"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives me this error:&lt;/P&gt;&lt;P&gt;""." or "ID ... FIELD ..." expected after "SUBSCREEN"."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am I missing? it seems its not recognising the "CALL SUBSCREEN" command...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 May 2010 17:06:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-10T17:06:23Z</dc:date>
    <item>
      <title>Problem in creating a Select-option im a module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-a-select-option-im-a-module-pool-screen/m-p/6887547#M1479516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been searching how to do a select option in a module pool screen, I've found this neat tutorial &lt;A href="http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html" target="test_blank"&gt;http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm having trouble to replicate it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created this conde in my TOP include&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN 201 AS SUBSCREEN.
   SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
  SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF SCREEN 201.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is my screen flow code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
  MODULE status_0100.

  MODULE pbo_200.
*
PROCESS AFTER INPUT.

  MODULE pai.

  MODULE user_command_0200.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the screen 200 I have a subscreen area named subs&lt;/P&gt;&lt;P&gt;but when I do this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE pbo_200 OUTPUT.

  CALL subscreen subs including sy-repid '0201'.

ENDMODULE.                 " pbo_200  OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it doesn't "compile"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives me this error:&lt;/P&gt;&lt;P&gt;""." or "ID ... FIELD ..." expected after "SUBSCREEN"."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am I missing? it seems its not recognising the "CALL SUBSCREEN" command...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 17:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-a-select-option-im-a-module-pool-screen/m-p/6887547#M1479516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-10T17:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating a Select-option im a module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-a-select-option-im-a-module-pool-screen/m-p/6887548#M1479517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can't use CALL SUBSCREEN... in any ABAP section. It is reserved to dynpro flow logic. Just add it after PROCESS BEFORE OUTPUT (and also after PROCESS AFTER INPUT).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 May 2010 19:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-a-select-option-im-a-module-pool-screen/m-p/6887548#M1479517</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-05-10T19:44:48Z</dc:date>
    </item>
  </channel>
</rss>

