Selection screen change with check box and radio buttons

hi frieds
i have an requirement that
there is a check box in the selection screen and bydefault it has been check if it check the selection box shuld be disable
if it uncheck the check box then selection block should enabled and in that againg two radion buttons are there. Bydefualt one radio button is enabled so that correspondng parameter is allow to enter input data. if i select the othere radio button the immeditely it allow the correpnding field entry and other radio button should be disabled with that field.
please send the piece of code...
regards
vijay

Hi,
Use the event AT SELECTION-SCREEN OUTPUT.
Here is an example:
at selection-screen output.
  if gv_ucomm = 'RG1'.
    loop at screen.
      if pa_rgor = 'X'.
        if screen-name+7(1) = '2' or
           screen-name+7(1) = '1'.
          screen-input = 0.
        endif.
      endif.
      if pa_rgof = 'X'.
        if screen-name+7(1) = '1' or
           screen-name+7(1) = '3'.
          screen-input = 0.
        endif.
      endif.
      if pa_rgaa = 'X'.
        if screen-name+7(1) = '2' or
           screen-name+7(1) = '3'.
          screen-input = 0.
        endif.
      endif.
      modify screen.
    endloop.
  endif.

Similar Messages

  • Problem getting check boxes and radio button to click with applescript

    This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12
    key code 125
    key code 125
    key code 124
    key code 125
    key code 125
    key code 36
    delay 1
    end tell
    tell window "Variable Links"
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell

    Hi craneium and welcome
    For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
    where is the window "Variable Links, may be I can help.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12 --opens spotlight search in help
    key code 125 -- highlights indesign help
    key code 125 -- highlights welcome screen
    key code 124 -- goes to apple
    key code 125 -- goes to about this computer
    key code 125 -- highlights software update
    key code 36 -- starts software update
    delay 1 -- ?
    end tell
    tell window "Variable Links" -- error cant get window variable links
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell
    Budgie

  • How to put Check Boxes and Radio button in Smartforms

    Hi all,
    How to put check Box and radio button in Smartforms ............ from web properties there is an option to use. But How to use.     
    regards,
    Mohsin

    u can declare the checkboxes or radiobuttons whatever in driver program and pass the same to ur form...

  • When I click the iCloud button I get a browser with check boxes, not slider buttons and it does not have a "backup and storage" button.  So I cannot set up backup.

    When I open my iCloud browser it looks different than "normal." It shows the list with check boxes, not slider on-off buttons.  It dos not show a "storage and backup" button so I cannot set up my backup. What is wrong?

    If see something like the image below it's because you are looking at the iCloud settings on your Mac, not on an iOS device (which has sliders).  Storage & Backup isn't in the Mac settings because you cannot back up your Mac to iCloud.  Only iOS devices can back up to iCloud.  On a Mac, you can get information about your iCloud account storage by looking at the green usage bar at the bottom and by clicking the "Manage..." button on the bottom right.

  • ALV with check boxs and buttons

    Hi guys,
    It's been a while since last time I used ALV and its options.
    I have a requirement to show many records in ALV format. each record starts with a check box, user can choose which record by checking each and click on a button to merge them (those record contain text). Everything should show up on ALV screen. Any idea what how should I do that??
    I think I should use screen painter but I have no idea how to implement that...
    Thanks,

    Hi Ben,
    Here is the code as per ur requirement ..
    just go through this....i hope u will get some help...
    REPORT zashu_alv_in_popup_mara.
    TYPE-POOLS : slis.
    *Data Declaration
    DATA:i_repid LIKE sy-repid.
         i_repid = sy-repid.
    Declaration for ALV
    DATA: wa_fcat TYPE slis_fieldcat_alv,
          fcat TYPE slis_t_fieldcat_alv,
          wa_fcat1 TYPE slis_fieldcat_alv,
          fcat1 TYPE slis_t_fieldcat_alv.
    *Types Declaration
    TYPES:BEGIN OF ty_mat,
           matnr TYPE mara-matnr,
           checkbox(1),
          END OF ty_mat.
    TYPES:BEGIN OF ty_makt,
           matnr TYPE mara-matnr,
           maktg  TYPE makt-maktg,
           maktx  TYPE makt-maktx,
          END OF ty_makt.
    *Internal table Declaration
    DATA:it_mat TYPE TABLE OF ty_mat WITH HEADER LINE.
    DATA:it_makt TYPE TABLE OF ty_makt WITH HEADER LINE.
    *Range Declaration
    RANGES : r_matnr FOR mara-matnr.
    *Start of Selecdtion
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM display_data.
      PERFORM display_alv.
         Form  get_data
    FORM get_data.
    Read material from MARA
      SELECT matnr FROM mara INTO TABLE it_mat.
    ENDFORM.                               " GET_DATA
         Form  display_data
    FORM display_data.
      wa_fcat-row_pos   = '1'.
      wa_fcat-col_pos   = '1'.
      wa_fcat-fieldname = 'CHECKBOX'.
      wa_fcat-tabname   = 'IT_MAT'.
      wa_fcat-seltext_m = 'SELECT'.
      APPEND wa_fcat TO fcat.
      CLEAR wa_fcat.
      wa_fcat-row_pos   = '1'.
      wa_fcat-col_pos   = '2'.
      wa_fcat-fieldname = 'MATNR'.
      wa_fcat-tabname   = 'IT_MAT'.
      wa_fcat-seltext_m = 'MATERIAL'.
      wa_fcat-outputlen = 50.
      APPEND wa_fcat TO fcat.
    Display data in a POPUP
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                i_selection          = 'X'
                i_zebra              = 'X'
                it_fieldcat          = fcat
                i_tabname            = 'IT_MAT'
                 i_checkbox_fieldname = 'CHECKBOX'
           TABLES
                t_outtab             = it_mat.
    IF NOT it_mat[] IS INITIAL.
    LOOP AT it_mat  WHERE checkbox = 'X'.
            r_matnr-sign = 'I'.
            r_matnr-option = 'EQ'.
            r_matnr-low = it_mat-matnr.
            r_matnr-high = ' '  .
            APPEND r_matnr.
            CLEAR r_matnr.
          ENDLOOP.
        ENDIF.
    select matnr maktx maktg from makt  into table it_makt where matnr in
    r_matnr.
    ENDFORM.                               " DISPLAY_DATA
    *&      Form  DISPLAY_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv .
    *ALV Display in a POPUP window
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '1'.
      wa_fcat1-fieldname = 'MATNR'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'Material No'.
      APPEND wa_fcat1 TO fcat1.
      CLEAR wa_fcat.
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '2'.
      wa_fcat1-fieldname = 'MAKTX'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'DESCRIPTION'.
      APPEND wa_fcat1 TO fcat1.
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '3'.
      wa_fcat1-fieldname = 'MAKTG'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'GROUP'.
      APPEND wa_fcat1 TO fcat1.
      CLEAR wa_fcat1.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = i_repid
         i_grid_title                      = 'Material Description'
         it_fieldcat                       = fcat1
      I_SCREEN_START_COLUMN             = 30
      I_SCREEN_START_LINE               = 10
      I_SCREEN_END_COLUMN               = 70
      I_SCREEN_END_LINE                 = 30
        TABLES
          t_outtab                        = it_makt
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    Thanks & Regards
    Ashu SIngh

  • Using screen reader with check boxes.

    Hello All,
    I have a check box on a form.  Upon tabbing to the check box the custom text is read by the screen reader.  The custom text provides an explanation of the field as well as the current state (unchecked).  Is there a way to have the screen reader announce the state of the check box upon changing from unchecked to checked?
    If this required scripting or the use of alternate text, an example or explanation would be greatly appreciated.
    Thanks,
    Jelf12

    Jelf12,
    You should be careful about providing too much information in the CSRT, I usually recommend that people just rely on the caption text for checkboxes -- if the information is sufficient for sighted users, then in combination with the information provided to the assistive technology via our accessibility API in Adobe Reader the information should be sufficient for non-sighted users.
    For example, if you have a checkbox that has a caption that is "Please send me information about new offers", that would be fine for screen reader users because when they land on the checkbox they will hear "please send me information about new offers, checkbox checked" and if they uncheck it (you can assume that how to toggle a checkbox is common knowledge so don't need to convey this information) they will hear "Unchecked".  If the user tabs away and tabs back they will hear the full explanation again, except with the changed state reported.
    It is tempting to overdo it, but for most checkboxes all you need to do is make sure that the screen reader precedence is set to "Caption" and move on.
    AWK

  • Check box or radio button to control image opacity and text field. javascript

    This is a little over head and skill set so I am reaching out to you fine people.
    I am using Adobe acrobat pro x
    I have radio buttons now but I can switch to check box if needed.
    What I need the Java script to do is...
    If Yes is checked then a text field labeled comments appears and an image labeled box changes the opacity to 100%.
    If No is checked then it does the opposite. Text field disappears and image goes to 0% opacity.

    This is the Adobe Reader forum.  You are more likely to receive a helpful answer if you ask in the appropriate Acrobat forum (e.g. Acrobat SDK).

  • Query :Chek box and radio buttons in smartforms

    Hi ,
    When we go to web properties in text . Thierwe find the entries the field name and dropp down down list with text , radiobutton , chek box Etc . .  I have tried to use it but it is not displaying any such radio button or chek box in smartform output .
    If somebody has used it before please tell me  how to use those things .
    Regards

    Hi,
    Ya so please go web properties of text field here u can find check box,
    radio button , hidden fields all the stuff u can use that one.
    Rewards points if it is useful.

  • Check boxes and ok button and displayed results, oh my!

    In a forms page, I have a report.
    I like to put check boxes next to the rows.
    Then when I click on an OK button it will display what I checked off, possibly on this same page.
    How do I create this concerted effect?

    Apex_item.checkbox will let you manually create check box. If it's a tabular form, you can add a row selector.
    e.g
    SELECT APEX_ITEM.CHECKBOX (30,
    NULL,
    NULL,
    'F30_' || LPAD (ROWNUM, 4, '0')
    )delete_checkbox FROM DUAL;
    You can only see the values where items are checked. So you may want to develop some logic to find out rows where items are not checked. Something similar to this
    FOR this IN 1 .. apex_application.g_f30.COUNT
    loop
    display(these values are checked);
    end loop;
    rest of the rows are unchecked.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Show data in grouping with check boxes.

    Hi Experts,
    I am new to ADF and want to resolve one issue for my urgent project requirement.
    My Problem is :
    In Employee, Department relationship i need to show data in a grouping of departments like for Marketing department all the related employees should come in a single column.
    eg .
    Dept Name Emp Name
    Marketing Akshay Nitin Ritu
    Sales Neeraj Vikas Venu
    * All these department names and employees should come with check boxes and if i select one department all the employees should be checked.
    Please Please suggest any solution asap.
    Many Thanks in Advance.
    Regards,
    Nitin
    Edited by: user10980736 on Feb 7, 2011 8:32 AM

    hi,
    You can create two value nodes for storing these collections. The first one would be singleton node as it is the main list. Under that create the second node with singleton = false.
    e.g.
    ---NodeA
        --attrA1
        --attrA2
        --NodeB(singleton = false)
                --attrB1
                --attrB2
    Now populate collection of object A in NodeA and after adding element in NodeA populate respective elements in NodeB.
    IPrivate<View>View.INodeANode nodeA = wdContext.NodeAnode();
    for (Iterator  it = collectionA.iterator(); it.hasNext(); )
         ObjectA objA= it.next();
         IPrivate<View>View.INodeAElement nodeAElem= nodeA.createNodeAElement();
         wdCopyservice.copy Corresponding(objA,nodeAElem);
         nodeA.addElement(nodeAElem);
         Collection collectioB =objA.getCollectionB();
         for (Iterator  it1 = collectionB.iterator(); it1.hasNext(); )
             ObjectB objB= it1.next();
            IPrivate<View>View.INodeBNode nodeB = nodeAElem.nodeBnode();
            IPrivate<View>View.INodeAElement nodeBElem= nodeB.createNodeBElement();
            wdCopyservice.copy Corresponding(objB,nodeBElem);
            nodeB.addElement(nodeBElem);
    Bind NodeA to the first table and NodeB to second one.
    After that when you select record in first table automatically its corresponding records will be populated in second table.
    Hope this helps!
    Monalisa

  • Only one check box or radio box

    I'm sorry i can't find this answer anywhere.
    If i want to ask a question in a form and provide two oppositie responses (Yes or No) using check boxes or radio buttons, how exactly do I do that? I saw various people referring to 'java' i have no idea where to put that or what java is required. I need specific answers please? Obviously in this case i need only one of the check boxes or radio buttons to be selected, i can't allow both to be selected.
    Your assistance is greatly appreciated

    Why use a checkbox?  Put radiobuttons on the form, you can set the button style to checkmark and they will be mutually exclusive.

  • Help getting a form with check box capabilities?

    Hi all,
    I built a new site using Muse, which I am very happy with so far, but I am finding the forms a bit limiting. The previous website, which I am replacing with the new muse site, was built using Dreamweaver. The old site had a form with check boxes and it pointed to a PHP directory. Is there a way to acheive the same results in Muse? Either a form widget update (without having to use BC), or a simple way to configure Muse to interact with my PHP directory? I'm not a coder, but I can manage some light work.
    Any help would be greatly appreciated.
    Thanks!

    Thanks Morgan! Jotform is in the realm of possiblities; however, the company the site is for has a very strict privacy policy, which might be a concern when looking at free form builders. I should have mentioned that before.
    I beleive the best way to acheive what I'm trying to do is by linking the existing PHP directory to the new Muse site. The existing form built in Dreamweaver works fine, I just need to get the same form to work in Muse. Is there a way to do that?

  • Popup screen with two check box and a text area for the user to enter value

    hi,
    i have a requirement when a button is clicked a popup screen should appear with two check box and a text box where the user can enter a value.
    is there any function module which has that functionality

    Hello,
    You can create a new screen and select the screen type as <b>model dialog box</b>.This will give you a<b> pop-up screen</b> and you can call this model dialog box screen in the PAI of the screen where the button is present.(At user-command).
    <b>case ok_code.
    when 'BUTTON'.
    call screen 200 starting at 10 10.</b>
    You can design the PBO of this pop-up screen as per your needs.
    Regards,
    Beejal
    **Reward if this helps.

  • All my check boxes and selection circles have disappeared. Uninstalled FF and reinstalled deleting all plug-ins, settings, and etc. IE works fine. What's messing with my boxes?

    With recent update, all my check boxes and selection circles have disappeared. I tried to uninstall FF, reinstall, but nothing fixed it. When I run safe-mode, it's fine, but then no youtube or other internet fun stuff. Tried to update plug-ins but still all jacked up. any ideas? also, my side scroll bar screws up too.

    Do you mean Firefox safe mode or Windows Safe mode?
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    If you mean Windows Safe-mode then check your security software.

  • How to change the check box with the push button in itrator table rows

    Hi all,
    I want to change the check box of the itrator table rows with push button/ some thing better as to give
    the table view more good look and user friendly.
    Does any one has tried any other option in table view in place of check box
    Thanks
    Bhagat

    There are various objects which you can create via iterators. Please see the application SBSPEXT_TABLE for more details.
    DATA: lo_text      TYPE REF TO cl_htmlb_textview,
            lo_ddlb      TYPE REF TO cl_htmlb_dropdownlistbox,
            lo_input     TYPE REF TO cl_htmlb_inputfield,
            lo_button    TYPE REF TO cl_htmlb_button,
            lo_chk_bx    TYPE REF TO cl_htmlb_checkbox.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'EFF_DATE'. " Input field
          CREATE OBJECT lo_input.
          lo_input->id       = p_cell_id.
          lo_input->type     = 'DATE'.
          lo_input->showhelp = 'TRUE'.
          lo_input->width    = '60'.
          lo_input->invalid  = 'true'.
          p_class            = `ao`.
          lo_input->value     = get_column_value( p_column_key ).
          p_replacement_bee = lo_input.
        WHEN   'NEW_LOC'. " Drop down list box
          CREATE OBJECT lo_ddlb.
          GET REFERENCE OF gt_persa INTO lo_ddlb->table.
          lo_ddlb->id                =  p_cell_id.
          lo_ddlb->nameofkeycolumn   = 'NAME'.
          lo_ddlb->nameofvaluecolumn = 'VALUE'.
          lo_ddlb->selection         = get_column_value( p_column_key ).
          lo_ddlb->selection  = 'DUMMY'.
          p_replacement_bee          = lo_ddlb.
        WHEN 'MON' . " Check box
          CREATE OBJECT lo_chk_bx.
          lo_chk_bx->id = p_cell_id.
          lo_chk_bx->checked =  get_column_value( p_column_key ).
          p_replacement_bee  = lo_chk_bx.
        WHEN 'NEW_MGR_SRCH'. " Button
          CREATE OBJECT lo_button.
          lo_button->id            = p_cell_id.
          lo_button->text          = 'Search Mgr'.
          lo_button->onclientclick = 'script'.
          p_replacement_bee = lo_button.
        WHEN OTHERS. " Text
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          lo_text->textcolor = 'POSITIVE'.
          p_replacement_bee = lo_text.
      ENDCASE.
    Thanks
    A

Maybe you are looking for

  • Can't open my project file???????

    So I was working all day yesterday on a project and now this mornign when I wake up I go to open my project file and all it says is "Can't open 'Mel's Spec'" ... Mel's Spec" being the file name. I get another error that says: An Unexpected problem CN

  • How to order a varchar2-field by click on a report column?

    Hello, I have a report an a table. One varchar2-column (name of the column is VORGANGSKENNUNG) in this table stores data in this format: xxx/yyyy where xxx is a ID from 1 until e.g. 140 and yyyy is the year (2007, 2006, 2005...). The first entry in a

  • Turkish character set problem in Windows

    Hi; I am developing an application in VB.net 2005 using an oracle database on the Linux server. I have Oracle Client installed on my windows machine. I installed ODT.NET and ODP.Net by executing ODTwithODAC10202.exe on the client side. I am using Tur

  • Attempt to access invalid address error

    Been using PSE 5.0 for years with no problems, then all of a sudden, when I try and open it I get the following error:  attempt to access i nvalid address I cannot open my PSE 5 now - suspect it is because of MS Vista auto upgrade?  Any solutions or

  • Function module of the permissions tab in RFx

    Hi, Can any one let me know the function module or the table where the data gets stored for the activites which are performed in the permissions tab in RFx. Sunil