Make  columns editable in a selected row of SALV

Hello ,
I have a requirement,im using SALV for listing  some records,On lead select of a row in SALV,i need to make two columns of that selected row editable and make the remaining in display mode.
Useful answers would be rewarded.

Hi Reema Elsy Easow,
                           Changing the type of a single field in a column is i think not possible. you can make whole column editable.
I will suggest you a solution-- when a row is selected for editting , you can display that row  in another alv or table with single row and provide the record for editiing.
Regards
Sarath

Similar Messages

  • (JTable) How can i get the first columns cell in a selected row?

    Hello. I am trying to figure out how i can get the first columns cell within a selected row no matter what cell is selected in that row. I have a class that extends AbstractTableModel which represents the table. Now i have another class that extends DefaultSelectionModel. Each model is added to the JTable via setModel(TableModel dataModel), setSelectionModel(ListSelectionModel newModel). Now i don't understand what i have to return from getMaxSelectionIndex(). Any ides? Thanks.
      class xTableModel extends AbstractTableModel{
         private static String[] cols;
         private Object[][] data;
            public void setTableModel(Object data[][], String[] cols){
             this.cols = cols;
             this.data = data;
            public String getColumnName(int col){
             return cols[col];
            public int getRowCount() {
             return data.length;
            public Object getValueAt(int row, int col) {
             return data[row][col];           
            public void setValueAt(Object value,int row,int col){
             data[row][col]=value;
            public int getColumnCount(){
             return cols.length;
    class ColumnListenerModel extends DefaultListSelectionModel{
         public int getMaxSelectionIndex(){}

    int row = table.getSelectedRow();
    Object data = table.getValueAt(row, 0);

  • How to make column editable in Normal ALV report

    Hi experts,
                       I Have one push button In ALV tool bar like Fields to be change..when i click this..i need to get one pop up with all fields which is having in Filedcatalog..so i need to doule click on any field which i want to be midified..then in ALV that particular entire  column should be editable.Can anybody please help me what is procedure to get pop up with fields..
    Thanks & regards,
    Veena..

    here is the required code
    type-pools: slis.
    types: BEGIN OF TY_MKPF,
            MBLNR TYPE MKPF-MBLNR,
            MJAHR TYPE MKPF-MJAHR,
            VGART TYPE MKPF-VGART,
            BLART TYPE MKPF-BLART,
            BLAUM TYPE MKPF-BLAUM,
          END OF TY_MKPF.
    TYPES:         BEGIN OF TY_WA, "STRUCTURE FOR POP UP ALV
                   CHECK TYPE C,
                   FIELDNAME TYPE DFIES-FIELDNAME,
                   FIELDTEXT TYPE DFIES-FIELDTEXT,
    END OF TY_WA.
    data: lt_mkpf type table of ty_mkpf,
          ls_mkpf type mkpf,
          IT TYPE TABLE OF TY_WA,  "INTERNAL TABLE FOR POP UP ALV
          WA TYPE TY_WA,           "WA FOR POP UP ALV
          IT_FCATP TYPE SLIS_T_FIELDCAT_ALV, "FCAT FOR POP UP ALV
          WA_FCATP LIKE LINE OF IT_FCATP, "WA FOR POP UP ALV
          ok_code type sy-ucomm,
          lt_fcat type lvc_t_fcat,
          ls_fcat type lvc_s_fcat.
    data: o_alv type ref to cl_gui_alv_grid,
          o_doc type ref to cl_gui_docking_container.
    start-of-selection.
    select  MBLNR
            MJAHR
            VGART
            BLART
            BLAUM
    into corresponding fields of table lt_mkpf from mkpf up to 100 rows.
    *---create fieldcatalog
    clear ls_fcat.
    ls_FCAT-FIELDNAME = 'MBLNR'.
    *WA_FCAT-TABNAME = WA-TABNAME.
    ls_FCAT-REF_TABLE = 'MPKPF'.
    ls_FCAT-REF_FIELD = 'MBLNR'.
    APPEND ls_FCAT TO lT_FCAT.
    clear ls_fcat.
    ls_FCAT-FIELDNAME = 'MJAHR'.
    *WA_FCAT-TABNAME = WA-TABNAME.
    ls_FCAT-REF_TABLE = 'MPKPF'.
    ls_FCAT-REF_FIELD = 'MJAHR'.
    APPEND ls_FCAT TO lT_FCAT.
    clear ls_fcat.
    ls_FCAT-FIELDNAME = 'VGART'.
    *WA_FCAT-TABNAME = WA-TABNAME.
    ls_FCAT-REF_TABLE = 'MPKPF'.
    ls_FCAT-REF_FIELD = 'VGART'.
    APPEND ls_FCAT TO lT_FCAT.
    clear ls_fcat.
    ls_FCAT-FIELDNAME = 'BLART'.
    *WA_FCAT-TABNAME = WA-TABNAME.
    ls_FCAT-REF_TABLE = 'MPKPF'.
    ls_FCAT-REF_FIELD = 'BLART'.
    APPEND ls_FCAT TO lT_FCAT.
    clear ls_fcat.
    ls_FCAT-FIELDNAME = 'BLAUM'.
    *WA_FCAT-TABNAME = WA-TABNAME.
    ls_FCAT-REF_TABLE = 'MPKPF'.
    ls_FCAT-REF_FIELD = 'BLAUM'.
    APPEND ls_FCAT TO lT_FCAT.
    *---collect the field names of alv in a itab
    clear wa.
    WA-FIELDNAME = 'MBLNR'.
    WA-FIELDTEXT = 'Number of Material Document'.
    APPEND WA TO IT.
    clear wa.
    WA-FIELDNAME = 'MJAHR'.
    WA-FIELDTEXT = 'fiscical year'.
    APPEND WA TO IT.
    clear wa.
    WA-FIELDNAME = 'VGART'.
    WA-FIELDTEXT = 'Transaction/Event Type'.
    APPEND WA TO IT.
    clear wa.
    WA-FIELDNAME = 'BLART'.
    WA-FIELDTEXT = 'Document Type'.
    APPEND WA TO IT.
    clear wa.
    WA-FIELDNAME = 'BLAUM'.
    WA-FIELDTEXT = 'Document type of revaluation document'.
    APPEND WA TO IT.
    *----------create field catalog
    CLEAR WA_FCATP.
    WA_FCATP-FIELDNAME = 'CHECK'.
    WA_FCATP-SELTEXT_M = 'Selection Field'.
    WA_FCATP-TABNAME = 'IT'.
    APPEND WA_FCATP TO IT_FCATP.
    CLEAR WA_FCATP.
    WA_FCATP-FIELDNAME = 'FIELDNAME'.
    WA_FCATP-TABNAME = 'IT'.
    WA_FCATP-REF_TABNAME = 'DFIES'.   "CHECK IN SE11 TYPE GROUP SLIS
    WA_FCATP-REF_FIELDNAME = 'FIELDNAME'. "CHECK IN SE11 TYPE GROUPB u201CSLIS
    APPEND WA_FCATP TO IT_FCATP.
    CLEAR WA_FCATP.
    WA_FCATP-FIELDNAME = 'FIELDTEXT'.
    WA_FCATP-TABNAME = 'IT'.
    WA_FCATP-REF_TABNAME = 'DFIES'.   "CHECK IN SE11 TYPE GROUP SLIS
    WA_FCATP-REF_FIELDNAME = 'FIELDNAME'.  "CHECK IN SE11 TYPE GROUPB SLIS
    APPEND WA_FCATP TO IT_FCATP.
    CLEAR WA_FCATP.
    call screen 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '100'.
    *  SET TITLEBAR 'xxx'.
      if o_doc is not bound.
    CREATE OBJECT O_DOC
      EXPORTING
        RATIO                       = 95.
    CREATE OBJECT O_ALV
      EXPORTING
        I_PARENT          = o_doc.
      endif.
    CALL METHOD O_ALV->SET_TABLE_FOR_FIRST_DISPLAY
      CHANGING
        IT_OUTTAB                     = lt_mkpf
        IT_FIELDCATALOG               = lt_fcat.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
    WHEN 'BACK'.
    CLEAR :O_ALV,
           O_DOC.
    LEAVE TO SCREEN 0.
    when 'CHNG'.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
      EXPORTING
       I_TITLE                       = 'select fields to make it editable'
       I_ZEBRA                       = 'X'
       I_CHECKBOX_FIELDNAME          = 'CHECK'
        I_TABNAME                     = 'IT'
       IT_FIELDCAT                   = IT_FCATP
      TABLES
        T_OUTTAB                      = it.
    loop at it into wa where check = 'X'.
    *---change fieldcatalog dynamacally
    case wa-fieldname.
    when 'MBLNR'.
    read table lt_fcat into ls_fcat with key fieldname = wa-fieldname.
    if sy-subrc = 0.
    ls_fcat-edit = 'X'.
    endif.
    when 'MJAHR'.
    read table lt_fcat into ls_fcat with key fieldname = wa-fieldname.
    if sy-subrc = 0.
    ls_fcat-edit = 'X'.
    endif.
    when 'VGART'.
    read table lt_fcat into ls_fcat with key fieldname = wa-fieldname.
    if sy-subrc = 0.
    ls_fcat-edit = 'X'.
    endif.
    when 'BLART'.
    read table lt_fcat into ls_fcat with key fieldname = wa-fieldname.
    if sy-subrc = 0.
    ls_fcat-edit = 'X'.
    endif.
    when 'BLAUM'.
    read table lt_fcat into ls_fcat with key fieldname = wa-fieldname.
    if sy-subrc = 0.
    ls_fcat-edit = 'X'.
    endif.
    endcase.
    modify lt_fcat from ls_fcat index sy-tabix transporting edit.
    clear ls_fcat.
    endloop.
    *---change fieldcatalog dynamically
    CALL METHOD O_ALV->SET_FRONTEND_FIELDCATALOG
      EXPORTING
        IT_FIELDCATALOG = lt_fcat
    *CALL METHOD O_ALV->REFRESH_TABLE_DISPLAY
    **  EXPORTING
    **    IS_STABLE      =
    **    I_SOFT_REFRESH =
    **  EXCEPTIONS
    **    FINISHED       = 1
    **    OTHERS         = 2
    *IF SY-SUBRC <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Edited by: zjason on Dec 29, 2010 7:47 AM
    Edited by: zjason on Dec 29, 2010 7:52 AM
    Edited by: zjason on Dec 29, 2010 7:54 AM

  • How to get column value of a selected row of ALV

    Hello ,
    I have application POWL POWL_UI_COMP uses  another component  POWL_TABLE_COMP.
    This POWL_TABLE_COMP uses SALV_WD_TABLE.
    I want to select value of ORDER id and it need to be passed whenever user selects a display order button(Which is self defined function generated in POWL_TABLE_COMP) . I am calling a display order on action of this display button(http://nap60.nalco.one.net:8042/sap/bc/webdynpro/sap/mt_order_app?IV_ACTIVITYTYPE=A&IV_EQUIPMENT=aaaa&IV_ORDERID=90001511&IV_ORDERTYPE=STD&IV_QMNUM=00&IV_TPLNR=00)
    ORDERID is one column value of selected row of ALV table.
    So please can you suggest , how to read ORDERID and pass it to the self defined function..
    thanks in advance,
    Sharada

    Anoop,
    I have plcaed this code in event handler of  on_lead_select.
    Its giving error  the element doesnt exist. 
    static_attributes should give me row data but it's giving short dump saying
    Pl can you suggest.
    data:   set_of_element type WDR_CONTEXT_ELEMENT_SET,
            element1 type ref to IF_WD_CONTEXT_ELEMENT,
            result type POWL_CRESULT_STY,
            table_helper type ref to CL_POWL_TABLE_HELPER,
          context_node type ref to IF_WD_CONTEXT_NODE,
           lt_selected_elements TYPE wdr_context_element_set,
           static_attributes type ref to data.
      table_helper = wd_comp_controller->mr_table_helper.
      context_node = table_helper->get_data_node( ).
      context_node = wd_comp_controller->mr_table_helper->get_data_node( ).
      context_node->get_static_attributes( exporting index = r_param->index
                                          importing static_attributes = static_attributes ).
    thanks,
    Sharada

  • To make Column editable in incoming excise invoice form

    Dear All,
    i want user defined matrix column field to be editable in incoming excise invoice form .
    i tried
    oMatrix.Columns.Item("U_mnfDet").Editable = true;
    while use this code add-on failed.
    Give me any another solution on this or code to make that user defined column to be editable.
    Regards,
    Sumeet Vaity

    Thanks Rahul ,
    But any another option that i want to insert the value like Excise invoice docnum as well as GRPO DocNum. with use of application.
    because i want reference of incoming excise invoice while punching outgoing excise invoice.
    please help me on this situation.
    Regards,
    Sumeet Vaity

  • Setting Non-Editable property for selected Rows in jTable

    Hi,
    I want particular rows to be set non-editable within a jTable. For example. If I have seven rows as follows:
    1
    2 - (Non-editable)
    3
    4
    5 - (Non-editable)
    6
    7
    I want to set non-Editable property to the second & Fifth Rows(say) alone. Other Rows, I may edit.
    How can I do this?
    Thanks in adv.

    TableModel has method
    boolean isCellEditable(int rowIndex,
    int columnIndex)
    so you need to make your table model return false for these rows.

  • How to Edit selected row in ALV

    Hi Experts,
                    I new to webdynpro ABAP. How to Edit the entire selected row in ALV. Please suggest?
    Thanks in advance.

    Hi,
    I guess you have created the node as dynamic and also set this to the ALV..
    1.  Have you created READ_ONLY attribute of type wdy_boolean inside the node to which the ALV is bound..If not create it first and set the default value for this readonly as abap_true...ie X.
    2.  Got the contents in the internal table.
    bind the table to the node..
    3.Instantiate the ALV.
    4. Now get teh column refrences of this ALV using the cl_salv_wd_config_table..and for columns
    use the cell editor type as cl_salv_wd_uie_input_field...
    loop through the column references and for all refrences create an object of type Input field and inside this class
    use the method set_read_only_field_name ( 'READ_ONLY' ).
    For the table settings if_salv_wd_table_settings of cl_salv_wd-config_table.. set the read only mode as abap_false..
    5 create the custom button in the ALV using the cl_salv_wd_fe_button..
    6 In this go for the events ON_FUCNTION and inside this method..do the coding
    7 .Initially the table will  be set to non editable..
    In the button handler....
    Get the refernece of this node to which the ALV is bound.....
    lr_node = wd_context->get_child_node( 'VBAK' ).  "dynamic node name
    lv_index  = lr_node->get_lead_selection_index ( ).
    loop at it_table into ls_table.
    if sy-tabix eq lv_index.
    ls_table-read_only = abap_false.  "editable
    else.
    ls_table-read_only = abap_true. "non editable
    endif.
    modify table
    endloop.
    lr_node->bind_table( lt_table ).
    If you have any doutbs just refer the previous thread posted on the same..
    You can follow the above steps to acheive thjs..
    Regards,
    Lekha.
    Edited by: Lekha on Dec 17, 2009 6:10 PM

  • Interactive Report: how to get value of given row/col cell in selected row

    Hi -- I have an interactive report. Instead of the default behavior of the link going to a single row view, I want it to
    go to a form for editing the row. This means I have to be able to populate the form w/ the correct row's information...
    so need to get the value(s) for the PK column(s) in the selected row of the interactive report, so I can select the row
    from the database.
    How can I do this? I see in the report attributes, Link Column section, I can set Rows Uniquely Identified by, and a Unique
    Column (though there could be more than one in a PK). I imagine I'd want to use the rowid, but I'm not sure how the
    rowid of the selected IR row can be referenced. And at that point, I'm not sure how to get the IR column value for
    that row. (Say I'm on the 8th row and I need the first column... How is the column referenced? By a number, it's name,
    its heading?)
    Or maybe I'm not on the right track at all...
    Ideas?
    Thanks,
    Carol

    Hi Carol,
    What I´m trying to do is: defining a button such as when you click it a pl-sql procedure is called, which needs as an input parameter the id of the row selected in my form. what I need first, then, is to get the id of the selected row. how did you get it?
    Thanks in advance
    Francesco

  • Af:table: copy values of currently selected row to other attribute bindings

    Hello,
    I'm using JDev 11g.
    Copying a value from one attribute value binding to another one is easy when you are clicking a button, with a setActionListener:
    <af:setActionListener from="#{bindings.SourceField.inputValue}" to="#{bindings.DestinationField.inputValue}"/>What I want to do is the same behaviour, but instead of clicking a button, the triggering event should be the selection of a row on an af:table. The source field is a column of the currently selected row. The destination is another attribute value binding outside of the table.
    Jspx:
    <af:table value="#{bindings.EmployeesView1.collectionModel}" var="row">
      <af:column ... >
        <af:inputText value="#{row.bindings.SourceField.inputValue}" ... />
      </af:column>
    </af:table>
    <af:inputText ... value="#{bindings.DestinationField.inputValue}" />
    ...Page Def:
    <bindings>
      <tree IterBinding="EmployeesView1Iterator" id="EmployeesView1">
        <nodeDefinition ... >
          <AttrNames>
            <Item Value="SourceField"/>
          </AttrNames>
        </nodeDefinition>
      </tree>
      <attributeValues IterBinding="EmployeesView1Iterator" id="SourceField">
        <AttrNames>
          <Item Value="SourceField"/>
        </AttrNames>
      </attributeValues>
      <attributeValues IterBinding="SomeOtherIterator" id="DestinationField">
        <AttrNames>
          <Item Value="DestinationField"/>
        </AttrNames>
      </attributeValues>
    </bindings>What needs to happen in this simplified case is everytime a row is selected in the table, the value of the SourceField column (that also has an attribute value binding) should be copied to the DestinationField of some other iterator. Analogous to the setActionListener, but without a button. And in the real case, there are more columns of the selected row that need to be copied to more fields.
    How can this be done? I already created a custom selectionListener for the table in a backing bean. In this selectionListener, the first thing I do is call the default "#{bindings.EmployeesView1.collectionModel.makeCurrent}". Then I fetch the current row, which is also no problem. So I now have access to the value of SourceField in my selectionListener in the backing bean. The only thing that is left now is copying this value to the "#{bindings.DestinationField.inputValue}" in Java, and that's where I'm stuck. :-)
    Or even better ofcourse, is there a declarative way to do this without Java code?
    Help would be greatly appreciated!
    Chris

    Hi Chris,
    You should be able to use this utility method from JSFUtils class (part of FOD)
        public static void setExpressionValue(String expression, Object newValue) {
            FacesContext facesContext = getFacesContext();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
                elFactory.createValueExpression(elContext, expression,
                                                Object.class);
            //Check that the input newValue can be cast to the property type
            //expected by the managed bean.
            //If the managed Bean expects a primitive we rely on Auto-Unboxing
            Class bindClass = valueExp.getType(elContext);
            if (bindClass.isPrimitive() || bindClass.isInstance(newValue)) {
                valueExp.setValue(elContext, newValue);
        }edit... just realized you need this too
        public static FacesContext getFacesContext() {
            return FacesContext.getCurrentInstance();
        }John

  • How to make cell editable alv in WebDynpro for ABAP?

    I make Column editable ALV.(See under source code)
    But I can't make Cell editable ALV.
    How to make Cell editable ALV in WebDynpro for ABAP?
    and..how to get changed data?
    DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    * { EDITABLE
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_input_field     TYPE REF TO cl_salv_wd_uie_input_field,
            lr_column          TYPE REF TO cl_salv_wd_column.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'TOTAL_COUNT'.
      lr_column->set_cell_editor( lr_input_field ).
      DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).

    the code seems to be correct....but where are you writing it?
    put the code in the wddoinit method and it should work.
    have a look at this article..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1

  • How to make column editbale

    Hi,
    I have a doubt in Table UI Element.Can we made columns editable in Table through programatically.When i am trying in  using this code.it  is giving the error saying that you cann't create instance of CL_WD_INPUT_FILED in the same class or its sub classes.if it is so then how do i get instance of input field to make column editable. Please give me the solution ASAP.
    method wddomodifyview .
    data: obj_table type ref to cl_wd_table,
          lr_column type ref to cl_wd_table_column,
          lr_input type ref to cl_wd_input_field.
    obj_table ?= view->get_element( 'TABLE1'  ).
    obj_table->set_visible_row_count( value = 50  ).
    lr_column = obj_table->get_column(
                   id         = 'PRICE'
    *              INDEX      = INDEX
    lr_column->set_table_cell_editor( the_table_cell_editor = lr_input  ).
    endmethod.
    Thanks in Advance,
    Suman.

    Hi
    Change your coding like this it will work
    data: obj_table type ref to cl_wd_table,
          lr_column type ref to cl_wd_table_column,
          lr_input type ref to cl_wd_input_field.
    obj_table ?= view->get_element( 'TABLE1'  ).
    obj_table->set_visible_row_count( value = 50  ).
    lr_column = obj_table->get_column(
                   id         = 'PRICE'
    *              INDEX      = INDEX
    lr_input = cl_wd_input_field=>new_input_field(
    id = 'IPFIELD'
    bind_value = 'NODE.PRICE' ).
    lr_input->SET_READ_ONLY(  '  '  ).
    lr_column->set_table_cell_editor( lr_input  ).
    Hope this helps U
    Regards
    Tamil

  • Dynpro table - footer and highlight selected row

    I have two questions reg. tables: WebAS 6.40 SP13
    a) Although I set the property footerVisible to false, I do still have this navigation footer visible. Is there another condition which must be met in order to hide it (e.g. design alternating works only in readOnly mode)?
    b) Is there a way to have selectionMode Single without this box in the first column (only highlighting the selected row with this orange frame).
    Thanks F.

    Thanks folks for your support. Maybe I should have described what I am going to do: I want to realize a table where the first two columns are fixed, while the rest of the columns are scrollable (horizontally).
    I have used two tables, both referring to the same model (singleton). The second table (to the right) is in a scrollable container, so I can scroll horizontally. For the user this looks like one table, only the second part is scrollable. All works fine, except for the two things I have posted:
    a1) Since I already have a footer for navigation in the first table, I want to hide the one in the second table.
    a2) In the NWStudio the footer is hidden when I set footerVisible false, but in the Browser it is still there.
    b1) Since I have already the lead selection boxes in the first table, I do not need it in the second.
    b2) However, I still want to indicate the selected row (spanning two tables). Since the same(!) model data are used, this works when I have selection mode single. I do not even have to program anything, any selection in the first table highlights the same row in the second - only I do not want to have the boxes twice.

  • Editing Cell Column of a selected row in UI table element.

    Hi Experts,
    I have a UI Table Element with three columns. First two columns are input fields in read only mode. Third column is a text edit field.
    Now when I Select a row and press a button 'EDIT' i want that particular rows third column CELL alone to be in editable mode.
    In order to achieve this, I created a WDY_BOOLEAN attribute in the same node which is used to bind the table. I binded this attribute to the READ ONLY property of third column.
    In the EDIT button i wrote the following code.
    lo_el_n_stp->set_attribute(
    EXPORTING
       name = 'A_EDIT'
       value = ' ' ).
    Here A_EDIT is the name of the attribute.
    When i do this, my first rows third column is only going to EDIT mode and not the row which i selected.
    Please tell me how to solve this problem.
    Thanks in advance.

    Hi thanks for your reply.I have already tried this, the problem is i am not getting the seleted row value by using the below code
    l
    lo_nd_node1->get_static_attributes(
    IMPORTING
    static_attributes =  ). "here you will get the selected row
    Its giving me the first row value.
    Edited by: Delphi on Mar 11, 2010 11:52 AM

  • How To Edit Selected Row In ALV Table

    Hello Experts,
    In My Webdynpro Application, I am displaying records from database table into an ALV Table.
    I want to edit only selected record from  ALV table.
    Please Suggest How to achieve this.
    Thanks,
    Pratibha

    The link given above is for the UI element 'Table' and does not pertain to ALV.
    To Make an ALV Editable on lead selection for that particular lead selected row.
    1. The ALV should be made lead selectable, when initializing
    2. The ON_LEAD_SELECT function should be invoked.
    3. Withing this function the index has to be retrieved to know which row was selected.
    4. Based on the index retrived all the columns have to pass FALSE to read_only in the column properties.
    Regards,
    Pramod

  • Column inputText Readonly/Editable base on selection in Multiselect Table

    Hi All,
    I am using Jdev 10.1.3.4.
    I am having a ADF multiselect table. I want to make a column inputText readonly/editable base on the row selection.
    Let say, if I select the 1st row checkbox the corresponding inputText has to be editable. While deselecting it has to be readonly.
    How can I do this?
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Arun,
    Thanks for your valuable suggestion.
    I will write a method for calculation in AMImpl,will expose it to the client interface and execute it from the backing bean.
    But, this calculation need to be done for each selected row. Now my question is as I am using selectBooleanCheckbox(not tableSelectMany component),how can I get the selected rows in the AmImpl method?
    Please advise me.
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Error Message "No logical port exists to call web services" installing SM7

    I am trying to use SLM to download a service stack.  However, the option is not available in step 2.5.  There is an error message "No logical port exists to call web services".  I have performed the Wizard install, but the Wizard seems to have left o

  • HELP-highlighting text in Word with Snow Leopard...

    I am on my MBP, working within a virtual course dealing w/ Word 2010.... within the coursework, I have to highlight text within the examples I'm working on, in order to move to the next step in the tutorial... I'm having a hard time getting the highl

  • New Laptop for PS CS6 and LR5

    I have a new Windows 8 laptop and need to install PS CS6 (an upgrade on former laptop) and LR5 (also an upgrade).  The new laptop doesn't have an optical drive.  I also can't locate my PShop serial number.

  • Why does Aperture duplicate my raw files?

    I downloaded the Aperture demo a week and a half ago and started working on some photos which were on my hard drive. There was an enclosing folder with the name NAfricaSahara, and then within that folder 22 folders organized by date. There were about

  • Need help with Shapes in Numbers

    I have input arrows within my document to show information flow and it looks fine when I am working with the document but when printed, the arrows have changed their spacing and even have moved into the text.  How do I keep the arrow shape where I wa