<?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 Disabling fields in subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148930#M1193204</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;I have a main screen '9970' and subscreen '7300'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subscreen '7300' is also a subscreen of some other screen say '9000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to disable the fields of '7300' only when it is called from the main screen '9970'. When i disable in fields in PBO of subscreen , then it will be disabled in screen '9000' also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to disable fields of subscreen from the main screen '9970'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following in PBO of main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;If Screen-name = 'SCRAREA1'.&lt;/P&gt;&lt;P&gt;            SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: call subscreen SCRAREA1 using &amp;lt;prog-name&amp;gt; &amp;lt;screen-no&amp;gt;&lt;/P&gt;&lt;P&gt;SCRAREA1 is the name of the subscreen area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above code is not capturing the subscreen area name at all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone please suggest..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hemalatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 08:40:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-04T08:40:33Z</dc:date>
    <item>
      <title>Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148930#M1193204</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;I have a main screen '9970' and subscreen '7300'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subscreen '7300' is also a subscreen of some other screen say '9000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to disable the fields of '7300' only when it is called from the main screen '9970'. When i disable in fields in PBO of subscreen , then it will be disabled in screen '9000' also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to disable fields of subscreen from the main screen '9970'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following in PBO of main screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;If Screen-name = 'SCRAREA1'.&lt;/P&gt;&lt;P&gt;            SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: call subscreen SCRAREA1 using &amp;lt;prog-name&amp;gt; &amp;lt;screen-no&amp;gt;&lt;/P&gt;&lt;P&gt;SCRAREA1 is the name of the subscreen area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above code is not capturing the subscreen area name at all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone please suggest..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hemalatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148930#M1193204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T08:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148931#M1193205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   check if the screens are activated.&lt;/P&gt;&lt;P&gt;now call the subscr from the scr u want to call using&lt;/P&gt;&lt;P&gt;  call subscreen SUBSCR including 'ZPRG' 'C_SCRNUM'.&lt;/P&gt;&lt;P&gt;in PBO, write the logic for disabling and &lt;/P&gt;&lt;P&gt;also write CALL SUBSCREEN SUBSCR in ur PAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148931#M1193205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148932#M1193206</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;In The main screen 9000 and 9970 pass the screen number to a global variable before calling subscreen 7300.&lt;/P&gt;&lt;P&gt;In PBO of 7300 chek the variable to know if it has been called from the desired main screen say 9970. If yes disable it and pass another indicator say dibale  = X.&lt;/P&gt;&lt;P&gt;Return to main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the Main screen check the variable DISABLE and grayout the fields you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTANT.&lt;/P&gt;&lt;P&gt;If you are doing CALL SCREEN 7300 from 9000.And then a LEAVE TO SCREEN from 7300 after processing, you will not go to the PBO of 9000. Control will execute the flow logic of 9000 after the CALL SCREEN statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148932#M1193206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148933#M1193207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalyan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the screens are activated. I have included everything in PBO and PAI.&lt;/P&gt;&lt;P&gt;the fields are displayed already. I want to make all fields 'Readonly'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Hemalatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148933#M1193207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148934#M1193208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can write the logic in the PBO to chck  if it is being called from the Screen u want to call i.e 9970 and if its yes..u can disable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148934#M1193208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148935#M1193209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivekanand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subscreen 7300 is in a different package.&lt;/P&gt;&lt;P&gt;I have a global variable to call subscreen 7300 in the top include of&lt;/P&gt;&lt;P&gt;the package to which screen 9970 belongs to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not access this variable in a different package..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how to access this variable? or&lt;/P&gt;&lt;P&gt;is there any other way for disabling..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Hemalatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148935#M1193209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling fields in subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148936#M1193210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemalatha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i have understood the issue... you want to disable  some fields from screen 9970 and not from 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in &lt;/P&gt;&lt;P&gt;at selection-screen output.     " give a condition in such a way that the loop runs only for 9970.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-dynnr = 9970.&lt;/P&gt;&lt;P&gt;   LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;       If Screen-name = 'SCRAREA1'.&lt;/P&gt;&lt;P&gt;          SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;          MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 11:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-fields-in-subscreen/m-p/5148936#M1193210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T11:44:53Z</dc:date>
    </item>
  </channel>
</rss>

