<?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: Module Pool Screen layout problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122918#M109394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avalor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set a flag in PAI when sy-ucomm = 'MODI' and can call the screen again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen you can check the value of flag and modify screen accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2006 11:33:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-07T11:33:43Z</dc:date>
    <item>
      <title>Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122914#M109390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0200 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'MODI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM layout200 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&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_0200  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM layout200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF NOT screen-name CS 'PERNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      screen-input = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&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;  COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                  " layout200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is: Why the field with screen-input = '1', don't become white? They are always grey.&lt;/P&gt;&lt;P&gt;I've also verified in the debug mode and it seems correct.&lt;/P&gt;&lt;P&gt;Thanks for the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122914#M109390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122915#M109391</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 have to manage it in your PBO not PAI, change your code in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE user_command_0200&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;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK FL_SCREEN_INPUT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT screen-name CS 'PERNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&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;FORM layout200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FL_INPUT_SCREEN = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " layout200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122915#M109391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122916#M109392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but i must associate this event at the user_command WHEN SY-UCOMM = 'MODI'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122916#M109392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122917#M109393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to call the subroutine layout200 inside the module at PBO. Here is the code:&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;P&gt;Module modify_screen.&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;MODULE modify_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM layout200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;FORM layout200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT screen-name CS 'PERNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&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;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122917#M109393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122918#M109394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avalor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set a flag in PAI when sy-ucomm = 'MODI' and can call the screen again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen you can check the value of flag and modify screen accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122918#M109394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool Screen layout problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122919#M109395</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;the code wot given by max bianchi  is exactly correct, genraly the screen modifications we will do in PBO only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per max when your sy-ucomm = 'modi'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a flag = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and PBO he is making that field input = '1' when the flag become x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in max code you add &lt;/P&gt;&lt;P&gt;clear flag before making that flag = 'x'.&lt;/P&gt;&lt;P&gt;for better partice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2006 11:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-screen-layout-problem/m-p/1122919#M109395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-07T11:37:40Z</dc:date>
    </item>
  </channel>
</rss>

