Disable the checkbox after some operation

Hi all,
i am doing a ALV. I have a check box in the first column. i am selecting a row and  doing some checking.
my requirement is to disable that row (which is checked ) after the checking opearion.
how do i do that ?
Thanks
Niramala

Hi,
If you are using FM for ALV, you can still try above method with some additional steps:
- use FM GET_GLOBALS_FROM_SLVC_FULLSCR to switch between classic ALV (by means of REUSE_ALV_GRID_DISPLAY) to OO ALV.
"first register some event which is always called for FM REUSE_ALV... i.e. TOP-OF-PAGE
  data:  lt_events TYPE slis_t_event.
  DATA: ls_event TYPE slis_alv_event.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      i_list_type = 0
    IMPORTING
      et_events   = lt_alv_events.
  READ TABLE lt_alv_events WITH KEY name = slis_ev_top_of_page
                       INTO ls_event.
  IF sy-subrc = 0.
    MOVE slis_ev_top_of_page TO ls_event-form.
    APPEND ls_event TO ft_alv_events.
  ENDIF.
"now show your ALV output with this registered event
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
     it_events  = it_alv_events
"then when TOP-OF-PAGE event is raised you can switch from classic ALV to OO ALV.
form top_of_page.  "this one is called once TOP-OF-PAGE is raised
  DATA: lo_grid TYPE REF TO cl_gui_alv_grid.
" get reference for classic ALV
  CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
      e_grid = lo_grid.
"here you put your coding as given above
" now you can refresh the table display
  CALL METHOD lo_grid->refresh_table_display
    EXPORTING
      i_soft_refresh = 'X'.
endform.
That should work
Regards
Marcin

Similar Messages

  • Urgent : MDB stops listening to the queues after some time  !!!

    Hi,
    I am using OJMS with OC4J 10.1.2 and db 9.2.0.5. I have a web application which send messages into the queue very frequently.
    But the problem is the MDBs stop listening to the queues after some time (1-2 days) and no more messages will be dequeued from that point.
    All these messages will move to the exception queue after their expiry.
    But the dequeing agains resumes after restarting the OC4J !.
    I guess, at some point mdbs are either becoming busy (locked ) or some exception occured while dequeing, hence they stop listening to the queues.
    Please throw some light on this issue as it is very crucial in my project.
    Regards
    Prashanth

    I've noticed this lately as well, with my iPhone 4. I couldn't confidently pin it directly on any particular iOS update, but my iPhone used to automatically connect up via Bluetooth with my Prius's handsfree feature, and now it doesn't. I work with a CE-based device at my job, with Bluetooth capability, and I used to test out that feature by having it discover my iPhone. This no longer works either.
    What I have found (not really a solution, but it does work and may be a clue for Apple) is that if I simply go to the Settings app then the General -> Bluetooth screen and let it sit there, it will pair right up with my car within a few seconds. Bluetooth is always on, and always says "Now Discoverable" at the bottom of the settings screen.

  • After migration the MaxDB 7.6 down the performance after some hours of use

    Hi,
    After many tests i put the version of MaxDB 7.6 in production, after some hours of use, now i'm getting a strange slow down in performance of the database, looking at the knldiag file i cant find anything that can show me the reason.
    any idea how to check what happen?
    thanks
    Clóvis

    Hi, Oksana,
    I think that notes are only for SAP customers, right? because i'm not a SAP customer, there is a way to you be more specific about what i need to check without having access to that notes?
    look on wrk directory i discover that the files QUAL.dmp and comseg.dmp are updated when the system get slow, i checked the knldiag but dont have any error,
    any idea because these files are generated?
    best regards
    Clovis

  • 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

  • How to disable the form after i click a link in WAD

    Hi All,
    I have a WAD template where there are a lot of hyperlinks and buttons present to enable the control to go to same or different templates. What I want to achieve is once i click on a hyperlink, the whole form should get disabled so that I may not be able to click on any other link until the control goes to a different page. I tried using document.form.disabled = true which though gives the look and feel of the form as disabled after click of the link but still doesn't stop me to click other links.
    I also tried document.form.getElementById("Id").disabled = true for the links but still the same thing happens.
    The above commands work fine if i use them outside WAD, but don't seem to work in WAD.
    Any thoughts?
    Gaurav Jasoria

    Hi Friends,
    This is really urgent.Can you please suggest me a way out.
    Regards,
    Gaurav Jasoria

  • White patches appearing on the screen after some time

    I have bought an iMac recently. And for some days white patches like something occurring on my screen after sometime when I opens it. And the patches are there after closing it till sometime. So what can i do now? PLEASE help me .

    That sounds like condensation forming between the display and front glass panel.
    If you live in an area with high humidity, then might help to run a fan or dehumidifier to help reduce the moisture in the air.
    It also might help to leave the iMac on and running for a day or so to compleatly dry out the trapped moisture.
    If those steps do not help, then you may want to take the iMac to your local Apple Store or AASP and have them clean between the display and front glass panel. 
    See > Apple - Support - iMac - Service FAQ

  • When I try to restore my iTunes library from DVD, iTunes stops copying the files after some minutes

    On 2 of my 9 DVDs, iTunes stops copying and I can't do anything with iTunes anymore. I have to reboot my computer. So I'm not able to bring back all my files. Has anyone got help?

    Thanks but I already did read all of the help notes, which aren't very helpful for this.  I did find out the problem- Apple.....they evidently changed one of the major upsides to their old software- being able to back up your entire library onto dvd's- so you can longer do that or restore from the dvds created from older versions of itunes.  I suspect greed is at play in that Apple now wants you to pay $24.95 per year to use a "cloud" service where they back it up for you.  I can buy a lifetime supply of back up dvds for one year's worth of cloud.  So I am now looking into other music software as I am Appled-out.  There is no reason for them to take away the back up portion of the software other than to sell you thrir cloud service.  As we have already given them a ton of money for 5 Ipods and a bunch of music, I think we have contributed enough.  Time to look to solutions outside of the Apple money tree.  But thank you for reading and replying.

  • Back to the beginning after some time

    I am holding a director in the software for a multimedia
    kiosk but encounter me with the problem that I am not able to solve
    what I want is that when a user leaves the navigation through the
    software by the end of a time without being used (for ai 1 minute)
    go back to the beginning, that is the frame 1 .. So while others
    used to go to the kiosk application is the beginning ...

    Hello,
    You can set a timeout to handle what happens when no one
    interacts with the computer for a certain period of time. In your
    startMovie script, add
    on startMovie
    the timeOutLength = 60*60 --Add a length here. It is in 60ths
    of a second, so 1 minute is 60*60
    end
    Then, in a movie script, add
    on timeOut
    --Put your script here
    go to frame 1
    end
    That should be it. I realize you don't speak English well,
    but this should put you in the right direction if you don't
    understand it all.

  • Unit Of Order reducing the performance after some threshold limit

    Hi,
    Our application is doing netting of trades.
    We are using UOO for posing messages to JMS queues appended to it.
    From this message, we are extracting the trade info and persisting into DB.
    When MDB is listening to that JMS queue, application is performing well when the no. of messages in the queue is <5000.
    when this number increases lets say 20000, our application is performing very badly.
    We are using 64 instances of MDB connecting to queue.
    What are the parameters reduce the performance of the MDB consuming the messages?
    Can you please help me on this?
    Thanks,
    Ravikumar

    An increasing backlog is a sign that your MDBs are not keeping up with your senders.
    See:
    Tuning WebLogic JMS
    http://docs.oracle.com/cd/E17904_01/web.1111/e13814/jmstuning.htm#PERFM294
    and
    Tuning Message-Driven Beans
    http://docs.oracle.com/cd/E17904_01/web.1111/e13814/mdbtuning.htm#PERFM271

  • How to make the checkbox field as enabled/disabled?

    HI,
    i want to enable/disable the checkbox
    at run time??
    is it possible to do it??

    Hi user10185229 ,
    You can do this with SPEL.
    Thanks.....

  • How to disable the checkout button in saved carts window in istore

    Hi all,
    There is a requirement to disable the check out button in the saved carts window in istore.
    When a user is saving a shopping cart in istore and revisiting back to the cart after some days. he should not be able to checkout but he has to click on update and go through the checkout.
    If i could disable the checkout button then i could make all the users to click on the update button to proceed to checkout
    Any ideas please............
    Regards,
    Prasad
    Message was edited by:
    Prasad rajan

    Cross posted: [http://www.coderanch.com/t/487888/Swing-AWT-SWT-JFace/java/disable-cancel-button-input-dialog]

  • Disable the Goods Receipt check box in PO creation

    Hi Gurus,
    In the Item screen of ME21N, Delivery Tab my client wants to disable the checkbox Goods receipt, as its coming now always checked by default, is there any settings in SPRO where I can disable this.
    Thanks
    Amresh

    Hi,
    The Goods receipt indicator in PO item  is based on configuration of Account Assignment Category
    SPRO->Materials Management->Purchasing->Account Assignment->Maintain Account Assignment Categories
    Regards,
    Vinod

  • How to undo update of checkbox after triggering when-new-record-instance

    Hi,
    I am using eBusiness Forms Personalization in 11.5.10 to alter the Receipts form in Purchasing. I want to prevent users checking the rcv_transaction checkbox if the destination is "Multiple" and, instead, click the "+" sign to explode the multiple record into it's many component records.
    I can do this by invoking the when-new-record-instance trigger to make the "multiple" record fields unalterable and issue a warning message when the user selects such records. However, my problem is that - if the user clicks the checkbox as the first field in a "multiple" record, then this updates the checkbox to "Yes" BEFORE the trigger fires, which then locks the record for update.
    What I need is a solution that either sets the checkbox to unalterable for "multiple" records BEFORE the user clicks into such records, OR a method of undoing the update of the checkbox after the record has been selected (I cannot do this by simply setting it to "No" by the trigger as this is still technically an update and locks the record).
    Cheers
    Graham

    Hi Navnit,
    Yes you are right, but it can work even we not plase quotation mark in it. But Yes I forget to place semi colon so now it is
    IF :System.Cursor_Record = 1 THEN
       :Block.Col1 := '02:00';
    ElsIF :System.Cursor_Record = 2 THEN
       :Block.Col1 := '07:00';
       ------and so on
    END IF;Danish

  • HT2506 I want to disable the sidebar in Preview from opening every time I open a PDF. How?

    I want to prevent "Preview" PDF viewer from opening the PDF's with sidebar. Trying to disable the sidebar, can't find anything that allows it to be disabled. I know how to disable the sidebar after the fact, but I find it annoying because it takes up space and is useless and I am constantly having to hide it. Can I just disable it from the preferences, that way when my PDF opens the sidebar is not there? Looked but couldn't find anything.

    wonges88 wrote:
    I think that this is an issue with how the author of the PDF saves and collates the file. I wish in the preferences there was simply a "turn off sidebar," but I have yet to find it. 
    Yes.  I think so too.
    All my PDFs open in Preview without the sidebar.
    Matt

  • Setting image over the checkbox of JCheckBox

    hi everybody,
    I m new new to the forum so dont know about any rule but I am in trouble to setting image over the check box in JCheckBox(not side of the checkbox). I just want to cover the checkbox by some icon. I just wanna know is it possible? if ya how? it will be great help to me.
    thanks in advance for any kinda suggesion.

    Hi sudip;
    use JCheckBox(String text, Icon icon); to display icon instated of checkbox. and to differ checked & unchecked box use setSelectedIcon(Icon) on checkbox object to display some other icon whenever box is selected.

Maybe you are looking for

  • Mismatched input channels

    Hi, I have problem with Formula module. Mismatched input chanels: the time information or block length of the input channels do not match ... My sampling rate 100kHz and Block size: 16384. I add my Worksheet. Attachments: nowy.DSB ‏32 KB

  • Is IAS 6.5 compatible with IBM z/OS 1.4

    I am currently running IAS 6.5 SP2 on Solaris that is using the CICS Connector to communicate with CICS v1.3 on an IBM mainframe. We are upgrading from IBM OS/390 to IBM z/OS 1.4. Are there any compatibility issues?

  • QuickVPN to RV042 frequent disconnects

    I have an RV042 firmware 4.1.1.01-sp with client vpns established. I have one end user that can connect every time with now issues whatsoever. I have other clients that can connect, but are often dropped. The first day they connected for up to 8 hour

  • FB3 M3 Beta2- Advanceddatagrid column header multiple sort

    Hello People, Before 10-1 when the M3 B2 of FB3 comes out i had normal columnheaders with the new beta version there are suddenly multi sort functions added to the columnheaders of the advanced datagrid! How can i remove those.. i have alot of column

  • Mac OS X Hello World: Texture Dimensions exceed maximum texture size

    Just installed Netbeans 7.1 beta and JavaFX to try it out for the the first time. Using Java 1.6_26 with OS X 10.6.6 I tried creating a new project. It generates a default Hello World app. I tried running this app without modifications. If opens a bl