<?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: Help in the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296643#M157044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use AT SELECTION SCREEN OUTPUT event. &lt;/P&gt;&lt;P&gt;In this event code you need activate / deactivate based on the paygroup value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use dynpro&lt;STRONG&gt;Get&lt;/STRONG&gt;values fm to read the values of selection screen, then based on condition you have disable / enable the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2006 16:20:26 GMT</pubDate>
    <dc:creator>Manohar2u</dc:creator>
    <dc:date>2006-05-30T16:20:26Z</dc:date>
    <item>
      <title>Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296637#M157038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in updating the selection screen, I have declared the 'parameters' object in the selection screen like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  Paygroup type ZPGKIS obligatory.&lt;/P&gt;&lt;P&gt;it has three values '5A', '5B' and '5V'. when I select '5V' from the parameters, I need to display another parameters selection object for 'date' otherwise NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried something like this.....&lt;/P&gt;&lt;P&gt;  if Paygroup = '5V'.&lt;/P&gt;&lt;P&gt;parameters: p_date   type d.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;It is not working...&lt;/P&gt;&lt;P&gt;How can I correct this??&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296637#M157038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296638#M157039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u do that in AT SELECTION-SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give u an idea check this code, here cal_tra is the variable&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.


  IF CAL_TRA = 'X'.
    LOOP AT SCREEN.

      IF SCREEN-GROUP1 = 'BL1'.
        SCREEN-ACTIVE = '1'.
      ENDIF.

      IF SCREEN-GROUP1 = 'BL2'.
        SCREEN-ACTIVE = '0'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.

  IF SESSION = 'X'.

    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'BL1'.
        SCREEN-ACTIVE = '0'.
      ENDIF.

      IF SCREEN-GROUP1 = 'BL2'.
        SCREEN-ACTIVE = '1'.
      ENDIF.

      MODIFY SCREEN.

    ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296638#M157039</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-05-30T16:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296639#M157040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can make that using radio button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;REPORT z_selectionscreen .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_rb1 TYPE PAYGROUP RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND FC,&lt;/P&gt;&lt;P&gt;             p_rb2 TYPE PAYGROUP RADIOBUTTON GROUP rad1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_werks1 TYPE werks_d MODIF ID bk1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk_1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk_2 WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_werks2 TYPE werks_d MODIF ID bk2,&lt;/P&gt;&lt;P&gt;             p_matnr2 TYPE matnr   MODIF ID bk2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk_2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF p_rb1 = '5V'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'BK1'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&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;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'BK2'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&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.&amp;lt;/b&amp;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;&lt;/P&gt;&lt;P&gt;you can as well check this code &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_FILE(25) TYPE C,&lt;/P&gt;&lt;P&gt;             O_FILE(25) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Selection Screen 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: CAL_TRA RADIOBUTTON GROUP G1 USER-COMMAND FLAG,&lt;/P&gt;&lt;P&gt;            SESSION RADIOBUTTON GROUP G1 DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Selection Screen 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: MODE DEFAULT 'X' MODIF ID BL1,&lt;/P&gt;&lt;P&gt;            UPDATE DEFAULT 'X' MODIF ID BL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Selection Screen 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: SES_NAM TYPE APQI-GROUPID MODIF ID BL2,&lt;/P&gt;&lt;P&gt;            KEP_TRAS TYPE C DEFAULT 'X' MODIF ID BL2,&lt;/P&gt;&lt;P&gt;            LOC_DATE TYPE SY-DATUM MODIF ID BL2,&lt;/P&gt;&lt;P&gt;            USER TYPE SY-UNAME DEFAULT SY-UNAME MODIF ID BL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                    At  Selection-Screen Output                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF CAL_TRA = 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'BL1'.&lt;/P&gt;&lt;P&gt;        SCREEN-ACTIVE = '1'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'BL2'.&lt;/P&gt;&lt;P&gt;        SCREEN-ACTIVE = '0'.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SESSION = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'BL1'.&lt;/P&gt;&lt;P&gt;        SCREEN-ACTIVE = '0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'BL2'.&lt;/P&gt;&lt;P&gt;        SCREEN-ACTIVE = '1'.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naresh Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naresh Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296639#M157040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296640#M157041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt; In the at selection-screen output event,&lt;/P&gt;&lt;P&gt;YOu have to use the FM dynp_values_get to dynamically make the date field visible or invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if p_field = &amp;lt;some value&amp;gt;.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_DATE'.&lt;/P&gt;&lt;P&gt;screen-invisible = 1.&lt;/P&gt;&lt;P&gt;screen-active = 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.                                             &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296640#M157041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296641#M157042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; instead of using parameters use radio buttons&lt;/P&gt;&lt;P&gt;and enable and disable the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_ra1 RADIOBUTTON GROUP rad1&lt;/P&gt;&lt;P&gt;                   USER-COMMAND radio DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_rad2 RADIOBUTTON GROUP rad1 .&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_rad3 RADIOBUTTON GROUP rad1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_sumfl TYPE char255 modif id ABC.&lt;/P&gt;&lt;P&gt;PARAMETERS       : p_detfl TYPE char255 modif id ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;      IF screen-group1  = 'ABC'.&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;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy paste code u will get an idea how it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want one more another set of group to be activated and deactivated then declare parameter with different MODIF ID and one more if condition in loop at screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark Helpfull Answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;manoj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Manoj Gupta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296641#M157042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296642#M157043</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 have to use loop at screen in this case.&lt;/P&gt;&lt;P&gt;PARAMETERS: xxx TYPE char01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to give all the input parameters in the screen. and define the date parameter as a separate group using modif id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;if pay-group='5V'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group='G1'.&lt;/P&gt;&lt;P&gt;screen-active = 1.&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;else.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group = 'G1'.&lt;/P&gt;&lt;P&gt;screen-active = 0.&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;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296642#M157043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296643#M157044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use AT SELECTION SCREEN OUTPUT event. &lt;/P&gt;&lt;P&gt;In this event code you need activate / deactivate based on the paygroup value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use dynpro&lt;STRONG&gt;Get&lt;/STRONG&gt;values fm to read the values of selection screen, then based on condition you have disable / enable the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296643#M157044</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-05-30T16:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296644#M157045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use DYNP_VALUES_READ function module to read the current value of this parameter and then depending on its value you can do the following in AT SELECTION-SCREEN OUTPUT event.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF paygroup = '5V'.
  LOOP AT SCREEN.
    IF SCREEN-NAME = 'DATE'.
      SCREEN-ACTIVE = 1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
ELSE.
  LOOP AT SCREEN.
    IF SCREEN-NAME = 'DATE'.
      SCREEN-ACTIVE = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296644#M157045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296645#M157046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a simple program.  You enter the value and must hit enter.  Is this what you are looking for? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


parameters: p_paygrp(2) type c.
parameters: p_datum type sy-datum modif id GR1.


at selection-screen output.

  loop at screen.
    if screen-group1 = 'GR1'.
      if p_paygrp = '5V'.
        screen-active = '0'.
      else.
        screen-active = '1'.
      endif.
      modify screen.
    endif.
  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296645#M157046</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T16:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296646#M157047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot folks,&lt;/P&gt;&lt;P&gt;while using the fm 'DYNP_VALUES_READ ' all I know is screen number '1000' it is asking for other parameters, which I do not have a clue, can anyone help me in that ??&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296646#M157047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296647#M157048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You pass program name to DYNAME parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296647#M157048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296648#M157049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although, I'm really not sure why you are using it,  you can call it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  data: dynfields type table of dynpread with header line.

* Add the field to the table
  dynfields-fieldname = 'P_PAYGRP'.
  append dynfields.

  call function 'DYNP_VALUES_READ'
       exporting
            dyname               = sy-cprog
            dynumb               = sy-dynnr
            translate_to_upper   = 'X'
       tables
            dynpfields           = dynfields
       exceptions
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            invalid_parameter    = 7
            undefind_error       = 8
            double_conversion    = 9
            stepl_not_found      = 10
            others               = 11.

* You can read this table to get the value from the screen
  read table dynfields with key fieldname = 'P_PAYGRP'.
  p_PAYGRP = dynfields-fieldvalue.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what exactly is the requirement here.&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;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296648#M157049</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T16:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296649#M157050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'Paygroup' parameters option has to display by default on the screen, however when I select the option as '5V' the date object has to be displayed otherwise NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296649#M157050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296650#M157051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, I had it backwards.  This is not working for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.


parameters: p_paygrp(2) type c.
parameters: p_datum type sy-datum modif id GR1.


at selection-screen output.

  loop at screen.
    if screen-group1 = 'GR1'.
      if p_paygrp = '5V'.
        screen-active = '1'.
      else.
        screen-active = '0'.
      endif.
      modify screen.
    endif.
  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296650#M157051</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T16:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296651#M157052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain it clearly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a selection object for the paygroup on the screen hence I used the 'parameters' and it contains three values in it '5A', '5B' and '5V' which represent differetn pay groups. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &amp;lt;b&amp;gt;paygroup '5V'&amp;lt;/b&amp;gt; I need to provide the pay period ending date on the screen, hence I need to use another 'parameters' object to display the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all.&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296651#M157052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T16:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296652#M157053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the above code should work well then.  Unless you need this to happen when the user does the F4 help.  Then you would have to do something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 16:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296652#M157053</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296653#M157054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I need that to happen. Because when I run the program only the paygroup 'parameter' option has to display and click on 'F4' from where I select the option '5V' then the pay date selection object has to display.If I select '5A' or '5B' the same screen has to be displayed with no pay period date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used that peice of code it is not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 17:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296653#M157054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T17:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296654#M157055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you need the screen to change automatically when the user selects the value from the F4 help without hitting ENTER, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 17:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296654#M157055</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T17:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296655#M157056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES Rich.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 17:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296655#M157056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T17:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help in the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296656#M157057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means that you will have to fire a round trip, but in selection screen processing, I don't think that what you want is possible.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 17:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-the-selection-screen/m-p/1296656#M157057</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-30T17:24:05Z</dc:date>
    </item>
  </channel>
</rss>

