Radio button infor needed?

hi
i had 2 RB GRP 1 & 3 RB in GRP2.
My req is if in GRP1 rad1 is clked than the none RB of GRP2 shd be hide,if in rad2 is clked than 3 RB of GRP2 shd be hide from the screen.
I am trying to to it but giving dupm:too many friled set in group.
LOOP AT SCREEN.
    if y1 = 'X'.
      clear:rb.
    elseIF y2 = 'X'.
      IF screen-name CS 'X1'.
        screen-active = 0.
        modify screen.
      ENDIF.
      if screen-name CS 'X3'.
      screen-active = 0.
     modify screen.
   ENDIF.
     if  screen-name CS 'X4'.
     screen-active = 0.
     modify screen.
     ENDIF.
   ENDIF.
    ENDLOOP.

Hi,
Try this out,
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_out1 TYPE c RADIOBUTTON GROUP a DEFAULT 'X'
                          USER-COMMAND uc01,
            p_out2 TYPE c RADIOBUTTON GROUP a.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_ebeln FOR wa_ekko-ebeln MODIF ID 001,
                s_bukrs FOR wa_ekko-bukrs MODIF ID 001,
                s_aedat FOR wa_ekko-aedat MODIF ID 001,
                s_matnr FOR wa_mard-matnr MODIF ID 002,
                s_ersda FOR wa_mard-ersda MODIF ID 002,
                s_werks FOR wa_mard-werks MODIF ID 002.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN '001'.
        IF p_out1 EQ 'X'.
          screen-active = '1'.
        ELSE.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      WHEN '002'.
        IF p_out2 EQ 'X'.
          screen-active = '1'.
        ELSE.
          screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
    ENDCASE.
  ENDLOOP.

Similar Messages

  • 3 radio buttons is needed on each row of a report

    Hi,
    I need 3 radio buttons on each row of a report. Out of these three , one can be selcted per row. And in each column I can select more then one radio button.
    Please provide a way to do the same.
    Thanks

    open the page, click the RPT link to the report column attributes of that region. choose the field you wish to alter (click the edit icon) then change under the "column link" section to an href. I have used a call to a javascript function in the URL box e.g. "javascript:show_the_page(#ADD#);" and included a javascript function within my app to handle this (read in PK and open a page in a new window with the PK as a variable)

  • Problem in activating Radio buttons and need to hit save button

    Hi Gurus,
    I added custom fields in CJ06,CJ07,CJ08 T-CODES. As per user requirement ,  I created radio button fields in sub screen  and user selects radio buttons FROM A1 TO A3  fields and also user wants to click "SAVE button"  in that subscreen, that fields data should store in database table.  Is there  any Note to implement for this and suggest me how to proceed further. 
    Thanks,
    Chiru.
    Edited by: chiranjeevi Rao on Apr 1, 2010 2:24 PM

    Hi Chandrasekhar,
    Can you explain, in detail.
    Inside the EXIT, EXIT_SAPLIMR0_001, I am writing logic to insert or modify the Z-Table for custom screen.
    Here, I need to make that SAP Updates ie Triggers the "SAVE" Button, so that the logic gets executed for updating the Z-Table.
    Motto: is to have single LUW or SAVE Button.
    Thanks.
    Vijayanand.
    Message was edited by:
            Vijayanand Annamalai

  • Radio buttons format - need to set buttons horizontal

    Hi,
    I have a two button radio group and the buttons are displayed vertically (one above the other). I need to display the buttons side by side (horizontally).
    How do I do this ?
    Thanks in anticipation.
    SD.

    Simon - Edit the radiogroup item, see the LOV region, click the item help on the Columns attribute:
    "Applies to radio groups and check boxes. Defines the number of columns to use to display the values defined in the List of Values. For example a value of 2 would display two columns of list of values entries. By default, all values display in one column."
    Maybe that's all you need.
    Scott

  • I need to reset, clear or deselect a group of radio buttons

    I haven't been able to find the answer to this: I have a quiz-like animation that uses a group of radio buttons, I need the group to reset, clear or deselect the previous selection after submitting the answer on each question, is that possible?
    Here is the code:
    stop();
    var messageBox:TextField = new TextField();
    messageBox.text = "";
    addChild(messageBox);
    messageBox.textColor = 0xFF0000;
    messageBox.width = 200;
    messageBox.height =100;
    messageBox.x = 450;
    messageBox.y = 340;
    var userAnswer:int;
    var rbg:Object = rbA.group;
    var finalScore:int;
    btnCheck.addEventListener(MouseEvent.CLICK, nextBtn);
    function nextBtn(evt:MouseEvent):void {
    userAnswer = int(rbg.selectedData);
                if(userAnswer == 0) {messageBox.text = "PLEASE SELECT AN OPTION";
    }else{
    finalScore = finalScore + userAnswer;
    messageBox.text = "";
    nextFrame();
    btnFinish.addEventListener(MouseEvent.CLICK, finishBtn);
    function finishBtn (evt:MouseEvent):void {
    userAnswer = int(rbg.selectedData);
    if(userAnswer == 0) {messageBox.text = "PLEASE SELECT AN OPTION";
    }else{
    finalScore = finalScore + userAnswer;
    if (finalScore > 13){ gotoAndStop(8);
    }else if (finalScore > 9){ gotoAndStop(7);
    }else if (finalScore > 4){ gotoAndStop(6);
    }else {}
    startOver.addEventListener(MouseEvent.CLICK, reStart);
    function reStart(evt:MouseEvent):void {
    gotoAndStop(1);
    finalScore = 0;

    I'm all ears on this one because I checked into this the first time I saw this posting back whenever and couldn't find the solution.  And now I built something that tries to make it happen, and it doesn't.  In the AS3 help docs it doesn't say gets or sets, whereas in the AS2 docs it goes on about doing such things with that property... so maybe they changed the compnent for AS3?
    Here's what I concocted building off a help docs example.  rb3 and rb4 are basically there just to reset rb1 and rb2:
    import fl.controls.RadioButton;
    import fl.controls.RadioButtonGroup;
    var rbg1:RadioButtonGroup = new RadioButtonGroup("group1");
    var rbg2:RadioButtonGroup = new RadioButtonGroup("group2");
    var rb1:RadioButton = new RadioButton();
    var rb2:RadioButton = new RadioButton();
    var rb3:RadioButton = new RadioButton();
    var rb4:RadioButton = new RadioButton();
    rb1.group = rbg1;
    rb2.group = rbg1;
    rb3.group = rbg2;
    rb4.group = rbg2;
    rb1.move(10,10);
    rb2.move(10,50);
    rb3.move(150,10);
    rb4.move(150,50);
    addChild(rb1);
    addChild(rb2);
    addChild(rb3);
    addChild(rb4);
    function resetGroup1(evt:MouseEvent){
    rbg1.selection.selected = false;
    rb1.selected = false;
    rb2.selected = false;
    rb3.addEventListener(MouseEvent.CLICK, resetGroup1);
    rb4.addEventListener(MouseEvent.CLICK, resetGroup1);
    I rarely use radio buttons components.  If I need them, I usually create my own using movieclips.  If you go this route then you'll be able to decide what they can do, you just need to create the functions for controlling their behavior as a group..

  • Report With Multiple Radio Button ,How to reset the values of when selected

    Reaching out to the experts here. I have a report which i created a radio group which saves the value rownum when the radio buton is selected to a hidden item based on an on click event. There are currently 3 radio button , i need to be able to "reset" the value of the other items when more than of the button are selected .I.E. There are 3 buttons, user clicks button one , but then decides they need to click button two , then realizes they really wanted to perform button 3 , I want to be able to "reset" the value of the 1st two hidden items so the only value populated is the 3rd hidden item. I am new to working with these features and scenarios so any and help would be appreciated.
    Here is the report
    SELECT APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN1'').value=' || ROWNUM|| '"') UPDATE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN2'').value=' || ROWNUM|| '"') DELETE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN3'').value=' || ROWNUM|| '"') SET_PRIMARY
    ,papf.first_name
    ,papf.last_name
    ,hl.meaning
    ,pp.phone_number
    ,case when phone_type is not null then (select meaning from hr_lookups where lookup_type ='PHONE_TYPE' and pp.phone_type=lookup_code)
    end as phone_type
    ,emrg.primary_contact_flag
    from hr.per_all_people_f papf
    ,apps.hr_lookups hl
    ,apps.per_contact_relationships pcr
    ,apps.per_phones pp
    ,(select contact_person_id,primary_contact_flag
    from apps.per_contact_relationships pcr
    where pcr.person_id = :P5_PERSON_ID
    and contact_type = 'EMRG') emrg
    where pcr.contact_person_id in emrg.contact_person_id
    and pcr.personal_flag='Y'
    and contact_type <> 'EMRG'
    and trunc(sysdate) between date_start and NVL(date_end,'31-DEC-4712')
    and pcr.contact_type = hl.lookup_code
    and hl.lookup_type='CONTACT'
    and pcr.contact_person_id = papf.person_id
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and pcr.contact_person_id = pp.parent_id
    and pp.phone_type in (select lookup_code from hr_lookups where lookup_type ='PHONE_TYPE')

    Related thread here How to Pass values from SQL Report into TEXT ITEM ?
    Regards,

  • Reg:usage of radio buttons

    Hi all
    where i need to display fields depending on selection of radio button.
    i am using three radio buttons when i select first radio button i need to display one view with some fields and  when i select sec it need to display different fields in the secview page ,can any one guide me how to reslove this task
    Thanks in advance
    Deepika
    Edited by: deepika_indian on Feb 12, 2011 1:20 PM

    Hi Deepika,
    1.Create 3 seperate views, create 3 transparent containers and create ViewUIelement container in every view and place it in TC.
    2 create a Action for click of ur radio button , in the OnAction property of ur radio button , switch to the next view
    for navigation , u do like this :
    1 Outbound Plug: Define outbound in ur initial view , tosec for ur 2nd view, to 3rd like that.
    2 create Inbound plug for ur destination views , suppose , fromfirst, form sec
    3 now in OnActionMethod of ur radio , based on your condition fire the plug
    wd_this->fire_tosec_plg( ) .
    Hope it might helps you...
    Thanks,
    Kris.
    Edited by: kissnas on Feb 14, 2011 6:19 AM

  • Cannot save checked radio buttons in pdf forms

    I am using form 1023 from the IRS which has a series of "yes" and "no" radio buttons that need to be checked. The problem is that each time I check my responses and save the pdf, it opens with my filled info still intact (i.e. my name, etc...), but none of the boxes are checked.
    Help, please?

    Sylvie617 wrote:
    I am using form 1023 from the IRS which has a series of "yes" and "no" radio buttons that need to be checked. The problem is that each time I check my responses and save the pdf, it opens with my filled info still intact (i.e. my name, etc...), but none of the boxes are checked.
    Welcome to Apple's discussion groups.
    If you're using Apple's Preview application, for this particular PDF file you might try the Adobe Reader application instead:
    http://get.adobe.com/reader/

  • Default Radio button

    Hi Guru's
    I have a standard selection screen. (PNP logical db)
    It has around 6 radio buttons
    I need to keep one of them as default.
    How can i do this?
    Maximum points will be awarded..
    Regards

    Hi,
    SELECT-OPTIONS : s_bukrs FOR ekko-bukrs OBLIGATORY MODIF ID m1.
    SELECT-OPTIONS : s_ebeln FOR ekko-ebeln OBLIGATORY MODIF ID m2 .
    PARAMETERS : r1 RADIOBUTTON GROUP g1 USER-COMMAND ucom DEFAULT 'X' .
    PARAMETERS : r2  RADIOBUTTON GROUP g1.
    ******If u want to select only the relevent field on clicking the radio button use the following
    AT SELECTION-SCREEN output.
      LOOP AT SCREEN.
        IF r1 = 'X' AND screen-group1 = 'M2'.
          screen-input = 0.
          MODIFY SCREEN.
          endif.
        IF r2 = 'X' AND screen-group1 = 'M1'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Reward if Helpful

  • Filter Panel with radio buttons

    Hi,
    We are currently using a filter panel, but it shows unfortunately check boxes. Since we want  only value to be selected, radio buttons are needed. Is there a way to achieve this (in a filter panel)?
    Cheers
    Eddy

    Hi Eddy,
    This seems to be a popular question today .  You may find the discussion in the post dimension filter - single value relevant.
    Regards,
    Mustafa.

  • Help with radio buttons in jsp

    I have a form with 6 radio button sets with each set containing three radio buttons. User can select different combination of the radio buttons.. Once the user is finshed selecting the radio buttons I need to pass a message to back end on the selection criteria. The format of the message is to put the same kind of radio buttons in together so say ....
    I have radio buttons like this ...
    N/A Verify NotVerify
    rb rb rb (set 1)
    rb rb rb (set 2)
    rb rb rb (set 3)
    rb rb rb (set 4)
    rb rb rb (set 5)
    rb rb rb (set 6)
    Not if they click verify for 1 and 3 sets and NotVerify for 2,4,6 and N/A for 5 then the String I need to pass to the back end should look like this.....
    ;set2, set4; set6 (set1, set3) i.e group together I type of selection ....
    any ideas how can I do it I will greatly appreciate it.
    Sorry I post it on the wrong message board before
    Thanks

    Okay, let's say you had this HTML code
    <tr>
    <td><radio name="set1" value="na">N/Z</td>
    <td><radio name="set1" value="verify">Verify</td>
    <td><radio name="set1" value="notverify">Not Verify</td>
    </tr>
    <tr>
    <td><radio name="set2" value="na">N/Z</td>
    <td><radio name="set2" value="verify">Verify</td>
    <td><radio name="set2" value="notverify">Not Verify</td>
    </tr>
    ... and so on.
    Why not create 3 vectors, one for each case, and add the necessary string to the vector (or whatever object you need in the backend).
    You could get use request.getParameterNames to get the names of all the sets, loop through that getting the values, and then check to see which it is and add to the vector. I would, thinking about it, use ints instead of strings as the value of the buttons, so you could actually use a switch statement to determine which vector add to. Not saying by any means this is the most effective way, but just one off the top of my head that might lead you in the right direction.

  • To Retrieve dynamic radio button values using jsp & javascript

    Hi All,
    How can i retrive the dynamically created radio button values and also want to get the clicked radio button values.I am using JSP and JAVA beans to retrive the values from the form. I dont have any probs to retrieve combo box values, text box values only problem showing with radio button values. If any data which is entered wrong in the form all the fields should prefills with the old value.Except radio button values all others fields such as combo box, text box values are prefilled with the old values.
    I have given the code for radios.
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'Y\'"/>Yes   ');
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'N\'"/>No');
    document.write('<input type="hidden" name="fcidis" value="">')
    <form method="POST" action="Update.jsp" name="sampleReq" >
    <tr>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='supplier'"/> supplier
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='customer'"/>customer
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='distributor'"/> distributor
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='employee'"/> employee
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='New partner'"/>New partner
    <input type="hidden" name="requester1" value=""/>
    </td>
    </tr>
    Advanced Thanks for help
    Regards
    Sona

    Hi,
    If you have this code
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'Y\'"/>Yes ');
    document.write('<input type="radio" name="distradio" OnClick="sampleReq.fcidis.value=\'N\'"/>No');
    document.write('<input type="hidden" name="fcidis" value="">')
    <form method="POST" action="Update.jsp" name="sampleReq" >
    <tr>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='supplier'"/> supplier
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='customer'"/>customer
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='distributor'"/> distributor
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='employee'"/> employee
    </td>
    <td class="Txt_gris">
    <input type="radio" name="requester" OnClick="sampleReq.requester1.value='New partner'"/>New partner
    <input type="hidden" name="requester1" value=""/>
    </td>
    </tr>
    this field distradio will not be able Update.jsp.
    You will need to insert these field into the form definition.
    Now, to get a valeu from a radio button, you need only to do request.getAttribute("fieldName").
    To generate dinamically all radio button values, i need to know where are these information? In database? If yes, you need to read the resultset na in value attribute you need to do somethink like this <input type=radio name=fieldName value="<%out.println(resultset.getString("FieldName"));%>">
    If you have more question, only send me a email,
    best regards
    Edney Imme
    [email protected]

  • Chaange font of radio buttons

    How can I change the font of the radio buttons, I need
    works in the web
    tahnks

    hi
    i found the way
    this is a example
    Set_Radio_Button_Property('ra_periodo','rb_ciclo',prompt_font_weight,font_BOLD);

  • Need help in case of radio buttons

    their are some text fields with radio button in one form and when i click on the radio button,the form should show some text feilds and click on another it should show some other feilds dynamically in javascript.

    their are some text fields with radio button in one
    form and when i click on the radio button,the form
    should show some text feilds and click on another it
    should show some other feilds dynamically in
    javascript.java is not javascript. you need to use the onClick property for the radio button to manipulate the display. that's the best i could hint right now. if you need more information, read some javascript tutorial. there are several available on the web.

  • Help needed in Radio buttons (ABAP web dynpro)

    Hi all,
    I need to implement 2 stand alone Radio buttons (not groupbykey or groupbyindex). I could add the same in my view layout, but I am not sure how to use the KeyToSelect and SelectedKey options. How do I control when the button is selected/deselected and how do I obtain this information from my context?
    Thanks in advance guys!
    -Shalini.

    hi shalini....
    create two attributes of type string for the two rado buttons and give two different default values for that. say a and b...
    bind the attribute to the property selected key...
    give the default value as the key to select in the property....
    or you can bind the same attribute to both the buttons and read the attribute to check which value has been selected...
    you can also go through wdr_test_events component.
    ---regards,
       alex b justin

Maybe you are looking for

  • Create user access report in OBIEE 11g

    Guy's , We have ldap configured and are adding users to application roles in EM to provide access to BI tool reports/dashboards . Is their a way to generate a report to show all the users who have access to BI tool along with the application roles th

  • Why are my photos different from originals in iPhoto 9.5.1?

    Hi I import photos from my iPhone 5S, if I then hit 'revert to original' in 'Edit' mode they look very different? Why is this? Is the iPhone or iPhoto adding certain qualities before I have done anything myself? I want to use the photos for a website

  • Update for Acrobat 9 Pro Extended and Catia V5 R22

    Hello ... We are using Adobe Acrobat 9 Pro Extended (now at version 9.5.4) at our company for converting CatPart-Files to 3dPDF ... Now we've got Catia V5 R22 (V5R62012) Files here and the converter can't read them ... Will there be an update and whe

  • Integrate Xcelsius Report in WebDynpro for ABAP

    Hi all, I would like to integrate Xcelsius reports into WD for ABAP. This shouldn't be a problem if using EHP1 in ERP backend. But what I would to do is to influence the report's behaviour. E.g. by clicking on a button I want the report to change. Is

  • FTP protocol in address field

    I am able to log into and obtain files from a web site by using this command in Firefox: ftp://[email protected]:[email protected]//[email protected]:[email protected] Can any one tell me how the same thing can be done using Safari?  As it stands, th