Non editable check box

Hello all,
I have a check box on my selection screen defined as below:
PARAMETERS show_all AS CHECKBOX
I want to make this check box as non editable.
i.e the user should not be allowed to uncheck the flag.
Any idea??

Hi,
Use the concept of loop at screen and use:
parameters chk as checkbox modif id abc.
at selection-screen output.
loop at screen.
  if screen-group1 = 'ABC'.
    screen-input = 0.
  endif.
  modify screen.
endloop.
This will disable the checkbox.
Hope this helps you.
Regards,
Tarun

Similar Messages

  • GR non valuated check box in PO

    Dear All,
    Our client has created a PO for Asset (Acct Assignment A) and Multiple acct assignment given in item detail.
    After making GRN found that Accounting entry is not there.
    When checked in PO GR-non valuated check box is checked.
    After cancelling GRN and try to save the PO,again tick appears automatically.
    When i check the Account assignment in SPRO, GR non valuated check box is not checked.
    How to remove  GR non valuated tick in PO?
    Regards

    Venkat,
    I wrote the same issue to SAP and sap has confirmed that system will not generate the accounting documents at the time of MIGO for multiple account assignment.
    Incase of multiple account assignment category, the Cost proportion will not be appearing at the time of MIGO. It will get updated only at the time of Invoice verification.
    Just post the MIRO and then compare the account document at the time of MIRO with the single account assignment and multiple acc.assignmnet PO.Hope it will help.
    If you want i can forward that response from SAP to u.
    Edited by: Manish Kumar Agarwal on Jun 16, 2009 2:02 PM

  • "GR Non-Valuated" check box in Goods Recipt tab

    How "GR Non-Valuated" check box in Goods Recipt tab of production order gets activated.
    I have a ticket wherein the customer does not want this check mark to be checked but it is checked automatically
    Please help understand the logic behind it and advice to stop this from happenning.
    Thanks,
    Ganesh

    Dear,
    Production order settlement in case of sales order is derived based on the sales order account assignment defination, In this case it appears they have gone for Non-Valuated Sales order stock. Are you using the Make to Order production with Strategy 20 or 25 then it comes under the non-valuated customer order stock.
    Please refer this link,
    GR done as Non Valuated Goods Receipt
    Regards,
    R.Brahmankar

  • How to set Non -Veteran Check box in INFOTYPE 77 by default

    Hi,
    I have a business requirement where i need to set NON-VETERAN checkbox for all the NEW HIRE employees in infotype 77.  I written my code in userexit ZXPADU01 but it is not working.
    Appreciate your help!
    Thanks,
    -Suresh

    Hi,
    Write a dynamic action for it at IT0001.
    Regards,
    Amit
    Reward all helpful replies.
    Yeah that will be the optimal solution for this one if IT0077 is included in infogroup Hire/Initial Hire.
    Otheriwse if you want to put it as an individual maintenance then you have to add it in the MP007700 program.
    Message was edited by:
            Amit Khare

  • Coloum check box  true with non editable.

    i want  that a check box in coloum  is true  with non editable  ...    look at   *****  in como select event.
    is it possible ..
    '// Add a column for  check  Cut value or not
            oColumn = oColumns.Add("chose", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oColumn.TitleObject.Caption = "CHECK"
            oColumn.Width = 50
            oColumn.Editable = False
            ' oColumn.Visible = False
            oColumn.DataBind.SetBound(True, "@DOCHECK", "U_check")
    If (pVal.ItemUID = "Mat1") And (pVal.ColUID = "DOno") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False) Then
                oForm = SBO_Application.Forms.Item(FormUID)
                Dim oEdit As SAPbouiCOM.EditText
                Dim oCombo1 As SAPbouiCOM.ComboBox
                Dim qstr As String
                Dim sval As String
                Try
                    oItem = oForm.Items.Item("Mat1") '''''' Matrix
                    oMatrix = oItem.Specific
                    oCheckBox = oMatrix.Columns.Item(5).Cells.Item(pVal.Row).Specific
                    oColumns = oMatrix.Columns
                    colDONO = oColumns.Item("DOno")   '''''' Delivery order no
                    oCombo1 = colDONO.Cells.Item(pVal.Row).Specific
                    sval = Trim(oCombo1.Selected.Value)
                    rs = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    qstr = "select U_DoDate ,U_Oqty,U_Bqty from [@DOMAST] where  code = '" & sval & "'"
                    rs.DoQuery(qstr)
                    rs.MoveFirst()
                    '''''''''''''''''''''''''''''   value   come from  from test master
                    If Not (rs.EoF) Then
                        'Do While Not (rs.EoF) = False
                        oEdit = oColumns.Item("DOdt").Cells.Item(pVal.Row).Specific
                        oEdit.String = Format(rs.Fields.Item("U_DoDate").Value, "ddMMyy")  ''''''delivery date
                        oColumns.Item("Oqty").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Oqty").Value  ''''' Orginal quantity
                        oColumns.Item("Rqtval").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Bqty").Value ''''' Balance quantity 
                        oCheckBox.Checked = True   ........ i want        it will be true but  non editable ?????*****
             oMatrix.Columns.Item(5).editable=False           
    '''''''''''''  then it will be  non editable that means  edittable  false.  when i put
    oMatrix.Columns.Item(5).editable=False  then check box is not true
    rs.MoveNext()
                    End If
                    oColumns.Item(0).Cells.Item(pVal.Row).Click()
                    oMatrix.clearSelection()
                Catch ex As Exception
                End Try
            End If

    thanks for reply.
    when i am  select some value from combox in matrix there is a coloum  in check box .
    my check box is true. ok its working .
    when i set coloum. editable =false
    then check box is not true.
    If (pVal.ItemUID = "Mat1") And (pVal.ColUID = "DOno") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False) Then
                oForm = SBO_Application.Forms.Item(FormUID)
                Dim oEdit As SAPbouiCOM.EditText
                Dim oCombo1 As SAPbouiCOM.ComboBox
                Dim qstr As String
                Dim sval As String
                Try
                    oItem = oForm.Items.Item("Mat1") '''''' Matrix
                    oMatrix = oItem.Specific
                    oCheckBox = oMatrix.Columns.Item(5).Cells.Item(pVal.Row).Specific
                    oColumns = oMatrix.Columns
                    colDONO = oColumns.Item("DOno")   '''''' Delivery order no
                    oCombo1 = colDONO.Cells.Item(pVal.Row).Specific
                    sval = Trim(oCombo1.Selected.Value)
                    rs = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    qstr = "select U_DoDate ,U_Oqty,U_Bqty from [@DOMAST] where  code = '" & sval & "'"
                    rs.DoQuery(qstr)
                    rs.MoveFirst()
                    '''''''''''''''''''''''''''''   value   come from  from test master
                    If Not (rs.EoF) Then
                        'Do While Not (rs.EoF) = False
                        oEdit = oColumns.Item("DOdt").Cells.Item(pVal.Row).Specific
                        oEdit.String = Format(rs.Fields.Item("U_DoDate").Value, "ddMMyy")  ''''''delivery date
                        oColumns.Item("Oqty").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Oqty").Value  ''''' Orginal quantity
                        oColumns.Item("Rqtval").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Bqty").Value ''''' Balance quantity 
                                           oCheckBox.Checked = True
                        rs.MoveNext()
                    End If
                    oColumns.Item(0).Cells.Item(pVal.Row).Click()
                    oMatrix.clearSelection()
                Catch ex As Exception
                End Try
            End If

  • Setting check box (in detail block) as (non) updatable...

    Hi,
    I have a master-detail form. The form does execute a query when it opens. Now, according to a condition i want to do the check box(in detail block) as non- updatable.
    I have tried to write the appropriate code in:
    WHEN-NEW-RECORD-INSTANCE(in the master block level)
    WHEN-NEW-ITEM-INSTANCE (in the detail block level)
    POST-QUERY(in the detail block level)
    but it does not work 'perfectly'. I mean that in most cases even one of the above triggers does not execute (for example the 'WHEN-NEW-RECORD-INSTANCE' but only after i click on this new record instance. I mean that after this on this new record the condition is estimated....)
    or
    it does execute but after i click on the checkbox (for example the 'WHEN-NEW-ITEM-INSTANCE').
    The code i tried looks like the following:
    if :block.item=<condition>
    then
      set_item_property ('detail_block.chk_box',updatable,property_false);
    else
    set_item_property ('detail_block.chk_box',updatable,property_true);
    end if;I consider to use the WHEN-CHECKBOX-CHANGED trigger and code which looks like:
    if <condition>=true
    then
        /*i set the value of the checkbox as the opposite of what it is just after the click on it...*/
      if :detail_block.chk_box=0
       then
         :detail_block.chk_box=1;
      else
        :detail_block.chk_box=0;
      end if;
      set_record_property(currect_record,status,query_status);
      set_item_property ('detail_block.chk_box',updatable,property_false);
    end if;The truth is that i do not like very much this code, but is there any alternative...???
    Note: I use Dev6i with patch 12
    Thank you,
    Sim

    I build a little testform based on HR-schema-table DEMO_USERS and switch each second record to be not updateable, works without problems (code from POST-QUERY-trigger):
    DEFAULT_VALUE('1', 'GLOBAL.SWITCH');
    :GLOBAL.SWITCH:=3-:GLOBAL.SWITCH;
    IF :GLOBAL.SWITCH=2 THEN
      SET_ITEM_INSTANCE_PROPERTY('DEMO_USERS.ADMIN_USER', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), UPDATE_ALLOWED, PROPERTY_TRUE);
    ELSE     
      SET_ITEM_INSTANCE_PROPERTY('DEMO_USERS.ADMIN_USER', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), UPDATE_ALLOWED, PROPERTY_FALSE);
    END IF;     Edited by: Andreas Weiden on 31.03.2009 21:24

  • Check box as a non database item

    Hi.,
    I am using jdev 11.1.5
    My scenario:
    I need to use checkbox in my af:table which is a non database item
    if i check that check box i need to select the current row in that table
    ex:
    yr        period     type
    2010    2            AJ    [checkbox]
    2010    3            AJ    [checkbox]If I check the 2nd period check box then the value of
    Row row= vo.getcrrent();
    row.getAttribute("period");  //   this value must be 2
    check box must be a non-database item
    how can i do this

    is this what you want?
    Row row= vo.getcrrent();
    row.getAttribute("period");  //   this value must be 2
    int index =vo.getRangeIndexOf(row); //Get the index of the given row relative to the beginning of the range. http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e10653/oracle/jbo/RowIterator.html#getRangeIndexOf%28oracle.jbo.Row%29

  • How do I selectively  convert check boxes (Alt0168 Wingdings) but NOT Bookmarks into editable fields (from Word table)

    Acrobat X (Windows) is converting all fields from the Word table - making even the imported bookmarks editable. We just want the check boxes interactive. This has to be done on a large volume of documents, so it needs to be automated. I suspect some coding will be involved or perhaps a 3rd party app that allows one to selectively convert fields.
    Thanks!

    Ok, I found out that I need to apply the patch 5746875 to have that. But there only instruction to apply this patch on unix env. I need on Windows. Can any body help me?

  • Edit form fields to be check boxes?

    once the fields have been automatically made, how do you make them check boxes?

    Hi jaya67496045,
    Could you please be more specific on the same.
    What type of form fields have you used in the PDF that you wish to convert to check boxes?
    Using Acrobat, you can simply choose "Tools> Forms> Edit" and add check box to the desired place in the PDF.
    Is this what you really wish for?
    Please let me know.
    Regards,
    Anubha

  • How to make a textbox editable while clicking  a check box in JSF

    hi all,
    I have a text box and a check box in my JSF.
    My objective is to make the text box editable once i cick the check box.
    Already i have defined the text box property as "Control is Disabled".
    I tried to make the Control of the text box as enabled in my Checkbox listener method.
    but i am not getting the desired output.
    Could you please help me on this regard.

    Hi,
    In the checkbox1_processValueChange method I have the following:
    if(textField1.isReadonly()){
                textField1.setReadonly(false);
            }else
                textField1.setReadonly(true);This works for me.
    Hope this helps you
    Cheers
    Giri

  • Edit Links refresh Check box V1.6

    Does anyone know what happened to the edit Links refresh check box in V1.6 of HTMLDB? In 1.5 in was nice to be able to see your changes while you were still editing the builder screens. Is there a way to do this in V1.6?

    Hi,
    if you need just a check box for each line, try to get rid of this line from your layout.
    g_layout-box_fieldname = 'ZZCHECK'.
    SAP uses this field to store info about selected lines. Hence you click on the second check box, you select different line and the first line is erased. You can select more line by holding SHIFT + CTRL
    Cheers

  • Editing radio button / check box in MC question in DesignTemplates?

    Anyone an idea, how can I change these radio button / check box in MC question in a DesignTemplates?

    Hi there
    I don't believe this aspect may be controlled by a Design Template. Probably because this is an aspect that may vary from question to question. It deals with question functionality as opposed to simple visual elements.
    If you feel strongly this should be considered as part of a Design Template function, I might suggest you put it forward to Adobe.
    Click here to visit the Wish Form/Bug Reporting Form
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to make a check box non-updatable through personalization

    Hi All,
    I have a requirement where I need to make check box read only in a case when user select some values from the drop down list box. Is it possible through personalization?
    For example if there is a list box which contains 5 values and for three valuse one check box needs to be make as read only and where as for remaining it can be checked/un-checked.
    Please let me know if this can be acheived through personalization.
    Thanks,
    Sandeep

    If there is some event (e.g. fire partial action) present on selection of any value the drop down, then you can achive this using java script.
    Create a raw text item and in the text property put java script to handle this case.
    For sample java script code refer
    How to set particular segment value of key flex field in Controller
    -Anand

  • Size differences between editable and non-ediatble combo boxes

    Hi
    There seem to be some differences between the sizes of editable and non-editable JComboBox.
    I have two combos one editable and one non-editable.Even though all the constraints(except [x, y], of course) are same for both in gridbaglayout, they are displayed in different sizes.
    Why is it so? and what should I do to display them in same size. I dont want to do trial and error.
    Another related question is, how do I set two editable comboboxes to always have same sizes irrespective of the values are added into it. I am asking this question bcos I have observed that sizes differ between combos when values are added during initialization and when values are added at a later time.
    TIA,
    CA

    Maybe something like this:
    myCombo.addItemListener( new ItemListener() {
    public void itemStateChanged( ItemEvent ie )
        JComboBox combo = (JComboBox)ie.getSource();
        ComboValue selection = (ComboValue)combo.getSelectedItem();
        if( combo.getSelectedItem().equals("edit") )
            combo.setEditable( true );
        else
            combo.setEditable( false );
    }}):(untested code)

  • How to select One Check Box at a time

    Dear All
    I have 10 records in details blok and also I have 10 check boxes .
    I want user can only check one check box at a time .
    For example If first record I have checked and i am trying to check the last record then the first record UNCHECKED and the last record will checked .
    Like how redio buttons work ..
    How can i do that ..?
    I have done like this :-
    1st I have declare a global variable in PRE_FORM :GLOBAL.CNT := 'N';
    Then
    WHEN-CHECKBOX-CHANGED trigger
    IF CHECKBOX_CHECKED(EMP.CHK') THEN
        IF :GLOBAL.CNT != N THEN
            :EMP.CHK := Null
       HERE what to write ???
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            :GLOBAL.CNT := Y;
        END IF;
    ELSE
        :GLOBAL.CNT := N;
    END IF;Edited by: LuKKa on Aug 29, 2012 1:12 PM
    Edited by: LuKKa on Aug 29, 2012 1:13 PM

    LuKKa,
    An easier method would be to use a Calculated Field to summarize the value of your CHECKBOX Item. For example, add a non-table item (call it SUM_CHECKED) to your detail block and do not assign it to canvas - so it will not be displayed. Then set the following properties of the SIM_CHECKED item:
    Database Item = No
    Calculation Mode = Summary
    Summary Function = Sum
    Summarized Block = <YOUR DETAIL BLOCK>
    Summarized Item = <YOUR CHECKBOX ITEM>
    Next, you will need to change your Detail Block property Query All Records to YES (this is required for the Calulated Item).
    Now, make sure your checkbox is data type NUMBER and has the following minimum properties set:
    Data Type = Number
    Maximum Length = 1
    Initial Value = 0
    Value when Checked = 1
    Value when Unchecked = 0
    Check Box Mapping of Other Values = Not Allowed or Unchecked
    Now, in your Checkbox Item's When-Checkbox-Changed trigger add code similar to this:
    IF ( CHECKBOX_CHECKED('YOUR_DETAIL_BLOCK.YOUR_CHECKBOX_ITEM') ) THEN
       IF ( :YOUR_DETAIL_BLOCK.SUM_CHECKED > 1 ) THEN
       --Reset the checkbox
       :YOUR_DETAIL_BLOCK.YOUR_CHECKBOX_ITEM := NULL;
       MESSAGE('You can only check one item.');
       Message(' ');
       RAISE Form_Trigger_Failure;
       END IF;
    END IF;I have confirmed this method works and it is more efficient than looping through your records to see if other checkboxes are checked.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • Open Directory access from outside of network / internet

    Hello all, Got a question I'd love to get some help on, I have some users who are outside of my network and I'd like them to connect into the open directory on our leopard server so they can use the Shared iCal calendars, addresses, etc. So my questi

  • Problems opening & printing pdf files created on a Mac

    I am at my wit's end! I recently upgraded to a new version of Acrobat and suddenly a lot of my clients could no longer open my pdf files. I uninstalled the latest version of Acrobat and reinstalled an older version (Acrobat 8.1.3). Some clients start

  • Missing files in Yosemite

    I upgraded to Yosemite from Mavericks on my iMac and I lost several important files. I don't know if they were located somewhere else on my drive, but I can not find several important files. Entire folders are missing.

  • HT201342 Help needed On sync process with devices and photo stream keeps multiplying pics ?

    Older generation trying to acquire a savvy touch for apple products needing lots of help!  Is there anyone out there interested in assisting in all phases of learning ....

  • Dwm wallpapers

    Whipped up 6 simple dwm wallpapers...these are all 1680x1050. UPDATE: Grab all the wallpapers here: http://cinderwick.ca/projects/dwm-artwork-themes/ Grab matching SLIM login themes here: http://bbs.archlinux.org/viewtopic.php?id=57963 SVG version of