<?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 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530940#M573895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friend plz can u explain me in details that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of how do i hide them before i come to a screen and after hitting a button or so how do i recall them &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m new to this so please explain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as mu screen no is 3000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets take a table zabc which have three fields &lt;/P&gt;&lt;P&gt;aa bb cc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want that after hitting button bb cc display or visible on screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got my point &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 05:40:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T05:40:27Z</dc:date>
    <item>
      <title>module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530935#M573890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello genius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;friend i want that &lt;/P&gt;&lt;P&gt;PBO process before output i.e screen is displaced then some of text boxes should not be displayed and after clicking it should be displayed on the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean to say i want code for Hide condition in a module pool&lt;/P&gt;&lt;P&gt;Their must be such condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530935#M573890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530936#M573891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MODIFY_SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME CS 'P_OPENLY' OR SCREEN-NAME CS 'XBLNR_HW'  OR&lt;/P&gt;&lt;P&gt;       SCREEN-NAME CS 'P_BLART' OR  SCREEN-NAME CS 'P_ALLDIS'  OR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      screen-name CS 'P_RSTGR' or&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       SCREEN-NAME CS '%C012012_2000'.&lt;/P&gt;&lt;P&gt;      IF P_HIDE = ' '.&lt;/P&gt;&lt;P&gt;        IF SCREEN-NAME = '%_S_EDATE_%_APP_%-OPTI_PUSH'.&lt;/P&gt;&lt;P&gt;          SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;          SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        MOVE 'Chosen selections'(H06) TO SSCRFIELDS-FUNCTXT_01.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;        MOVE 'All selections'(H07) TO SSCRFIELDS-FUNCTXT_01.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530936#M573891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530937#M573892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can use the following type of sample code using LOOP AT SCREEN..ENDLOOP&lt;/P&gt;&lt;P&gt;IF pa_rep EQ gc_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 screen-group1 = gc_abc.&lt;/P&gt;&lt;P&gt;screen-input = gc_zero_num.&lt;/P&gt;&lt;P&gt;ELSEIF screen-group1 = gc_def.&lt;/P&gt;&lt;P&gt;screen-active = gc_one_num.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF pa_upd EQ gc_x.&lt;/P&gt;&lt;P&gt;*For Reprocessing&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = gc_def.&lt;/P&gt;&lt;P&gt;screen-input = gc_zero_num.&lt;/P&gt;&lt;P&gt;ELSEIF screen-group1 = gc_abc.&lt;/P&gt;&lt;P&gt;screen-active = gc_one_num.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530937#M573892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530938#M573893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In PAI,&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530938#M573893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530939#M573894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the PBO of that screen we can write the Code, Using the LOOP AT SCREEN statment we can write this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the sample DEMO porgram &amp;lt;b&amp;gt;demo_dynpro_modify_simple&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530939#M573894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530940#M573895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friend plz can u explain me in details that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of how do i hide them before i come to a screen and after hitting a button or so how do i recall them &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m new to this so please explain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as mu screen no is 3000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets take a table zabc which have three fields &lt;/P&gt;&lt;P&gt;aa bb cc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want that after hitting button bb cc display or visible on screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got my point &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530940#M573895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530941#M573896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want dynamically change the attributes of the screen / screen fields at runtime. Follow this.&lt;/P&gt;&lt;P&gt;In the PBO of the screen module just write these lines of codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at screen.
if screen-name = 'field1' or
   screen-name = 'field2'.
if sy-ucomm = &amp;lt;Function code of the button pressed&amp;gt;
screen-invisible = 1.
modify screen.
endif. &amp;lt;Condition&amp;gt;
endif.
endlooop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530941#M573896</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-10T05:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530942#M573897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT demo_dynpro_modify_simple.
 
DATA: ok_code TYPE sy-ucomm,
      save_ok TYPE sy-ucomm.
 
DATA flag(1) TYPE c.
 
CALL SCREEN 100.
 
MODULE status_0100 OUTPUT.
  SET PF-STATUS 'SCREEN_100'.
LOOP AT SCREEN.
    IF screen-group1 = 'MOD'.
        screen-input = '1'.
      ELSEif  screen-group1 = 'DEL'.
      screen-input = '0'.
      ENDIF.
     MODIFY SCREEN.
 
ENDLOOP.
ENDMODULE.
 
MODULE cancel.
  LEAVE PROGRAM.
ENDMODULE.
 
MODULE user_command_0100 INPUT.
      IF SY-TABIX  GT 1.
    LOOP AT SCREEN.
        IF screen-group1 = 'DEL'.
        screen-input = '1'.
         ENDIF.
         MODIFY SCREEN.
    ENDLOOP.
ENDIF.
ENDMODULE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if  it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530942#M573897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530943#M573898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ruby , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in TOP include , declare a global variable like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : init type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO of the screen ..at the end of all logical operations are over ,&lt;/P&gt;&lt;P&gt;pass a value X to INIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI of your screen ....&lt;/P&gt;&lt;P&gt;if init = 'X' &lt;/P&gt;&lt;P&gt;module modify_screen .&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module modify_screen.&lt;/P&gt;&lt;P&gt;    Pass the text field value to the text field of the screen ..  &lt;/P&gt;&lt;P&gt;endmodule .   " modify_screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This logic should work ..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530943#M573898</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-10T05:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: module pool help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530944#M573899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend lets say i had a input output field in module pool &lt;/P&gt;&lt;P&gt;in its properties display property i had set it to &lt;/P&gt;&lt;P&gt;INVISIBLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want that i had a button and on clicking that that input / output field should be displayed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now wat u say &lt;/P&gt;&lt;P&gt;wat i should do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-help/m-p/2530944#M573899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:54:59Z</dc:date>
    </item>
  </channel>
</rss>

