ALV Grid: how to save changes made in an editable Grid

Hi,
How to save changes made bu the user in any of the editable cells in a ALV Grid?
Regards,
deb.

Hi,
If you are using the FM look at the following example code...
data: LC_GLAY TYPE LVC_S_GLAY.
LC_GLAY-EDT_CLL_CB = 'X'.<<<<<------
gt_layout-zebra = 'X'.
gt_layout-detail_popup = 'X'.
gt_layout-colwidth_optimize = 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = i_repid
i_callback_user_command = 'USER_COMMAND1'
it_fieldcat = header
is_layout = gt_layout
i_callback_top_of_page = 'TOP-OF-PAGE1'
i_grid_title = text-h17
it_sort = gt_sort[]
i_default = 'X'
i_save = 'U'
is_variant = gt_variant
it_events = gt_events
I_GRID_SETTINGS = LC_GLAY<<<<<<------
TABLES
t_outtab = itab.
clear itab.
Form USER_COMMAND1
FORM USER_COMMAND1 USING u_ucomm LIKE sy-ucomm
us_selfield TYPE slis_selfield."#EC CALLED
case u_ucomm.
when '&DATA_SAVE'.<<<<<<<<----
This will come after the data was EDITTED and when SAVE was clicked by user in output scren.
Here now in the final internal table(ITAB) you can find the data changed in EDIT mode.
After this you can do manipulation what ever you want.
Thanks.
If this helps you reward with points.

Similar Messages

  • Videos - How to save changes made via Adjustments?

    The new video features: Great!
    I tried CTRL+S to save changes (changed Exposure to totally black for testing) to my .MOV video file - however, the file is unchanced. I'm guessing the adjustments are still just sitting in my Lightroom catalogue.
    Is the correct way to export the video and re-encode it then?
    If export is the only way - shouldn't there be some "save" function? I never trust the Lightroom catalogue to always keep all changes, I always do some CTRL+A, CTRL+S to save the changes to the files, so they are hardwired - would I have to export the videos, copy them back to the original folder and delete the original videos?

    You cannot save changes to the video files as you can do with photo files.
    In this case, everything is saved in the catalog, and you will need to export to render the video.
    However, it is generally admitted that the catalog is a safer place to record changes, compared to individual files, and it is also easier to backup.
    Rgds, Gilles.

  • How to save changes made in a text box?

    I have created a pdf file with text boxes.  The recipients of this file can add their text,but can not save with changes.  What do I have to do to allow the recipients to save their document?

    Thank you, my life just became a whole lot easier

  • How do you save changes made in iPhoto, and export the changed file.  It keeps reverting back to the original.

    How do you save changes made in iPhote, and export the changed picture file? When I select export, current format, it reverts to the original, wiping out all my work.

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • How to save data in ztable after editing in alv report

    how to save data in ztable after editing in alv report?

    Hi,
        Please find the attachment below.This may be usefull to you.
         [http://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database%28OOPS%29]
    Regards,
    Ramakrishna Yella.

  • How to save change in 3D text and Object that being made in photoshop cs6..

    I  was  wondering  how do I save change for 3D text and objects.
    let said the first text i type is Adobe but i want to change it to Microsoft.
    how can I  save that change in 3D  from Adobe to Microsoft.
    thank in advantace.

    You haven't said what version of Pages you are referring to.
    Hold down the option key when you go to the File menu and Save As… appears.
    It was Apple stiff necked response to users complaint about its removal. They couldn't just put it back.
    Once you do do this it is pretty much what it was before.
    Peter

  • How can i save changes made to user accounts?

    Hello everybody!
    Well, this is my very first question to the community and i really hope you guys are able to help me!
    Now my problem is as followed: On my MacBook Pro i use an Admin Account for personal usage, and then i got a Guest Account for everybody else than myself using my Mac.
    A few days ago i spent almost an hour setting up my guest account in appearence and other general settings, i.E. the trackpad reaction or multi touch gestures. Afterwards, i logged out my guest account and shut off my mac. Then, another day afterwards i restarted my mac and checked, if those changes took effect. Now, surprisingly, the Guest User account was completely resettet and used something what looks to me like a standard setup.
    How can i change this? How can i set up a Guest Account with certain rights, a specific wallpaper and only selected apps available?
    Thank you for your help and have a nice day!

    That is what the Guest User account is for - did you see this when you logged out of the Guest Account?
    What you need to do is to set up a new account that is not the system installed Guest Account with a name of your choosing.
    Regards.
    Colin R.

  • How to save changes in a Table?

    Hi Experts,
    I have included my own component into an SAP component as an assigment block. My component shows a table (Table Context Node). I have made some columns editable. However, when I try to make changes in this table, after pushing the Enter Button, the chaged values is being replaced by the old value.
    I have set
    rv_disabled = 'FALSE'.
    in my GET_I_<attribute name> method. I guess there are other things to do..?
    How can I make and save changes in my table?
    Thanks, Johannes

    Hi,
    I just saw that in Method IF_BOL_BO_PROPERTY_ACCESS~SET_PROPERTY , the condition:
    if ME->IS_CHANGEABLE( ) = ABAP_TRUE and
               LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY.
    is skipped (coding in IF statement is skipped)..
    I think the IS_CHANGEABLE( ) thing is "true", but
    IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY
    is set..
    Where/ how can I set/ reset this? I have had a look around and did not find anything..
    Thanks, Johannes

  • Iphoto 11 , How to save changes to photos, not saving -/ snow leopard

    Hi , after much ado then discovering the recent "fix" for Iphoto 11 I started using it today. I uploaded new photos , edited them and quickly discovered that Iphoto was NOT saving any of the changes I had made.There  is no longer a  "Done" button so I went back to again check the few  photos I had adjusted , Iphoto only saved changes for one out of 10 of  the photos I had adjusted.
    Is there a "save changes"  function I am missing here? Anyone else experiencing this problem?

    How are you exporting? If you select the photo and export (file menu ==> export) with kind = JPEG or current the edited version will be exported
    if that is not happening try renewing your preference file -
    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN 

  • How to track changes made in the ERD in oracle designer

    I want to track all changes made in my ERD in oracle 10g designer. Please suggest how to achieve it.
    use case: An ERD was approved in design phase. Few changes were made by development team and now in Implementation phase I need to track what all changes were made from say 3-Jan-12 to 3-Mar-2012
    Edited by: 909570 on Mar 5, 2012 1:14 PM
    To add here:
    Designer Version is 10.1.2.0.2.
    1. In my project versioning of ER is not being used so ER Version diff is not an option for me.
    2. In Reports, there are options for getting all entities, attributes which are created/modified in a period. But it seems it is not giving me correct results.
    Edited by: 909570 on Mar 5, 2012 1:14 PM

    Since versioning if off, there is no way to track changes.
    You can get a rough overview of possible changes by looking at the audit attributes (date created, date modified) in the properties palette, but that is already mentioned in your point 2.
    Basically, developers should comment what they added/modified.

  • How to track changes made to the standard objects by SAP during upgrade ?

    Hi All,
    Can any one of you please let me know if there is any straight forward method to find any change made to the standard objects by SAP in different versions ?
    Like for eg, during upgrade from 4.6c to ECC 6.0.
    Thanks in advance.

    > For eg , if SAP has made any change in the standard  transaction IE02,  in ECC 6.0 how will we come to know those changes?
    There are two sources for that:
    The "Solution Browser" (http://solutionbrowser.erp.sap.fmpmedia.com/) which lists the differences between source and destination release and the release notes (http://service.sap.com/releasenotes). You'd need to read here all those from 4.6 to ERP 6.0 (so 4.7, ECC 5.0 and ERP 6.0) to find out the behaviour changes.
    Markus

  • How to access changes made in a table?

    Hi Brothers,
    I have a table showing information that was read from the backend. The user is able to make changes to cells in the table.  access the now, I need to access the changes made by the user for processing.Unfortunately, I do not know how to that...
    Do I have to create an Object containing the changed table? Do the chnages take effect in the actual Context node so that I just have to use this?
    Thanks, Johannes

    I solved it completely,
    here the coding for version 7.1:
    public void onActionValidateChangesCustomer(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionValidateChangesCustomer(ServerEvent)
           for( int i=0; i < wdContext.nodeE_Customer().size(); i++ ){
                wdContext.currentI_CustomerElement().set__Bic__Epskufuer(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Epskufuer());
                wdContext.currentI_CustomerElement().set__Bic__Rbampisbr(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbampisbr());
                wdContext.currentI_CustomerElement().set__Bic__Rbbrand(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbbrand());
                wdContext.currentI_CustomerElement().set__Bic__Rbcustgrp(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbcustgrp());
                wdContext.currentI_CustomerElement().set__Bic__Rbgroup(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbgroup());
                wdContext.currentI_CustomerElement().set__Bic__Rbkunde(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbkunde());
                wdContext.currentI_CustomerElement().set__Bic__Rbprod(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbprod());
                wdContext.currentI_CustomerElement().set__Bic__Rbsubgrp1(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbsubgrp1());
                wdContext.currentI_CustomerElement().set__Bic__Rbsubgrp2(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbsubgrp2());
                wdContext.currentI_CustomerElement().set__Bic__Rbwwrpnkz(wdContext.nodeE_Customer().getE_CustomerElementAt(i).get__Bic__Rbwwrpnkz());
                wdContext.currentI_CustomerElement().setChanged(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getChanged());
                wdContext.currentI_CustomerElement().setDatefrom(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getDatefrom());
                wdContext.currentI_CustomerElement().setObjvers(wdContext.nodeE_Customer().getE_CustomerElementAt(i).getObjvers());
                wdContext.nodeI_Customer().addElement(new __Bic__Mrbkunde());
                wdContext.nodeI_Customer().moveNext();
           // trigger the RFC
           wdThis.wdGetInfoObjectCustController().executeZ_Customer_Front_Controller();
        //@@end
    Thanks, Johannes

  • How to transport changes made in SE36 -  Dynamic Seletion for BRF

    Hi Friends,
    Please guide me how to transport or assign a request for the changes made in BRF selecion view.
    I have assigned and added BKPF-XREF1_HD field for FB03 transaction. Its working fine as per user requirement.
    I am facing probelm to assing a transport request for that. I didn't find any transport menu in se36.
    So please provide me how to assign a TR which need to import into Production client.
    If I have to assign or create a program (standard), then please provide me the program name.
    Please reply.
    Thanks & Regards
    Sankar.
    Edited by: sankar babu on Jul 29, 2010 12:26 PM

    Solved

  • How to view changes made to Program code in PRD?

    Hi all,
    I'm currently auditing SAP landscape management and noted the following in the PRD environment:
    1. table logging is disabled (transaction SM31)
    2. profile logging is disabled
    3. transaction SM20 doesn't give anything
    4. don't have access to changes with SECR transaction.
    My question is how can I have a population of changes made directly in program codes on PRD? (without going trhough the transport manager).
    SAP R/3 release: 4.5B
    Thanks for your help

    Hi Rainatou,
    Change logs are disabled in PRD considering the database load and performance.
    The changes to program code can be better viewed in DEV by displaying the program,Utilities,Version management.
    If you want to compare to code in DEV and PROD you can use split screen editor (SE39).
    Regards,
    Babul.

  • HOW TO SEE CHANGES MADE IN VKOA SETTINGS

    Hi,
    Can anyone tell me how to see the changes made in VKOA settings.I think some one has changed the G/Ls in my VKOA settings.I want to see the who has made the changes and when and all details regarding it.
    warm regards
    Somnath Chatterjee

    Dear somnath
    In VKOA, double click any Tab which you normally make use of it.  Now on top choose "Selection - Deleted Entries".
    Thanks
    G. Lakshmipathi

Maybe you are looking for