Checkbox disable

Hi Friends,
   I am displaying a ALV Grid Report with Checkbox at end of each row.  My requirement is whenever the checkbox is checked that coresponding check box should be in disable mode.
Pls advice .
Thanks in advance
kar

hi
good
pls check this code.
DATA:it_exclude TYPE slis_t_extab,
x_exclude TYPE slis_extab.
Clear:x_exclude, it_exclude.
x_exclude-fcode = '&ALL'. "Function code for Select ALL option
append x_exclude to it_exclude.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_top_of_page = 'TOP_F_PAGE1'
i_callback_program = sy-repid
IT_EXCLUDING = it_exclude
i_callback_pf_status_set = 'PF_STAT'
i_callback_user_command = 'USER_CMD'
i_structure_name = 'EKPO'
is_layout = layout1
it_fieldcat = fieldcat
TABLES
t_outtab = it_ekpo.
Note:this code will work only if you dont set your own PF status.It you customized the PF status,then you have to give that FCODE ,while setting up youe own PF Status.
Eg:
SET PF-STATUS 'GUI_ALV' Excluding '&ALL'.
thanks
mrutyun^

Similar Messages

  • html:checkbox disabling based on a condition

    does anyone know how to disable the <html:checkbox ?? it should be disabled based on some condition
    thanks

    It is very unclear what you want. There is a disabled flag available to html:checkbox. You could do something like:
    <html:checkbox disabled="<%= somebooleanVar %>" ...and so on. What are you trying to do?
    Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.
    Sure they're new - come get them started!

  • Checkbox disable/ enable in tabular form

    Hi,
    I am using apex4.2,
    i have column "ACTIVE" in tabular form. it is simple check box type return value "Y/N".
    i want if i tick on one check box of active column then other check box should disable , and selected checkbox should have a value of "Y" and other check box should have value of "N".
    how i can do this?
    Thanks & Regards
    Vedant.

    Vedant wrote:
    Hi,
    Could you help me to write the code. My column in tabular form are 13,14,15,16
    If i enter value in field 13 then 14 and 16th column should disable and
    If i enter value in field 14 then 13 and 15th column should disable.
    How i can do this?
    Thanks & Regards
    VedantI haven't tested this code; but the following can be your approach:
    In the "Element Attributes" field of the 13th column, you can call a javascript function as:
    onblur = "javascript:updateCols(this);"In your browser, right-click each of your columns (one at a time) and choose "inspect element" to check the HTML element attributes. Assuming that the 13th column in your tabular form is rendered in the HTML as f13, 14th column as f14, 15th column as f15 and 16th column as f16, write this JS function in the page HTML header:
    <script language="JavaScript" type="text/javascript">
    function updateCols(pThis)
        var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
       if (pThis.value.length > 0)
           $('#f14_'+vRow).attr('disabled',true);
           $('#f16_'+vRow).attr('disabled',true);
       else
           $('#f14_'+vRow).attr('disabled',false);
           $('#f16_'+vRow).attr('disabled',false);
    </script>The above JS function is fired when the user tabs out of the 13th column. The function then checks the length of the value entered by the user in the 13th column. If the length is greater than 0, it disables the 14th and 15th columns. Else, it enables them.
    The above code is for your first scenario:
    If i enter value in field 13 then 14 and 16th column should disableYou can do the same for the other scenario.
    Hope this is clear. Or else, give me access to your workspace and I can try the above there.

  • Checkbox disabled facility in portal 8.1

    Hi,
    I need to disable the checkbox from the server side code. I would not be able
    to find respective attribute from the tag <netui:checkbox ...>.
    please tell us, is this is a bug in the weblogic portal 8.1 (currently i am using
    weblogic portal 8.1) or something else.
    thanks,
    shashi

    The PortalServletFilter supports form-based login and will fire a
    SessionLoginEvent to the EventService when a user goes from
    unauthenticated to authenticated (assumging the fireSessionLoginEvent
    init param is true, which it is by default).
    You can configure BehaviorTracking to persist events to a database
    table. Most of the 7.0 docs
    (http://e-docs.bea.com/wlp/docs70/dev/evnttrak.htm#998197) are probably
    still valid; they haven't moved been migrated into the 8.1 doc-set yet.
    Or, you could write your own ServletFilter which notices when a user
    become authenticated and performsn your action. With this, you would
    have full access to the live HttpServletRequest and HttpSession.
    Greg
    olivier wrote:
    Our portal is secured with a form-based login page.
    How can we track the login event ?

  • Can't access checkbox: 'Disable automatic Login'

    On the security settings 'General' tab, only the checkbox for 'Require password (immediately, etc.) is enabled. All options under it are ghosted an inaccessible including 'Disable automatic login'. How do I make these options available? I need my Macbook to require a login on startup.

    Click on the "lock" in the bottom left of the screen. Supply your admin password and the options then become available.
    Cheers

  • Icloud photostream checkbox disabled

    The photostream checkbox is disabled when I open icloud from my PC control panel -- I am unable to check the box.  How do I enable the checkbox so as to use photostream on my PC.
    I'm running Windows 7 Home Edition.  I have the latest updates and most recent version of iTunes (if that is applicable).  Please offer a solution.
    Thanks!

    I ended up uninstalling the iCloud control panel and reinstalling it. Works fine now.

  • Filter checkbox disabled in Numbers 09

    I have previously been able to filter a spreadsheet using Numbers 08, but the functionality does not seem to be working in Numbers 09. I cannot get the checkbox checked -- it is always disabled [grayed out]. Has anyone been able to get it to work? This is on a spreadsheet that was originally created in Excel and then opened in Numbers 09.
    Thanks,
    -Sandy

    What are you unable to do?
    (1) check / uncheck the boxes
    (2) apply a filter to display rows with checked boxes.
    If it's case 2, at least with a document created in Numbers it behaves well.
    Remember than, before defining a filter you must define a column in the dialog.
    Yvan KOENIG (VALLAURIS, France) mardi 15 septembre 2009 14:32:38

  • How to define the Update key ? Checkbox disabled !!!

    I'm trying to update a dimension using IKM SQL Incremental KM but the Key checkbox is disabled for all fields.
    Why is that? Is it because a primary key has been defined on that datastore in the module?
    Under Interface->Controls->Constrains the primary key I defined is Yes. Even that, if I run the interface for second time, it returns an error (unique constraint violation on an index created in database based on primary key)

    As I said: in Interface->Diagram you have to select target table and to specify Undefined key for Update. Once you will do that, Key checkbox will be active for all table columns.
    Then mark Key checkbox for all fields that generate business key.

  • Setting multiple selection checkbox disabled at row level

    Hi all
    i have a query bean in my page .once user clicks on the Go button ..the records gets displayed in an advanced table .this table has one table selection column (multiple selection).
    now based on a attribute value i need to disable these check boxes .
    if attribute1 for a row is 'Y' i need to disable it otherwise enable it..
    there is no disabled property in the property inspector for this bean so i cant set any SPEL for this column..
    kindly help me out
    naveen

    thanks a lot to all of u
    i have resolved this issue as follows
    OAAdvancedTableBean srTblBean=
    (OAAdvancedTableBean)webBean.findChildRecursive("XXPAAssignResourcesVO1");
    srTblBean.setSelectionDisabledBindingAttr("workflowActive");
    where workflowActive is a transient Boolean attribute .and i m setting this attribute based on the value of Attribute1 in VORowImpl setworkflowActive(String Value) Method.
    it worked at row level..
    Naveen

  • How to Disable CheckBox for a Particular Condition

    Hi All,
    In my application, iam using one table having 5rows , with checkboxes,
    based on one condition i want to  make few checkboxes as default disable in the same table, and some checkboxes i shud make it as enable, so experts please help me how to disable some checkboxes.
    disable means even if we select it shud not get selected, like that is it possible,

    Hi Sushma,
    You can have one more attribute in the same node from where you are populating the table and bind this boolean attribute to the enabled property of your CheckBox.
    and by looping thriugh the table you can check for conditions and based on it set the Enability of the checkbox.
    for (int iRowsCount =0;iRowsCount < wdContext.node<name>().size();iRowsCount++)
    if (condition)
    // Disabling the Checkbox based on the condition
    wdContext.node<name>().get<name>ElementAt(iRowsCount).set<BooleanAttributeName>(false);
    Hope this helps!!
    Cheers,
    Arafat

  • Disable checkbox for some records in a datasource

    Hi,
    I am having a datatable which is binded to a datasource. There is a check box for every record in the list. Check on some records and click the submit button. After that i want the records i have already submitted to be disabled(checkbox disabled) when the page is refreshed. Is there any way to do it. plz help. Thanks in advance

    I would have a table field to store the submitted items, so that when you open the page you can compare with that field and use <html:checkbox disabled="true"....> for the submitted records. I think it will work out. Is this only just for that session?

  • Disable the checkbox of rows in ALV

    Moderator message: please do not post the same question in more than one forum. Duplicate deleted
    Hello,
    For example we have an internal table containing the data of table RESB. The alv grid that will display this data will have a checkbox in its first column. If for example the internal table contains two reservations with two line items each, only the checkbox of the first two line items will be enabled. the rest will be grayed out. How can we do that?
    Hope you can help us. Thanks!
    Edited by: Matt on Jan 13, 2009 8:11 AM

    see this thread
    ALV checkbox  - disable
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    see this sap help too
    http://help.sap.com/saphelp_nw04/helpdata/en/26/46fb40f17af66fe10000000a1550b0/content.htm

  • Pushbutton disabled in a table

    Hello.
    I would like to see a pushbutton enabled at the end of each row depending the result of the comparaison of two fields in my table.
    To explain much better, I want that only the personne who created the recording in the table would be allowed to delete its. So I check if the ID of the recording creator is the same as the current user, and depending this result, the pushbutton to delete the row has to be enabled.
    So I marked the checkbox "disabled" in my pushbutton options and written the following condition :
    bool ( if ( @ID == @CurrentID , 1 , 0 ))
    The function is ok (I checked by displaying the result in another variable)... But it doesn't work !!!
    So I tried to write directly "true" or "false" in the display condition, and : There is no difference between both, the pushbutton is desactivated in each case. So I don't understand.
    Can Somebody help me please ?

    Hi,
    I tried the same and it worked for me the way it should. Just make sure that you have assigned some action to the button because if we haven't assigned any action then it would always be disabled.
    Also, your table is set as Editable and not Read Only
    Regards,
    Murtuza

  • 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 Output to new layer

    Alright folks! I had a problem using a 3rd party filter with actions and have learned of a solution:
    Turning off "output to new layer" feature. it is supposed to be found under the preferences menu, however in the article it doesnt state which version of photoshop they are using.
    Im using CS4 on my school's macs, and would love to find out how to disable output to new layer. . .
    Here is the instructions:
    There is an easy solution. The "Create Output In New Layer" feature is incompatible with actions. It makes the filter do nothing. Just uncheck the "Output to New Layer" option to disable this feature. In Exposure and Image Doctor, there is a feature that allows you to turn this off permanently (until you turn it back on). Type Command+K (Mac) or Control+K (Windows) to bring up the Preferences window. At the bottom, click the checkbox "Disable Output On New Layer". If you still want the option of having a separate layer and the fine tuning it allows, just duplicate the layer (command/control J) within the action prior to running the filter and the action will still run fine.
    Anyone know where to find this in PS CS4???
    Much thanks and appreciation in advance!

    With the 3rd party filter dialog displayed, type Command+K (Mac) or Control+K (Windows) to bring up the plug-in preferences window.
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1TBPoitHwk60EPSjMeuZwEsq2sAtv" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1TBPoitHwk60EPSjMeuZwEsq2sAtv_thumb.jpg" border="0" />

Maybe you are looking for

  • Acrobat Shared Review Problem

    One of my offsite SMEs cannot view PDFs I generate for Acrobat shared review. None of my other offsite SMEs report the same problem and all access the network using the same VPN. In her case, the PDF displays with the text blacked out (as though it's

  • IE to Firefox Bookmarks using Nokia PC Suite

    Hi, May be someone can help me out. Is there anyway by using Nokia PC Suite's mobile bookmarks, i can transfer my Internet explorer saved bookmarks to Firefox bookmarks... IE bookmarks to Nokia Device Nokia Device to Firefox Is it possible?

  • Nokia Lumia 800 Draining Credit?

    Hey guys I've recently brought a used Nokia Lumia 800 (really liking it so far). The only problem is that it seems to drain my credit for no reason. When I go into my history it just says $[ammount] Data usage, and it has used up $20 telstra credit i

  • Upgrade CallManager 4.1(2) to CUCM 6.1(5)

    Hi, What is the best approch to upgrade CallManager 4.1(2) to CUCM 6.1(5)? There will be 2 new CUCM servers available for ver 6.1(5). There are around 1000 phones. Based on the Cisco upgrade guide, there is no direct upgrade from 4.1(2) to 6.1(5). Do

  • Missing table creation options in OEM10g

    (1) Log in to OEM10G dbsonsole as system. (2) Navigate to Administration then Tables. (3) Click create to create a new table. The OEM10G docs say there are four choices: Standard IOT Clustered External But only standard and IOT are listed. Is OEM10g