Check box disabling

hi ,
i have one requirement that , two check boxes are there if i check one check box then one parameter should come and another check box should be disable. i.e. should not give permission to check that. So how can i do please guide me.
thank you,
regards
raghu

Try this code:
Parameters:
  chk1 as checkbox user-command com,
  chk2 as checkbox,
  Char1(5) type c,
  char2(5) type c.
At selection-screen output.
  if chk1 eq 'X'.
    loop at screen.
      if screen-name CS 'CHK2'.
      screen-input = 0.
      modify screen.
      endif.
    endloop.
  elseif chk2 eq 'X'.
      loop at screen.
      if screen-name CS 'CHK1'.
      screen-input = 0.
      modify screen.
      endif.
    endloop.
  endif.
With luck,
Pritam.

Similar Messages

  • Why is my Hardware Accelerate Composition, Layer, and Footage Panels check box disabled

    Hello anyone!
    I have all the requirements to meet Adobe's standards for GPU requirements, but this check box (Hardware Accelerate Composition, Layer, and Footage Panels)[Edit>Preferences>Display] is disabled for me, why? Do I need to worry about this setting? Does it really matter? Any information on this topic would be helpful. Thanks in adavance for your feedback.
    GPU Information:
    Fast Draft:
    Available
    Texture Memory:
    924.00 MB
    Ray-tracing:
    GPU
    OpenGL
    Vendor:
    NVIDIA Corporation
    Device:
    GeForce GTX 470/PCIe/SSE2
    Version:
    3.0.0
    Total Memory:
    1.20 GB
    Shader Model:
    4.0 or later
    CUDA
    Driver Version:
    4.2
    Devices:
    1 (GeForce GTX 470)
    Current Usable Memory:
    608.00 MB (at application launch)
    Maximum Usable Memory:
    1.25 GB
    Computer:
    Windows 7 64bit SP1
    24GB MEM
    i7 intel
    Feature support levels
    There are three tiers or levels, from lowest to highest requirements, of support:
    Level 1: For OpenGL SwapBuffer:
    This level simply requires a GPU that can do OpenGL 1.5, or greater, with Shader Model 3.0, or greater. Most ATI and NVIDIA cards, and the Intel HD Graphics 3000 chipset (available in the MacBook Air, Mac Mini, various Windows machines, etc.) and 4000 (Windows only at this time) are supported. If your GPU does not support these requirements, software OS blitting like CS5.5 occurs, and there are improvements for software blitting in After Effects CS6, as well.
    Level 2: For Fast Draft previews, Hardware BlitPipe, and Cartoon GPU acceleration:
    Includes Level 1 features. This level requires OpenGL 2.0, or greater (with Shader Model 4.0, or greater, on Windows), and 256 MB, or greater, of texture memory. Most ATI and NVIDIA cards released in the past five years, plus the Intel HD Graphics 3000/4000, support this level.
    If your GPU does not support these requirements, these features will be disabled:
    Fast Draft mode
    The "Hardware Accelerate Composition, Layer, and Footage Panels" preference.
    The Cartoon effect's "Use OpenGL When Available" option (the Cartoon effect then runs on the CPU).
    Level 3: For Ray-traced 3D rendering on the GPU:
    Includes Level 1 & 2 features (for machines with attached monitors). This level requires a supported NVIDIA GPU and 512 MB, or greater, of texture memory. For a current list of supported GPUs, see the Adobe website.

    Well, you should be concerned that it isn't available  - there is still some configuration issue with your graphics card - but you can live without it most of the time.
    Mylenium

  • IPhone app synch check boxes disabled

    With the iPhone connected, in the Apps tab, the app icons refuse to appear next to the check boxes for adding/removing apps from the iPhone. I cannot check the check boxes! Any info appreciated.

    Thanks for asking that excellent question. I did check under the applications tab, & "selected applications" is checked. Also, the XM/Sirius is not checked. All take care of this right away, this might be the problem.
    Thanks for your help.

  • Activate Approval Procedures - check box Disable

    Hello experts,
    In General Setting - Activate Approval Procedures is Disable
    How can it ENABLE ????
    Dixit Patel

    Hi,
    Check by logging through SUPERUSER.
    You will be able to activate the checkbox.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Preventing disabling of check box - item okay in MIGO

    Dear all,
    In the MIGO transaction - during goods receipt for subcontractor material, when the item (incoming) is checked as item okay - automatically the child material (Material sent to subcontractor) is also activated thereby to enable 543 movement.
    Unfortunately some of the users are disabling the check box (for the material sent to the subcontractor). This prevents depletion of stock from the subcontractor but inflates the stock of the incoming material.
    Is there any way - either by authorisation check to prevent users disabling the check box or other methods?
    Experts suggestion is required in this regard.
    Thanks in advance.
    Regards,
    M.M

    Hi Magesh,
    it is possible. use Badi enhancement
    MB_MIGO_BADI goto
    IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    tell your abaper to put the logic like
    parent ID and subcomponent ID need to select
    if either of two is not selected
    then error message will prompt not to save the GR doc since subcomponent is unselected.
    reference field EKPO check PSTYP
    hope this help you.
    regards,
    Maia
    Edited by: Maia on Apr 18, 2008 3:07 PM

  • Disable Check box in tabular form

    Hi,
    I am working on apex4.1. I have created a tabular form.There is 2 columns Approve and Cancel. if I tick on cancel check box then Approve check box column should disable and vice versa.
    How can i do this ?
    Thanks & Regards
    Vedant

    hi,
    this thread maybe help you
    Tabular Form: Enable/Disable a field based on the status of a check box
    regards,

  • How to disable check box (row selector) in a tabular APEX report

    I have a tabular report with check boxes that gets populated by a SQL query.  For certain rows, I want to disable (or not render) the check box, depending on the value of one of the columns for that particular row (if the value of a column defined as Date is less than sysdate, I don't want to display the check box for that row).  I tried using the Conditional Display in the Column Attribute section of the check box, but I am unable to access this Date column which is being selected from a view in the source SQL.  I used variable such as :name-of_column, V(':name-of_column'), but always get a NULL value for this Date column in the SQL that I am trying to code in the Conditional Display section.  For this reason, my condition does not work correctly.
    What am I doing wrong?  Is my approach above correct?

    Hi Ajay,
    I don't think you can handle this with a conditional display, as that works on column level rather than row level.
    The way I see it, there are two things you can do:
    1) an sql approach, where youo render the checkbox as part of your query using apex_item.checkbox, check the oracle docs for detailed info on the usage APEX_ITEM
    You'll end up with a query like
    select case when YOUR_DATE_COLUMN < sysdate
                      then null
                      else  apex_item.checkbox2( p_idx => 1
                                                               , p_value => YOUR_DATE_COLUMN
    ,      <rest of your query here>
    from YOUR_TABLE
    2) an JavaScript approach in which you create a dynamic action that check your tabular form date column and, when necessary hides and disables the checkbox for that row.
    First option is more robust, but will require a bit more work. Second option is faster to develop, but might have different effect across various browsers and browser versions.
    Regads,
    Vincent
    http://vincentdeelen.blogspot.com

  • How to disable one check box when another is checked

    Hi, I'm a first time user.
    i am trying to make text fields appar and dissapaer when check boxes are ticked. but only alow one check box to be active at one time. 
    I am making a simple form in Acrobat pro 9,
    I have two check boxes Checkbox1 & Checkbox2.
    I have two text fields Textfield1 & Textfield2
    i have added actions to checkbox1 & checkbox2 to 'hide or show' the text fields.
    Action --> on focus (checkbox1) show/hide field (textfield1) is hide
    Action --> on focus (checkbox1) show/hide field (textfield2) is show
    oposite
    Action --> on focus (checkbox2) show/hide field (textfield2) is hide
    Action --> on focus (checkbox2) show/hide field (textfield1) is show
    problem 1 - how to disable checkbox1 when checkbox 2 is ticked.
    or disable checkbox2 when checkbox1 is ticked.  
    my other problem is that this action has the same effect for ticking or unticking the checkbox.
    thanks in advance to anyone who can help.
    can you please write your answer in simple terms. Basically this is the first time i have used acrobat pro so please dont assume any knowledge at all. thansk very much .

    First, I would experiment with just check boxes and learn their properties and how they can interact.
    Have you tried using the same name for 2 check boxes and assign a different "export value" to each check box.
    Have you looked at the values a check box or boxes have when checked or un-checked?
    Have you looked at how the various actions for a field work?

  • The "Without Qty Posting" check box appears disabled in A/P and A/R credit Memo Rows

    Dear All,
    The "Without Qty Posting" check box appears disabled in A/P and A/R credit Memo Rows even when set visible and active in the form settings. Please advice. SAP Business One version 8.82 PL 13
    regards
    Deb

    Hi,
    Please check:
    The field is available only in the following
    cases:
    1. A/R credit memos not based on other documents or
    2. A/R credit memos based on an A/R invoice or
    3. A/R credit memos based on an A/R reserve invoice, for which items have been delivered, and
    4. if non-drop-ship warehouses are used
    Thanks & Regards,
    Nagarajan

  • OM: Disable auto refresh check box in Quick Sales Order Form

    hi,everyone
    In screen [Quick Sales Order Form],
    we want to let the auto refresh check box always be checked and can not be updated with Form personalize.
    I didn't find the item in this form,
    and i konw that there is a value which defined in the Profile : [OM: Quick Sales Order Form: Auto Refresh](ONT_QUICK_OE_AUTO_REFRESH).
    Can anyone give me some suggestions?
    thx for ur help.

    hi,Pradeep
    Thanks for your reply.
    Actualy,the profile "OM: Quick Sales Order Form: Auto Refresh" has been setted into 'Line' firstly as we want to auto-refresh order lines.
    So the 'auto refesh' checkbox is checked with default value in the screen,
    but the order line would not be auto-refreshed when user uncheck the checkbox manually.
    So we want to disable or invisible the 'auto refesh' item in the screen with form personalize,
    the problem is i can not find the item or the block in the form.
    Or is there any suggestions to archive this?
    Can you please help me?
    Thanks,
    Leno
    Edited by: Leno Sun on 2013/05/07 19:35

  • Disable check box in report

    Hi All,
    I have created check box in a report using APEX_ITEM.CHECKBOX
    select apex_item.checkbox(1, emp_id) , emp_id,ename,manager,skills,salary,services from employee
    In employee table each employee would have 2 records one is for Engineering and another for Research services.
    If the user selects one of the records using the check box ,lets say engineering service for emp_id 100, corresponding Research service record for the employee 100 should be disabled( or the check box in the Research service record should be disabled) and on the other hand it should be enabled when the user unselects it.
    Please help me to resolve this.
    Application Express 4.1.1.00.23
    Glass-fish server
    Thanks and Regards,
    Sasi

    This is from one of my examples:
    SELECT apex_item.checkbox (1,
                               '#ROWNUM#',
                               CASE
                                  WHEN status = 'N'
                                     THEN 'disabled=disabled;'
                                  ELSE NULL
                               END,
                               DECODE (status, 'Y', '#ROWNUM#'),
                               'f01_' || '#ROWNUM#'
                              ) check_box
      FROM employees_checkboxIt will show the checkboxes disabled if status is 'N' and enabled if stauts is 'Y'. Is this similar to your requirement?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Disable Create Serial No. automatically Check box in MIGO

    Hi,
    I have a problem where in I need to disable Create Serial No. automatically check box in MIGO while posting GRN. And I could not do anything with the profile of the serial nr in t-code OIS2.
    You can give me some information that help in this question.
    Thanks in advance.
    Ramesh

    Hi,
      Thanks for ur answer Sheshu.
      Sorry for the delay.
      I have created screen variant for that Serial number tab sub screen and assigned Output only option for that check box. Thn i created a transaction variant and assigned that Screen variant to it. At last i assigned and activated that Transaction variant to Standard Variant of MIGO. All these are done in SHD0 tcode.

  • Disabling Check box via SPEL

    I have a requirement where in a Message Check Box needs to be disabled. When navigated to this page the checkbox is already set.
    a. Can this be achived via Personalization?
    b. I have set the item's Required property to SPEL with the following value ${oa.AppraisalVO.disableCheckBox} but it errors?
    Please help!
    Thanks,
    Hari

    Set FND: Diagnostics profile to yes to get the complete error stack.
    --Shiv                                                                                                                                                                                   

  • Disabling a Check box

    In my BSP View am using two check box.
    I want to disable one check box when the other one gets checked and vice versa.
    Right now am doing with some logics and with server side events.I want to do this in the client side.
    In <b>Java script</b> how i can code this in my BSP page where the checkbox is created with the help of htmlb.
    Kindly help me in this regards.

    Hi,
    put this in your documentHead:
    <script language="javascript">
         function uncheckyes(){
          document.form_id.yes.disabled='TRUE';
          </script>
    <script language="javascript">
         function uncheckno(){
          document.form_id.no.disabled='TRUE';
          </script>
    and this in your layout (documentBody):
           <htmlb:checkboxGroup columnCount = "2"
                                         id          = "expense" >
                      <htmlb:checkbox text          = "Yes"
                                      id            = "yes"
                                      onClientClick = "javascript:uncheckno()" >
                      </htmlb:checkbox>
                      <htmlb:checkbox text          = "no"
                                      id            = "no"
                                      onClientClick = "javascript:uncheckyes()" >
                      </htmlb:checkbox>
                    </htmlb:checkboxGroup>
    grtz
    Koen

  • Using Javascript to disable a check box

    Friends,
    I am stuck on what should be a simple requirement and I am hoping you can help.
    I need to disable a form region checkbox if a field on the same form region has anything entered.
    What I have done so far is:
    1) On the item that determines whether the check box should be disabled I have added a call to my Javascript function "onChange="disableDefaultDisplay();" in the "HTML Form Element Attributes"
    2) My javascript funcion is: (this is the basic version, all I am trying to do is disable the check box at this point)
    function disableDefaultDisplay()
    alert("Start of the function");
    var defaultDisplay = document.getElementById("P13_DEFAULT_DISPLAY");
    *defaultDisplay.enabled = false;*
    alert("End of the function");
    Using a combination of firebug and the alert messages I can see that function is called at the correct time (i.e. when the user changes and then leaves the field) and that the values of the variable, defaultDate are set but my attempts to disable the checkbox have yet to work!
    When I look at the type of the checkbox (through the source of the page or firebug) I see the checkbox has the following "fieldset#P13_DEFAULT_DISPLAY.checkbox_group" Do I need to do anything different to disable this type of object?
    Any help would be very much appreciated!

    Hi Andy,
    I was returning to this thread to update it with how I resolved it, so thanks for the detailed response.
    In a nutshell, the solution I used was a loop through the field set(of which there is only one item in it) and disabling it.
    Where you say:
    Secondly, checkboxes are, as you have seen, wrapped within a fieldset tag. The fieldset tag has an ID of the page item name. Each checkbox within that tag has its own ID value, which will be the fieldset ID plus "_n" (where n is a sequential number starting from 0) - thus, the first checkbox will be, for example, "P1_CHECKBOX_0", the second will be "P1_CHECKBOX_1" and so on.From my searching for a solution I had expected to see something like that. But the source for the item I was trying to disable is shown below and I can't see any numbers after it.
    Do you know why? Is it because it is the only item?
    &lt;fieldset id="P13_DEFAULT_DISPLAY" class="checkbox_group"&gt;
    &lt;input type="checkbox" name="p_v18" value="Y" id="P13_DEFAULT_DISPLAY" /&gt;&lt;/fieldset&gt;
    Regards
    Ian
    Edited by: IanC2 on Feb 8, 2009 8:07 PM
    Edited by: IanC2 on Feb 8, 2009 8:08 PM

Maybe you are looking for

  • SPOOL Not generated in SUBMIT background job

    Hi All, I am submiting a report program using SUBMIT keyword. I required SPOOL. But its not generating. Can anyone kindly let me know whts wrong in my code? CALL FUNCTION 'GET_PRINT_PARAMETERS'   EXPORTING     LAYOUT                 = 'X_65_132'    

  • Pl/sql boolean expression short circuit behavior and the 10g optimizer

    Oracle documents that a PL/SQL IF condition such as IF p OR q will always short circuit if p is TRUE. The documents confirm that this is also true for CASE and for COALESCE and DECODE (although DECODE is not available in PL/SQL). Charles Wetherell, i

  • Windows Word License for Mac Windows

    Will my Office for windows license work for office on mac? I don't think it will, but I was just checking.

  • A to Z playlists

    how can find and use the alphabetical listings for playlists in itunes 7? I saw it in the Q.T. appplecast from S.F.

  • Modbus demo box website images do not load

    the images on the website http://digital.ni.com/public.nsf/allkb/A9C037C838B​203FA86256A180078BE15 for the question "How do I communicate with the Modbus Demo Box" do not load.  In fact they are pointing to a url which begins with ae.natinst.com whic