Depend on first combo selection, second combo should disable and enable

hi
i am using jstl and jsp. I have two combos , first combo has 4 items
when clicking the 3rd item and 4 th items second combo should
be disabled( that means he should not select second combo items)
combo items are not hardcoded they are polulating by mapping through hibernate to database. Please help me how to do it by
using javascript or jstl conditions.
can any body help me please...this is urgent
thanks
jalandhar
Message was edited by:
jalandhar
Message was edited by:
jalandhar

Hi,
This is not a javascript forum, please google for a javascript forum. (Javascript is not java)
Kaj

Similar Messages

  • [svn:fx-trunk] 7073: When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

  • MSI DKA790GX PLATINIUM + 6870 cf second adaptor is disabled and code error:10

    i got two 6870 on msi dka 790gx P.  
    after formatted, i noticed  second vga doesn't work in the device manager, says " device can not start, code :10"
    i installed driver, both cards installed driver. i activated cf, but second vga is disabled.
    is there any bios to fix cf on this board?
    cpu: phenom II x6 1055T
    4gb ddr2 1066
    win7 x64.

    >>Posting Guide<<

  • Select second row of a table

    i have this query to count people who are in different deployment
    SELECT Trade.Trade, Trade.Auth,
    (select count(tradeno) from Member where trade=Trade.Trade) AS Held,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='Present') AS Present,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='KL') AS KL,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='HL') AS HL,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='SL') AS SL,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='TTT') AS TTT,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='COURSE') AS COURSE,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='UD') AS UD,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='LAW') AS LAW,
    (select count(tradeno) from Member where trade=Trade.Trade and Status='MAL') AS MAL
    FROM Trade ORDER BY id"
    the above query works for me fine. now there is a table named PL with field PL
    PL
    KM
    KT
    KM
    HG
    TG
    HG
    i want to make six different queries for each PL. add a clause in above query
    1. to select top 1 PL and also add where clause in the above query so that people employed in KM only gets counted and displayed
    2.  to select second row of  PL and also add where clause in the above query so that people employed in KT only
    gets counted and displayed
    as also for all other PL. please lelp me
    I am a System Administrator at Vadodara

    Sir
    The first query which i had given is correct and it works for me. Now i want to add one more
    clause that PL.PL and that PL should be dynamically selected and not manually added in query. The logic should be like this
    Above query + where PL.PL= second row of table PL that is the result required for me
    First problem is : I was not able to add the clause WHERE PL.PL=' '
    Second Problem is : If i had solved my first one the PL.PL must be automatically selected as
    i had given a sample query to select the second row from table PL.
    Then it is solved
    I am a System Administrator at Vadodara

  • How to populate second combo box on the basis of first combo

    Hi All,
    Please help me on populating the second combo on the basis of the selected value from first combo.
    The values will come from database.
    I am using struts and jsp in JBOSS
    Regards,
    Dinesh

    Here's a snippet from one of my jsp's:
            TestDel del = new TestDel();
         String groups = del.getTestGroupsAsHTMLSelect(
                          model.getSponsorId(),
                          "groupCode",            //field name
                          null != values ? (String)values.get("groupCode") : "",                      // selected
                          "findTestTypes"); // on change       
           String tests = del.getTestsAsHTMLSelect(
                          null != values ? (String)values.get("groupCode") : "",
                          "test_code",
                          null != values ? (String)values.get("test_code") :"",
                          "findSchoolType");It basically returns a select box with the on change attribute set to do what your other reply was talking about. Using AJAX to retrieve the data and then pop it into the page...
    I did find that that with mozilla there was some refreshing issue so here's some javascript help:
    function findTestTypes(grp){
      var url = "/tests/lookup?cmd=test&gc="+grp.value;
         if (window.XMLHttpRequest) {
                req = new XMLHttpRequest();
            } else if (window.ActiveXObject) {
                req = new ActiveXObject("Microsoft.XMLHTTP");
         req.open("GET", url, true);
         req.onreadystatechange = showTestTypes;
         req.send(null); 
    function showTestTypes(){
         if (req.readyState == 4 && req.status == 200) {
             var html = req.responseText;
             var tt = getItem("tests");
             tt.innerHTML = html;
             fireChangeEvent("test_code");
    // for mozilla
    function fireChangeEvent(fieldName){
             if (window.ActiveXObject) {
                  getItem(fieldName).fireEvent('onchange');
             }else{
                     // target is some DOM node on which you wish to fire an event.
                   var target = getItem(fieldName);
                   var oEvent = document.createEvent( "Events" );
                   oEvent.initEvent(
                     "change",    // the type of mouse event
                     true,       // do you want the event to
                                 // bubble up through the tree?  (sure)
                     true,       // can the default action for this
                                 // event, on this element, be cancelled? (yep)
                     window,     // the 'AbstractView' for this event,
                                 // which I took to mean the thing sourcing
                                 // the mouse input.  Either way, this is
                                 // the only value I passed that would work
                     1,          // details -- for 'click' type events, this
                                 // contains the number of clicks. (single click here)
                     1,          // screenXArg - I just stuck 1 in cos I
                                 // really didn't care
                     1,          // screenYArg - ditto
                     1,          // clientXArg - ditto
                     1,          // clientYArg - ditto
                     false,      // is ctrl key depressed?
                     false,      // is alt key depressed?
                     false,      // is shift key depressed?
                     false,      // is meta key depressed?
                     0,          // which button is involved?
                                 // I believe that 0 = left, 1 = right,
                                 // 2 = middle
                     target           // the originator of the event
                                 // if you wanted to simulate a child
                                 // element firing the event you'd put
                                 // its handle here, and call this method
                                 // on the parent catcher.  In this case,
                                 // they are one and the same.
                   target.dispatchEvent( oEvent );        
    }

  • How to select a item form listbox and insert it into combo

    i want to select a item from listbox and display it in combo ,how realize ?
    and how to insert a vi into a subpanel and excute?
    everyone's help will be appreciated 

    Hello,
    to add in Listbox selected item to Combobox see attached Vi. With the other part of our question must help someone other because I never did it.Message Edited by ceties on 10-18-2006 04:57 AM
    LV 2011, Win7
    Attachments:
    Insert.vi ‏20 KB

  • Couldn't open first dialog from second dialog in a single project (VC++)

    Hai all,
      Good Day. I am very new to Visual C++. I am learning VC++ and doing practice side by side using IDE - Visual Studio 2005. In my project i created two dialogs. In
    first dialog  BARCODE_DIALOG (CBarCodeDlg) if i clicked  a button "password", i want to open a
    second Dialog DIALOG2(CPasswordDlg).  in this if i clicked main button  DIALOG2 closed at same time i want to open first Dialog and have to do changes in first dialog. 
    my problem is i closed the second dialogv by calling OnOK(). but i couldn't open first dialog. How to do?
    //For opening second dialog from first dialog:
    //CBarCodeDlg.cpp
    void CBarCodeDlg::OnBnClickedBpswd()
    // TODO: Add your control notification handler code here
    OnOK();
    m_dPswdDlg.DoModal(); // added variable public CPasswordDlg m_dPswdDlg
    //For close second dialog and do changes in first dialog
    //CPasswordDlg.cpp
    void CPasswordDlg::OnBnClickedBmain()
    OnOK();
    m_dBarCodeDlg.DoModal(); //added varible public CBarCodeDlg m_dBarCodeDlg
    if i added this 
    m_dBarCodeDlg.DoModal(); //added varible public CBarCodeDlg m_dBarCodeDlg
    getting errors.  How to call it and also i have to do changes in BarcodeDlg if clicked main button. can you plese help me to do it.

    yes david. Thanks a lot david.  i got it. but what i am doing in second dialog, i getting a string and comparing with another string. if equal then enabling another button "main". if i clicked main i want enable product number combo box
    in first dialog. how to enable it.
    You are thinking wrong about the second dialog. It should not be trying to control the first dialog. What it should do is set some internal state that the first dialog can interrogate after DoModal() returns. The simplest (bur not best OOP practice) is to
    use a public member variable, say a bool m_bSame. Then you could do
    //CBarCodeDlg.cpp
    void CBarCodeDlg::OnBnClickedBpswd()
    CPasswordDlg dlg;
    if( (dlg.DoModal() == IDOK) && dlg.m_bSame)
    // enable Combo box
    else
    // report some kind of error
    Or, even simpler, you could only allow the second dialog to return IDOK if the two strings are the same. Then you would not need the bool variable.
    Or you could put the user-entered string in a public member variable and do the test in the first dialog. Then you could create the entire second dialog in the designer, without adding any code (just add a public CString variable that is bound to an edit
    control).
    Modal dialogs are usually just information gatherers. They should bot be reaching out into the rest of the application.
    David Wilkinson | Visual C++ MVP

  • TS1545 I have downloaded 10.5.8 combo several times and cannot get it to install because the disc won't mount or the installation gets hung up after restart. My current os is 10.5.1, and I am trying to upgrade to snow leopard. This is on a dual core macbo

    I have downloaded 10.5.8 combo several times and cannot get it to install because the disc won't mount or the installation gets hung up after restart. My current os is 10.5.1, and I am trying to upgrade to snow leopard. This is on a dual core macbook pro.

    You don't need to update to Leopard 10.5.8 unless you want to keep Leopard. Upgrading to Snow Leopard requires that your purchase the retail install disk.
    The following covers Leopard:
    Some general advice on updating:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).
    Solutions for troubleshooting installation, startup, and login issues in Mac OS X v10.5
    http://support.apple.com/kb/TS1541?viewlocale=en_US

  • ORA-3113 while running export (first run ok, second run fails)

    Hi,
    I'm running 10g (10.1.0.2.0) on gentoo Linux.
    After a restart of the database I can do an EXP for any user without errors. But when I repeat the same command after the export I get the following error:
    . . exporting table WEB_SESSION_DATA 0 rows exported
    . exporting synonyms
    EXP-00008: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    EXP-00000: Export terminated unsuccessfully
    It's always the same error on the same task (exporting synonyms) but always just for the second and any later export, while the first one is ok.
    I read through some forums and found, that ORA-3113 is a standard error which just hides the real error. So I look into the trace files and found:
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [jox_lookup_known_object()+413] [SIGSEGV] [Address not mapped to object] [0x1AD14034] [] []
    Current SQL statement for this session:
    SELECT SYNNAM, DBMS_JAVA.LONGNAME(SYNNAM), DBMS_JAVA.LONGNAME(SYNTAB), TABOWN, TABNODE, PUBLIC$, SYNOWN, SYNOWNID, TABOWNID, SYNOBJNO FROM SYS.EXU9SYN WHERE SYNOWNID = :1 ORDER BY SYNTIME
    If I call this SQL from sqlplus I get the same ORA-3113, so this seems to be the cause for the export failure.
    When I remove the DBMS_JAVA.LONGNAME calls from the statement, it runs fine. It also runs fine, when I add a "and 1=0" to the EXU9SYN view. But this will not really solve the problem, because then all synonyms don't get exported.
    I also checked all the synonyms and they are valid, the referenced tables exist and can be queried.
    Because we use JavaStoredProcedures I cannot remove the Java Features in Oracle. But I reinstalled it (rmjvm.sql and initjvm.sql) but this did not help.
    Does anyone have an idea what's happening here?
    Especially the "first run ok, second run fails" seems to be very strange, because DB objects including DBMS_JAVA should be ok, if the first export can be done. So what changes in the database during or after the first run?

    Maybe description for bug 3953108 (ORA-7445 AND ORA-3113 DURING DIRECT FULL DATABASE EXPORT OF PUBLIC SYNONYMS) is helpful.
    Werner

  • Can we hide column in a query depending upon the variable selected

    Hi all,
    let us say my report have 10 column.
    now i am giving user option to select the values (let us say 'a' or 'b')
    columns must be displayed depending upon the value selected by user ..
    for example if user has selected 'a' then first five columns should be displayed..and if user has selected 'b' last five column should be displayed..(it will be OK even if we can hide the columns depending upon the selection )
    Is it possible in BEx...please let me know

    I did it sometime back. A bit complicated process.
    Create an infoobject, manually enter the values "keyfig1" and "keyfig2".
    Include this infoobject in the filters and restrict it using a "ready for input" variable.
    Now create two formula variables.
    Write a customer exit such that when you select "keyfig1", first formula variable's value should be set to 1 and other one's to 0.
    Then in the query create two calculated key figures, multiply both with the formula variable. Also supress column (all active value == 0).
    Then it will show the key figure which you have selected.
    Pravender

  • TS1717 Only part of each of the songs were downloaded (maybe the first 20-50 seconds).I have updated my itunes software.How do I try again?

    Yesterday I purchase two albums from the iTunes on line store.  After they were downloaded I realized I needed to update my iTunes software (software couldn't recognize my CD burner).  Once I updated iTunes, I burned each album onto a seperate memorex CD-R.  When I went to listen to them today on my drive to work, only the first 20 - 50 seconds of the songs are there.  At home I tried to play them directly from my iTunes library and the same thing....I didn't get the songs in their entirerty.  Is it possible to download them again from the iTunes store without re purchasing?  and yes, I restarted my computer after updating iTunes   Help???

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks from your iTunes library, close and then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unticked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • Problem in Combo chart columns and line

    I select chart type is  combo in my vc model  and select data series is columns and line.
    I define 5 series in the chart.
    once i deployed the model the output shows the columns are overwrite in stacked position.
    eg:
    series 1: 10%
    series 2: 20%
    series 3: 45%
    series 4: 25%
    series 5 is line type
    but in the chart the only one column will display,its top value 45% and itself shows 10% and 20% in different color.Don't show the 25% value on that column.
    How to display the chart columns in clustered type in combo chart.
    thanks in advance
    Aravind.S

    Hi
    When you select 'Combo Chart' you will not get options for 'Stacked or Clustered'. By default it will be 'Stacked' chart only. Combo charts are generally used for less number of data series. Normally these charts are best suitable for 2 Data series only.
    Still in your case is there any reason to use 'Combo Chart'? Consider following points -
    1. If you want to use this type of chart then selction of 'Columns + Line' will be difficult because it will treat only 'Last Data Series' as line & all others will be columns & what you said problem will appear.
    2. Instead of that select 'Column + Lines', so that only first 'Data series' will be column & rest all will be 'Lines'. So that you will get better visibility in that graph.
    I think this will help you, If you have nay problem let me know.
    Regards
    Sandeep

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to disable first row selection in a table

    Hi,
    I have three tables which have master child relationship. I need to enable a button for each table based on row selection of corresponding table.But first row is being selected automatically and the buttons are enabled.
    what should i do in order to avoid first row selection in a table.I tried by removing selected Row Keys.But still i am getting the same problem.can anyone suggest on this.
    Thank You,
    Sukumar

    I know a hack but I don't recommend it, anyway here it goes:
    Remove selected Row Keys
    Change selectionListener from the default and create a custom action listener (You can call the default one inside of it) (Tip: use makeCurrent function in this PDF
    This will make sure that there is no selected row highlighted for the first time, but it actually means that the first row is selected, it's just not shown.
    This method is tested with 11.1.1.7

  • Calling selection screen depends on radio buttion selection

    I need to call two selection screens (not radio buttons selection screens) depends on radio buttion selection
    Eg :
       R1-radio button
      R2- radio button
    if we select R1- we should get selection screen to enter input values like parameters, select options
       PARAMETERS:     p_abc TYPE    MARA-matnr OBLIGATORY
      SELECT-OPTIONS: s_mno  FOR   MARC- chngr OBLIGATORY.
      PARAMETERS:     p_xyz TYPE     MARA - amktxOBLIGATORY.  (just example)
    If we select R2, we should get selection screen to enter input values like parameters, select options
    PARAMETERS:         p_abcd TYPE    KNA1-matnr OBLIGATORY
      SELECT-OPTIONS:  s_mnop  FOR   VBAK- chngr OBLIGATORY.
      PARAMETERS:        p_xyza TYPE     VBAP - amktxOBLIGATORY  (just example)
    if we select 1 , other should be hide
    Madhu

    Hi,
    this is an example:
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETER R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND SET1.
    PARAMETER R2 RADIOBUTTON GROUP G1 .
    SELECTION-SCREEN BEGIN OF BLOCK B21 WITH FRAME TITLE TEXT-004.
    PARAMETER: P1 LIKE IBIPPARMS-PATH MODIF ID FPA.
    SELECTION-SCREEN END OF BLOCK B21.
    SELECTION-SCREEN BEGIN OF BLOCK B22 WITH FRAME TITLE TEXT-004.
    PARAMETER: P2 LIKE IBIPPARMS-PATH MODIF ID FPB.
    SELECTION-SCREEN END OF BLOCK B22.
    SELECTION-SCREEN END OF BLOCK B2.
    DATA: P_CHECK.
    AT SELECTION-SCREEN OUTPUT.
      IF P_CHECK <> 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'FPA' OR
             SCREEN-GROUP1 = 'FPB'.
            SCREEN-INPUT = '0'.
            SCREEN-INVISIBLE = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
        P_CHECK = 'X'.
      ENDIF.
      IF R1 = 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'FPA'.
            SCREEN-INVISIBLE = '0'.
            SCREEN-INPUT = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 = 'FPB'.
            SCREEN-INVISIBLE = '1'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
      IF R2 = 'X'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'FPB'.
            SCREEN-INVISIBLE = '0'.
            SCREEN-INPUT = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 = 'FPA'.
            SCREEN-INVISIBLE = '1'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Angelo.

Maybe you are looking for