<?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 selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021277#M413680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have some problem in one scenario. can u please see this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input:  months range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i have to give option for 12 months in check boxes or radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user clicks on any particular month, i have to give one option for input(8 fields). like that user may clicks on 12 months one by one , i have to give option for  total 96 entries (8 entries for each month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i  click on first jan, then one screen should come,&lt;/P&gt;&lt;P&gt;if i  click on feb, then one new screen should come, the first screen will be off.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this it has to come for all the months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this. please help me...in this scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2007 04:38:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-22T04:38:49Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021277#M413680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have some problem in one scenario. can u please see this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input:  months range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i have to give option for 12 months in check boxes or radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user clicks on any particular month, i have to give one option for input(8 fields). like that user may clicks on 12 months one by one , i have to give option for  total 96 entries (8 entries for each month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i  click on first jan, then one screen should come,&lt;/P&gt;&lt;P&gt;if i  click on feb, then one new screen should come, the first screen will be off.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this it has to come for all the months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this. please help me...in this scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 04:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021277#M413680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T04:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021278#M413681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare the screen with all the fields as no display .in a selection screen block .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen event .&lt;/P&gt;&lt;P&gt;check which radio button or checkbox is ticked based on display selection-screen block .&lt;/P&gt;&lt;P&gt;keep a track of which selection you are displaying coz if selects another buttonb you will again make the previous selection as no dispaly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should as dynamic selections .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 04:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021278#M413681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T04:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021279#M413682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi durgesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_jan. " request for p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_jan = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS : 1_acn01 LIKE pc207-betrg ,&lt;/P&gt;&lt;P&gt;               1_acno10 LIKE pc207-betrg ,&lt;/P&gt;&lt;P&gt;               1_acn02 LIKE pc207-betrg,&lt;/P&gt;&lt;P&gt;               1_acn21 LIKE pc207-betrg,&lt;/P&gt;&lt;P&gt;               1_acn22 LIKE pc207-betrg,&lt;/P&gt;&lt;P&gt;               1_bank    LIKE pa0009-bankl,&lt;/P&gt;&lt;P&gt;               1_date    LIKE sy-datum,&lt;/P&gt;&lt;P&gt;               1_total   LIKE pc207-betrg.&lt;/P&gt;&lt;P&gt;&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;[ i require all these 8 fieldds in all the 12 months. with some name difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for feb it is starting with 2, march 3, april 4 like this,.....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i give like this it is giving errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please guide me with soem suitable code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        dasr r&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021279#M413682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021280#M413683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If You want to acieve this Using Selection-screen, then You have to assign Function codes to Each element on your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In At selection-screen output event,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to loop at screen and hide the elements which you do not want to display depending on Selected Function key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are to acive the result using screen then it is more easire. Define 8 subscreen areas having the required content. Depeding on the selected button, u call the desired Subscreen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021280#M413683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021281#M413684</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;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p_jan1 radiobutton group g1,&lt;/P&gt;&lt;P&gt;p_feb1 radiobutton group g1,&lt;/P&gt;&lt;P&gt;p_mar1 radiobutton group g1,&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;PARAMETERS : &lt;/P&gt;&lt;P&gt;1_acn01 LIKE pc207-betrg  modif id jan,&lt;/P&gt;&lt;P&gt;p_acno10 LIKE pc207-betrg modif id jan,&lt;/P&gt;&lt;P&gt;1_acn02 LIKE pc207-betrg modif id jan,&lt;/P&gt;&lt;P&gt;1_acn21 LIKE pc207-betrg modif id jan, &lt;/P&gt;&lt;P&gt;1_acn22 LIKE pc207-betrg modif id jan,&lt;/P&gt;&lt;P&gt;1_bank LIKE pa0009-bankl modif id jan,&lt;/P&gt;&lt;P&gt;1_date LIKE sy-datum modif id jan,&lt;/P&gt;&lt;P&gt;1_total LIKE pc207-betrg modif id jan,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;1_acn03 LIKE pc207-betrg  modif id feb,&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;like u declare 96  parameters and give same modif id for for the parameters what to display for a selected month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then.&lt;/P&gt;&lt;P&gt;at selection screen output.&lt;/P&gt;&lt;P&gt;loop at screen .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if p_jan1 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'jan'&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;else .&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif p_feb1 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'feb'&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;else .&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;..&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;&lt;/P&gt;&lt;P&gt;..&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;&lt;/P&gt;&lt;P&gt;regards ,&lt;/P&gt;&lt;P&gt;ananth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        ananth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021281#M413684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021282#M413685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P_NUM type spfli-carrid  MODIF ID G1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  P_NUM = '25'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-GROUP1 = 'G1'.&lt;/P&gt;&lt;P&gt;      SCREEN-output = 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;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is just a sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the above site&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021282#M413685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021283#M413686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hi u need to do the coding for making the fields invisible, in the AT SELECTION-SCREEN OUTPUT event..&lt;/P&gt;&lt;P&gt;Check the below code..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;i&amp;gt;U cannot define the PARAMETERS and SELECT OPTIONS locally.. imean in subroutines , in at selection screen events and in GET events... Thats y it is giving error for u..&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_jan as checkbox.&lt;/P&gt;&lt;P&gt;PARAMETERS :&lt;/P&gt;&lt;P&gt;1_acn01 LIKE pc207-betrg modif id GRP,&lt;/P&gt;&lt;P&gt;p_acno10 LIKE pc207-betrg  modif id GRP,&lt;/P&gt;&lt;P&gt;1_acn02 LIKE pc207-betrg modif id GRP,&lt;/P&gt;&lt;P&gt;1_acn21 LIKE pc207-betrg modif id GRP,&lt;/P&gt;&lt;P&gt;1_acn22 LIKE pc207-betrg modif id GRP,&lt;/P&gt;&lt;P&gt;1_bank LIKE pa0009-bankl modif id GRP,&lt;/P&gt;&lt;P&gt;1_date LIKE sy-datum modif id GRP,&lt;/P&gt;&lt;P&gt;1_total LIKE pc207-betrg modif id GRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output. " request for p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_jan = '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 eq 'GRP'.&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.&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;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021283#M413686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021284#M413687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dasr,&lt;/P&gt;&lt;P&gt;  Yes it is possible through at-selection-screen output.&lt;/P&gt;&lt;P&gt;First define parameters. add modif id &amp;lt;xxx&amp;gt; to that parameters. (Here u will define total 12 modif ids). Then take one flag. mention in at selection screen output as when select first radio button then looping for screen and screen group is reqired name related to reqired parameter. screen active is 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you, reply for queries,&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;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021284#M413687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021285#M413688</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;u can't write like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will give u the error "Within FORM routines and function modules, the SELECTION-SCREENstatement is not allowed."     right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where u have to show these parameter in the same screen or in the other screen.&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;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021285#M413688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021286#M413689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Execute the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT zex13 .

PARAMETERS : cb1_jan  AS CHECKBOX user-command r,
             cb2_feb  AS CHECKBOX  user-command r  .


SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001 . "text-001 = 'jan'  
PARAMETERS :  f1(8) TYPE c MODIF ID a,
              f2(8) TYPE c MODIF ID a,
              f3(8) TYPE c MODIF ID a,
              f4(8) TYPE c MODIF ID a,
              f5(8) TYPE c MODIF ID a,
              f6(8) TYPE c MODIF ID a,
              f7(8) TYPE c MODIF ID a,
              f8(8) TYPE c MODIF ID a.

SELECTION-SCREEN END OF BLOCK a.


SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-002 ."text-002 = 'Feb' maintain this
PARAMETERS :  f21(8) TYPE c MODIF ID b,
              f22(8) TYPE c MODIF ID b,
              f23(8) TYPE c MODIF ID b,
              f24(8) TYPE c MODIF ID b,
              f25(8) TYPE c MODIF ID b,
              f26(8) TYPE c MODIF ID b,
              f27(8) TYPE c MODIF ID b,
              f28(8) TYPE c MODIF ID b.

SELECTION-SCREEN END OF BLOCK b.


AT SELECTION-SCREEN OUTPUT.

  IF cb1_jan Eq ' ' .
    LOOP AT SCREEN .
      IF screen-group1 = 'A'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
 else.
   LOOP AT SCREEN .
      IF screen-group1 = 'A'.
        screen-active = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.

  IF cb2_feb Eq ' ' .
    LOOP AT SCREEN .
      IF screen-group1 = 'B'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
 else.
    LOOP AT SCREEN .
      IF screen-group1 = 'B'.
        screen-active = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this is working for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i have understood ur query .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just extend the logic for other months .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//if the user clicks on any particular month, i have to give one option for input(8 fields). like that user may clicks on 12 months one by one , i have to give option for total 96 entries (8 entries for each month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing you need to understand is if i take the radio button option i can only make one block appear but if u want to see the entries for more than one month no choice but to go for check box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021286#M413689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021287#M413690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YAH , waht u r telling is right , it is giving the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tahnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 06:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021287#M413690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021288#M413691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... thanks for u r reply. here  where to put that code of at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whetehr it is after the initialization or after the block a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 1.&lt;/P&gt;&lt;P&gt;PARAMETERS : c_jan AS CHECKBOX USER-COMMAND r. " DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 3(10) text-062.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 14.&lt;/P&gt;&lt;P&gt;PARAMETERS : c_feb AS CHECKBOX USER-COMMAND r.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 16(9) text-063.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;same for other months &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK Jan WITH FRAME TITLE text-004 . "text-001 = 'jan'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: 1_acn01   LIKE pc207-betrg   MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_acno10  LIKE pc207-betrg   MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_acn02   LIKE pc207-betrg   MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_acn21   LIKE pc207-betrg   MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_acn22   LIKE pc207-betrg   MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_bank    LIKE pa0009-bankl  MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_date    LIKE sy-datum      MODIF ID jan,&lt;/P&gt;&lt;P&gt;            1_total   LIKE pc207-betrg   MODIF ID jan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK Jan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK Feb WITH FRAME TITLE text-005 ."text-002 = 'Feb' maintain this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: 2_acn01   LIKE pc207-betrg   modif id Feb,&lt;/P&gt;&lt;P&gt;            2_acno10  LIKE pc207-betrg   modif id Feb,&lt;/P&gt;&lt;P&gt;            2_acn02   LIKE pc207-betrg   modif id Feb,&lt;/P&gt;&lt;P&gt;            2_acn21   LIKE pc207-betrg   modif id Feb,&lt;/P&gt;&lt;P&gt;            2_acn22   LIKE pc207-betrg   modif id Feb,&lt;/P&gt;&lt;P&gt;            2_bank    LIKE pa0009-bankl  modif id Feb,&lt;/P&gt;&lt;P&gt;            2_date    LIKE sy-datum      modif id Feb,&lt;/P&gt;&lt;P&gt;            2_total   LIKE pc207-betrg   modif id Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK Feb.&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;&lt;/P&gt;&lt;P&gt;  IF C_Jan EQ ' ' .&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'Jan'.&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;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'Jan'.&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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF C_Feb EQ ' ' .&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'Feb'.&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;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'Feb'.&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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is , if  i click on  jan  checkbox, the feb screen not going off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why it is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        dasr r&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 07:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021288#M413691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T07:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021289#M413692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can write the code wherever u want ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events will get executed in a predefined order..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u can write the code either before or after any event..&lt;/P&gt;&lt;P&gt;And initialization is the first event that gets triggered before any event !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps u,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 07:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021289#M413692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T07:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021290#M413693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;confirm that if u take two months jan and feb the o/p is okay for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed the declaration exactly as shown for each and every month till 12 and u need to write the at selection-screen output after the blocks declarations .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection block a 
selection block b 

selection block c

selection block 12 

at selection-screen ouput .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'JAN'.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'FEB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maintain in CAPS ..&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;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 07:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021290#M413693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021291#M413694</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;WHAT SNIPER HAS GIVE IS WRITE.THAT WILL WORK FINE.&lt;/P&gt;&lt;P&gt;PUT AT SELECTION SCREEN OUTPUT EVENT BEFORE INITIALIZATION.&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;REGARDS,&lt;/P&gt;&lt;P&gt;BHARAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 07:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2021291#M413694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T07:30:27Z</dc:date>
    </item>
  </channel>
</rss>

