CL_GUI_ALV_TREE - Possible to edit the table cells in situ?

Hi
I am working on my first CL_GUI_ALV_TREE report.  The hierarchy is in place and the fields come through ok on the table side.  However,  I would now like to edit the fields.  I have the checkbox showing in the tree control and the row is set to editable.  Am I able to edit the fields in the table side in situ, as I would do in the CL_GUI_ALV_GRID control i.e. using mc_style_enabled/disabled?  These attributes are not present in the class builder so I presume not.  Is there another way? 
Cheers
Ian

Hi
module user_command_0100 input.
  DATA return TYPE REF TO cl_gui_event.
  save_ok = ok_code.
  case ok_code.
    when 'EXIT' or 'BACK' or 'CANC'.
    Exit program
      leave to screen 0.
  Process ALVtree user actions     
    when others.
      call method cl_gui_cfw=>get_current_event_object
              receiving
                 event_object = return.
      call method cl_gui_cfw=>dispatch.
  endcase.
endmodule.                 " USER_COMMAND_0100  INPUT
check this code and call method cl_gui_cfw
hope this helps u....
Reward points if useful...
Regards
Sreenivas

Similar Messages

  • How is it possible to split the table cells in Pages, Version 5.1

    How is it possible to split the table cells in Pages, Version 5.1?

    This is a feature removed in the change from Pages 09 to Pages 5.0.1.
    If you need this facility, revert to Pages 09.  If you upgraded to 5.0.1, then the earlier version is still in your Applications folder in a folder called iWork.

  • Is it possible to edit the table that contains sites with the passwords?

    for certain sites Firefox does not ask to remember the password, therefore this site will not appear in the security-table. By editing the table this problem could be bypassed.

    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Obi 10g, merge the table cells horizontally

    hi, experts,
    is it possible to merge the table cells horizontally?
    thank you very much!

    Forreging,
    Try removing left border of the cells using CSS/options in the coulmn properties.
    mark post promptly
    -bifacts
    http://www.obinotes.com
    J

  • Using column value is it possible to find the table name in the database?

    Hi all,
    using column value is it possible to find the table name in the database?
    guys i need the table value
    Note:
    oracle-9i
    for example:
    i don't know NIC(column value) in which table in the database.
    Thank you,
    with regards,
    JP.
    Edited by: Guest on Feb 27, 2012 5:42 AM

    Hi,
    As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
    1. USER_TAB_COLS
    2. ALL_TAB_COLS
    3. DBA_TAB_COLS
    4. COLS
    These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
    To know about various data dictionaries avalible in Oracle please query select * from cat;
    Let us know if you need further assistance.
    Twinkle

  • Is it possible to deactive the table ACCTIT?

    Hi. Is it possible to deactive the table ACCTIT? The table is growing up and it is causing troubles to the Basis Administrator. Should I delete or archive the table? Does it bring any problems if I need to generate reports? Does the information still exist in the system in order to generate FI reports?
    Thanks

    Hi Celeste,
    I faced the same problem at my customer , and I am sharing with you the information I have gained.
    The MM_ACCTIT archiving should be enabled to control the table growth rate. Alternatively , SAP provides a number of options to deactivate the table.
    Please check the following oss note : 48009. This is an FAQ OSS Note.
    SAP updates this table when doing posting from MM documents. When the documents are archived , you can view the archived documents using the Archive infostructure which can be activated from SARI transaction. You will observe the ACCTIT entries are very like the entries in MKPF (Material documents) table.
    Regards,
    Chandra
    Edited by: Chandrasekhar Kotillil on Jan 26, 2010 11:52 AM

  • Is it possible to find the  table based on the Date ?

    Dear Team ,
    Is it possible to find the table based on the Date ?
    I have created an table ,But forgot the Table Name .
    Is it possible to find the Tables created on particular Date .
    Regards ,
    Augustine

    as date is record the time also below query will work.
    select * from user_objects
    where
    object_type = 'TABLE' and
    to_date(created,'DD-MON-YYYY') =to_date('<your date value in DD-MON-YYYY format>','DD-MON-YYYY');
    Edited by: shaileshM on Feb 24, 2010 9:39 PM

  • How to highlight the table cell color in respective colors as needed per the requirements??

    var aData = [
        {notificationNo: "10000000", description: "Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000010", description: "Genreal Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
        {notificationNo: "10000011", description: "boiler Maintenance", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000012", description: "Pump breakdown", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000013", description: "External service boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
    jQuery.sap.require("sap.ui.model.json.JSONModel");
    var oEnterpriseAsset_NotificationConsole;
    sap.ui.model.json.JSONModel.extend("EAM_Notification_Console", {
        CreateNotificationConsole:function(){
            oEnterpriseAsset_NotificationConsole = this;
                var oTable = new sap.ui.table.Table({
                //title: "Table Example",
                visibleRowCount: 7,
                firstVisibleRow: 3,
                selectionMode: sap.ui.table.SelectionMode.Single,
            /*    toolbar: new sap.ui.commons.Toolbar({items: [
                    new sap.ui.commons.Button({text: "Button in the Toolbar", press: function() { alert("Button pressed!"); }})
                extension: [
                    new sap.ui.commons.Button({text: "Button in the Extension Area", press: function() { alert("Button pressed!"); }})
            }).addStyleClass("tableform");;
            oTable.addColumn(new sap.ui.table.Column({
            label: new sap.ui.commons.Label({text: "Notification"}),
            template: new sap.ui.commons.Link().bindProperty("text", "notificationNo").bindProperty("href", "href",
                    function(aValue)
            //    sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                width: "200px"
            oTable.addColumn(new sap.ui.table.Column({
                label: new sap.ui.commons.Label({text: "Description"}),
                template: new sap.ui.commons.Link().bindProperty("text", "description").bindProperty("href", "href"),
                //sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                //width: "200px"
            var oModel = new sap.ui.model.json.JSONModel();
            oModel.setData({modelData: aData});
            oTable.setModel(oModel);
            oTable.bindRows("/modelData");
        var idForTable= "DimTable"
            //alert("id of tbale " + idForTable);
            var htmlOutput = '<table id=' + idForTable + ' name="DimTab" style="border: 1px solid black;margin-left:15px;" cellpadding=6 cellspacing=0><tr style="background-color:#E5E5E5"><td><b>Dimension</b></td><td><b>Value</b></td></tr>';
            for(var i=0;i<aData.length;i++)
             alert(aData[i].notificationNo);
            htmlOutput += '<tr style="display:none;"><td style="border-right:1px solid #e5e5e5;">Contract No</td><td>'+ aData[i].notificationNo+'</td></tr>';
            htmlOutput += '<tr style="display:none;"><td  style="border-right:1px solid #e5e5e5;">Unit No</td><td>'+ aData[i].description+'</td></tr>';
            htmlOutput += '</table>';   
             var html2 = new sap.ui.core.HTML({
                 // static content
                 //content : "<div style='position:relative;background-color:white;'>Weather</div><script src='//www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/builtin_weather.xml&synd=open&w=320&h=200&title=__MSG_weather_title__&lang=en&country=ALL&border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&output=js'></script>",
            content : htmlOutput,
                  //2 wrkng sydney content : '<div id="cont_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><div id="spa_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><a id="a_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/australia/sydney_v37463/" target="_blank" style="color:#333;text-decoration:none;">Weather forecast</a> © weather</div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"></script></div>',
                  //content : '<div style="margin-left:-10px;margin-top:10px;width:100%;"><LINK rel="StyleSheet" href="http://weatherandtime.net/new_wid/w_5/style.css" type="text/css" media="screen"><div class="ww_5" id="ww_5_2119"><div class="l_b"></div><div class="c_b"><div class="day" id="d_0"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_1"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_2"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="cl"></div><div class="links"><a target="_blank" title="Pune Weather forecast" href="http://weatherandtime.net/en/Asia/India/Pune-weather.html">Pune Weather forecast</a><br><a style="font-size:12px !important;color:#12A0D7 !important;text-decoration:none !important;" href="http://weatherandtime.net/en/widgets-gallery.html" title="weather"></a></div></div><div class="r_b"></div></div><script type="text/javascript" src="http://weatherandtime.net/w_5.js?city=2119&lang=en&type=2&day=3"></script></div>',
              // initially behaves the same as Sample 1
                 preferDOM : false,
                 // use the afterRendering event for 2 purposes
        return     oTable;
    /* In the screen shot as u can see.. I have to highlight the table cell in green color and red color for ordered and unordered status(which is binded to a json data) respectively....anyone please help??

    Hi Abhi,
                   Check this link it may helpHow I made highlight of specific values in Table

  • Is it possible to delete the table of contents in a pdf but keep the bookmarks?

    Is it possible to delete the table of contents in a pdf but keep the bookmarks?

    If the TOC is located on certain pages, you can simply delete those (from the Pages panel).
    Make sure it doesn't screw up with how your bookmarks work, though...

  • Is it possible to 'edit' the Lift Adjustment

    Is it possible to 'edit' the Lift & Stamp Adjustment.  I want to change the crop information without losing other information.  Obviously my workflow has to be changed.  I find that when I crop to 11" x 14" and then send out to be printed @ Costco, they advise that the crop is wrong & I will lose some of the image.  My thought is to recrop in PhotoShop and then bring it back into Aperture for re-processing.
    Any ideas?

    No it's not possible to change the values in the lift and stamp tool.
    However I don;t think you have to. Are you sure when you export thr image for sending to Costco you are exporting with the correct size? Remember the crop tool only gives you the aspect ratio of the image. The size is set when you export it.

  • Is it possible to edit the QaaWS SQL?

    We are trying to sort the results returned from QaaWS. Is it possible to edit the SQL query and add an "order by"?

    No it's not possible to change the values in the lift and stamp tool.
    However I don;t think you have to. Are you sure when you export thr image for sending to Costco you are exporting with the correct size? Remember the crop tool only gives you the aspect ratio of the image. The size is set when you export it.

  • Is it possible to edit the MS-Word "Print It!" on a standalone topic?

    Is it possible to edit the MS-Word "Print It!" on a standalone topic?
    The topic would need to be edited in the Topic Editor and republished for the edits to be included in the standalone topic.
    Best regards,
    Marc

    This has been posted to the UPK forum:
    Is it possible to edit the MS-Word "Print It!" on a standalone topic?
    Best regards,
    Marc

  • Restricting data in the table cell

    Hi,
    I want to know how to restrict the data entereed in the table cell not more than 10 characters. How can i handle this.

    You need to supply your own cell editor instead of using the default one. Create a subclass of JTextField that consumes the keyPressed event when the text length is 10 characters, and call:
    theTableColumn.setCellEditor(new DefaultCellEditor(theTextField));

  • How i can access and edit the table of database(.mdb) file through Labview

    Dear sir,
    I want to access and edit the table of database(.mdb) file through Labview and it should save.
    please tell me how i can do it.
    i am waiting for reply.
    regards
    Rajendra

    there are options aplenty for this.  First off, do you have the database connectivity toolset?  If so, You can do it from there.  Following the examples in labview. Or you can do a search for ADO or access database, and find plenty of VIs that can do this. 
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • SOLVED: Editing a table cell won't update corresponding ViewObject

    Hi,
    I'm asking for your help.
    I want to update a ViewObject with userinput from jTableCells. The JTable that has been constructed by JDev based on this ViewObject. The attributes of this ViewObject are the result of a SQL query using the NVL() function.
    The Problem is that changing cell values does not update the ViewObject. I guess NVL() causes this. Right?
    As a solution I'd like to add a TableModelListener to the table and take care that changes to cell-data find their way into the right ViewObject attribute. Is this the right solution?
    How can I add a working TableModelListener?
    My try:
    jTable1.getModel().addTableModelListener(new MyTableModelListener());
    The TableModelEvent, that MyTableModelListener gets, always returns "-1" for getColumn(). Why?
    Is there another way to get the current row and column (where the cell-edit takes place)?
    I hardly know anything about ADF, panelbindings and so on, so don't back off with answers that my appear too simple or obvious to you.
    Regards, MaeSiuS
    Message was edited by:
    MaeSiuS

    Hi Frank,
    yes, it is based on EntityObjects.
    For a test, I replaced one of the NVL() based attributes with the plain attribute of the EntityObject, but that had no effect on the update disability.

Maybe you are looking for

  • Which DDL does Weblogic use?

    How does weblogic determine which DDL to use when creating JMS persistent store?

  • Checks For Payment Printing Overflow

    Using SAP BO 8.8 when printing a check from an outgoing payment with more than 5 invoices the invoices will overflow on to another page. 1. The overflow pages are printed first, so the top page in the printer is an overflow page instead of the check.

  • Debug Easy DMS system

    Hi guru's - I am working on SAP Easy DMS (Document Management System).. Business has asked me to suppress a pop-up box, using trace I have found the BAPI call that is causing the pop-up.. Now I need to find exact location of the code that is causing

  • Api for creating perspectives - does it exist??

    Hi Does anyone know if there exists an api for creating perspectives? Torstein

  • Streaming works great, just not for photos

    Our iMac can stream iTunes content with ease after setting it up as a sharing computer. Podcasts, music, & movies share perfectly, but even after selecting the appleTV settings in itunes to allow sharing with all our iphoto events we are having probl