<?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: Screen invisible Stuff in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872858#M1323599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
Try this way.
&lt;PRE&gt;&lt;CODE&gt;
Report ztest.
parameters:r1 radiobutton group gr1 user-command uc1,
           r2 radiobutton group gr1,
           p_matnr type mard-matnr.
AT SELECTION-SCREEN OUTPUT.
if r1 = 'X'.
   Loop at screen.
      if screen-name = 'P_MATNR'.
          screen-invisible = 0.
          modify screen.
      endif.
   endloop.
else.
      if screen-name = 'P_MATNR'.
          screen-invisible = 1.
          modify screen.
      endif.
   endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 14:56:43 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2009-07-23T14:56:43Z</dc:date>
    <item>
      <title>Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872857#M1323598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone guide how do i make use of screen invisible stuff so that i can make use of same screen for multiple purposes?&lt;/P&gt;&lt;P&gt;I tried googling but ended it on a confusing note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for writing back.&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;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 14:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872857#M1323598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872858#M1323599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
Try this way.
&lt;PRE&gt;&lt;CODE&gt;
Report ztest.
parameters:r1 radiobutton group gr1 user-command uc1,
           r2 radiobutton group gr1,
           p_matnr type mard-matnr.
AT SELECTION-SCREEN OUTPUT.
if r1 = 'X'.
   Loop at screen.
      if screen-name = 'P_MATNR'.
          screen-invisible = 0.
          modify screen.
      endif.
   endloop.
else.
      if screen-name = 'P_MATNR'.
          screen-invisible = 1.
          modify screen.
      endif.
   endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 14:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872858#M1323599</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-23T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872859#M1323600</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;Check the Dmeo program DEMO_CALL_SELECTION_SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can design the screen and call the screen in the start-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872859#M1323600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872860#M1323601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain something? How do i proceed if i want to do it in dialog programming? &lt;/P&gt;&lt;P&gt;In reports i can also use 'CLEAR SCREEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also could you explain something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. " group gr1 user-command uc1",&lt;/P&gt;&lt;P&gt;2.        p_matnr type mard-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if r1 = 'X'. &amp;lt;--- what does an X signifies here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.     if screen-name = 'P_MATNR'.  &amp;lt;----can we have this p_matnr as same as that of title name of screen?&lt;/P&gt;&lt;P&gt;          screen-invisible = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very confusin though actin like a newbie to this stuf.. i can do this stuff by usin many screens i just want to make use of screen invisible stuff so as to clear the contents of screen drawn by a screen painter used in dialog programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a heap brother for writing back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872860#M1323601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872861#M1323602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump! any help? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for writing back.&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;Lucky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872861#M1323602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T04:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872862#M1323603</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;If r1 ia radiobutton or any check Box , X indicates that user has selected that radio button or check Box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If r1 = 'X' ,Verifies whether user has selected r1 or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk the Structure of the SCREEN table in SE11. U will get to know what are components its going to contain ,and how u can play &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the SAP Standard which was mentioned above and switch on to debugging mode .Analyse the behaviour of SCREEN table at runtime .U will get a clear picture then. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872862#M1323603</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-07-24T04:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872863#M1323604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have two scenarios when you talk of a screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In a selection screen: Here you use a "MODIF ID" and use that to display / hide screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: parameters: v_para(10) type c modif id M1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is the event for displaying / hiding screen elements.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 = 'M1'.&lt;/P&gt;&lt;P&gt;screen-invisible = '1'. "Flag for visibility, 1 = invisible, 0 = visible&lt;/P&gt;&lt;P&gt;modify screen.&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;2) In a module pool screen: Here you use the PBO event to define visibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, specify a group in the layout mode for the screen element. Lets suppose group = 'M1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in PBO, write the same code as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE! Always write MODIFY SCREEN, failing which you won't be able to change visibility of the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps! Do revert back if you need anything else!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shailesh&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Always provide feedback for helpful answers!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872863#M1323604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T04:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872864#M1323605</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 Dialog program you have to write the code in PBO to make any field disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN.
    CASE screen-name.
      WHEN 'field name1'.
        screen-invisible = 1.
          MODIFY SCREEN.
      WHEN 'field name2'.
          screen-input = 0.
          MODIFY SCREEN.
      WHEN 'fieldname3'.
          screen-input = 0.
          MODIFY SCREEN.
     ENDCASE.

    CASE screen-group1.
      WHEN 'G1'.
          screen-input = 0.
          MODIFY SCREEN.
     ENDCASE.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for clearing screen in module pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-ucomm.
    WHEN 'F_CLEAR'.
      CLEAR : ZLOGIN116693-TITLE,
              ZLOGIN116693-USERID,
              ZLOGIN116693-FIRSTNAME,
              ZLOGIN116693-LASTNAME,
              ZLOGIN116693-DOB,
              ZLOGIN116693-EMAIL,
              ZLOGIN116693-OCCUPATION,
              ZLOGIN116693-ADD1,
              ZLOGIN116693-ADD2,
              ZLOGIN116693-CITY,
              ZLOGIN116693-PINCODE,
              ZLOGIN116693-STATE,
              ZLOGIN116693-COUNTRY,
              ZLOGIN116693-TELEPHONE,
              ZLOGIN116693-FAX,
              ZLOGIN116693-MOBILE,
              ZLOGIN116693-PSWD,
              ZLOGIN116693-CPSWD.

      CALL SCREEN 0003.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;p_matnr type mard-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It means you are declaring a parameter of same type which the field matne has in mard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if r1 = 'X'. &amp;lt;--- what does an X signifies here?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here X signifies that the radio button is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if screen-name = 'P_MATNR'.  &amp;lt;----can we have this p_matnr as same as that of title name of screen?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Yes you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it clears all your doubts. Revert in case of any more doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872864#M1323605</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-07-24T04:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872865#M1323606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also could you explain something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. " group gr1 user-command uc1", --&amp;gt;&lt;STRONG&gt;this implies you are creating two radio buttons of same group so that only one of them can be selected at a time and user-command UC1 enables the group to be responding to the clicks on the buttons.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. p_matnr type mard-matnr. --&amp;gt; &lt;STRONG&gt;whats the doubt here? its just a declaration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. if r1 = 'X'. &amp;lt;--- what does an X signifies here? &lt;STRONG&gt;r1 = 'X' means the radio button R1 is selected.&lt;/STRONG&gt; if its not selected the value of R1 will be ''. (blank)*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. if screen-name = 'P_MATNR'. &amp;lt;----can we have this p_matnr as same as that of title name of screen?&lt;/P&gt;&lt;P&gt;screen-invisible = 0.      &lt;STRONG&gt;its not the title but the NAME of the parameter as u have declared&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any thing more needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Somu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872865#M1323606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T04:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872866#M1323607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USER-COMMAND GR1.&lt;/P&gt;&lt;P&gt;The purpose of user-command is if any user has clicked any radio button then  event AT user-command is going to be triggered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM is going to contain GR1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872866#M1323607</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-07-24T04:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Screen invisible Stuff</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872867#M1323608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a heap everyone!! hope i would now be able to play with screens.. thanks again everyone your help is much appericiated.&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;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 05:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-invisible-stuff/m-p/5872867#M1323608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T05:22:07Z</dc:date>
    </item>
  </channel>
</rss>

