How to make a table editable?

hi all,
do u know how to make a (ABAP Webdynpro ESS screen)  table editable?
is it through ALV or Table ?
thanks

Hi,
actually to make the table activated u have to append initial lines to ur table.so first make an internal table like of ur node then append initial lines to this and then bind it to the node.code is given below.in case of further query u can ask me.
DATA lo_nd_cn_dartdetails TYPE REF TO if_wd_context_node.
  DATA lo_el_cn_dartdetails TYPE REF TO if_wd_context_element.
  DATA ls_cn_dartdetails TYPE wd_this->element_cn_dartdetails.
  DATA lt_table TYPE wd_this->elements_cn_dartdetails.
  DATA ls_table TYPE wd_this->element_cn_dartdetails.
navigate from <CONTEXT> to <CN_DARTDETAILS> via lead selection
  lo_nd_cn_dartdetails = wd_context->get_child_node( name = wd_this->wdctx_cn_dartdetails ).
  do 5 times."(as many lines u want)
    append ls_table to lt_table.
  enddo.
  lo_nd_cn_dartdetails->bind_table( lt_table ).

Similar Messages

  • How to make an checkbox editable and uneditable within a single alv output.

    Hi,
    How to make an checkbox editable and uneditable within a single alv output depending on condition.
    I have used Reuse_alv_grid_display.
    In my output every checkbox is editable. i have used edit = 'X'.
    I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv

    >
    Mukilansap wrote:
    > I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
    Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
    Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
    regards,
    Advait

  • How to make the table scalable inside a tap control?

    Hi,
    Does anyone know how to make the table scalable inside a tap control in LabWindow CVI? I see that there is option for a panel to scale contents on resize, but not available for a tab control. Any ideas?
    Thanks a lot!
    Weiming
    Solved!
    Go to Solution.

    Hi SGIE,
    you have posted a LV-related question to the LabWindows/CVI forum: you should post it in the LabVIEW forum instead.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to make stork table in Mac numbers

    hello,
    how how to make stork tables in numbers just as what we can creat in windows excel?
    thank you

    Another way to create this type of chart is to create the pieces in separate charts and then layer them. 
    You create two stacked bar charts.  There are two rows of values in each.  The color of the bottom value is set to "no fill" to create the floating bar effect. 
    The width of the stick bar is changed by setting the gap to the maximum allowable (999%).  The "stick" chart is placed behind the other.
    For this to work, they need to be the exact same size and with the same axis values.  Setting the axis to have fixed values makes this easier.  Also, it improves the appearance to limit all the axis labels and lines to be in just one of the charts.

  • How to make field is editable in ALV  CL_SALV_TABLE only)

    Hi,
    How to make field is editable in ALV  CL_SALV_TABLE only)
    Any one has tried to make field si editable by using CL_SALV_TABLE class.
    *I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
    Please reply only if you riedin CL_SALV_TABLE class method.
    Regards
    Rajesh V
    Moderator message: not supported, please read class documentation and search for previous discussions.
    Edited by: Thomas Zloch on Mar 17, 2011 2:07 PM

    Hi Chad,
    Please refer the link,
    Edit field in alv
    Regards,
    Hema.
    Reward points if it is useful.

  • How to make Date fields Editable or Non-Editable based on Call Staus

    Hi,
    We are using CRM2007 Web GUI for Service call creation. We are using date profile to populate the dates. Here my requirement is if call status is 'Call created' then some set of date fields to be appeared in display mode(Non Editable) and some set of date fields to be appeared in change mode(Editable). How to achieve this. Kindly suggest me.
    Regards,
    Steve

    Hello,
    Kindly check the following thread which is giving many solutions for your requirement:
    Re: how to make field non-editable (display mode)
    Kind regards,
    Nicolas Busson.

  • Well how I make Rounded Table Corners (html) ?

    I use dmwr mx 2004 , well how I make Rounded,Table,Corners
    (html) ? CSS TABLES can be with Rounded Corners ?

    On Wed, 12 Dec 2007 16:40:01 +0000 (UTC), "123polis123"
    <[email protected]> wrote:
    >I use dmwr mx 2004 , well how I make
    Rounded,Table,Corners (html) ? CSS TABLES can be with Rounded
    Corners ?
    No - you have to use images.
    as already said - just google for more info
    http://www.google.co.uk/search?hl=en&q=round+corners+on+websites&btnG=Google+Search&meta=
    ~Malcolm N....
    ~

  • How to make a row editable in a click to edit table programatically?

    I have a table in my page in which I can do inline addition as well as select and add addition (which will programatically add multiple rows). And my table is click to edit (there are few editable columns in the table).
    So, suppose if I add a row say R1 by inline addition, then this row is coming as highlighted as well as selected (i.e editable). But now suppose I add another row R2 through Select and Add (which will open a popup table from where I can select multiple rows, and clicking on OK, I will add those rows programatically in the table VO), it is coming as highlighted but it is not coming as selected i.e now R1 is selected and editable but R2 is highlighted. (I have done setCurrentRow programatically but that is only making the row highlighted and not editable. Is there any way to make the row editable also programatically?

    try setEditingMode method. See if it helps.
    http://docs.oracle.com/cd/E28389_01/apirefs.1111/e10684/oracle/adf/view/rich/component/rich/data/RichTable.html#setEditingMode_java_lang_String_

  • How to make a column editable

    Hi all,
             I want a column to have checkboxes in my table where user can select at runtime.
    I added one colum to my table with Checkboxes.But the checkboxes are comming in non Editable mode.
    How to make them editable???
    My context structure is already binded to my table..now i added one ValueNode with One attribute and i binded that texts property of checkbox to the Valueattribute
    The cardinality of my ValueNode is 1..1 and selection is 0..1
    Regards
    Chandrashekar.

    Hi,
    when you added the checkbox as cell editor, then go to it's property:
    set "enable"  as true.
    set "readonly" as false.
    and create a boolean attribute "checked" in the table bode and bind it to the check box value property.
    And in the onAction of checkbox wirte the code to select or deselect the checkbox.
    and set the value as follows:
    wdcontext.nodeTable().getcurrentElement().setAttribuiteValue("checked", true);
    Regards,
    Praveen

  • How to make a table color or back ground image go on forever

    How do I make a table go on forever (to the right)? I know
    you can edit the size of the table, but if you make it larger than
    your own computer screen it makes you have to scroll left and
    right. I want to know how do I make a table go on forever with out
    making someone with a small screened computer have to scroll left
    and right.
    Thanks.,

    You can't. What is it you are trying to accomplish?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "-Michael--" <[email protected]> wrote in
    message
    news:eddbh5$a45$[email protected]..
    > How do I make a table go on forever (to the right)? I
    know you can edit
    > the
    > size of the table, but if you make it larger than your
    own computer screen
    > it
    > makes you have to scroll left and right. I want to know
    how do I make a
    > table
    > go on forever with out making someone with a small
    screened computer have
    > to
    > scroll left and right.
    >
    > Thanks.,
    >

  • How to Make a Checkbox editable in a JTable?

    I have a CustomModel inheriting from the AbstractTable Model. I make the isCellEditable( ) function in the CustomModel return true for all the columns(pl. see code snippet). One of the columns returns a Boolean value (checkbox in the table) and the rest of the columns return Strings (JLabels in the table). I can edit the all the columns which return text (JLabels), but cant seem to edit the column containing the Boolean Value (checkbox). How can I make the checkbox editable?
    Help is greatly appreciated...
    here is a piece of the sample code:
    public class CustomModel extends AbstractTableModel
    private Vector _columnMaps = null;
    private MyDefaultData _data = null;
    public SniTableModel(Vector columnMaps, MyDefaultData data)
    _columnMaps = columnMaps;
    _data = data;
    public Class getColumnClass(int col)
    Object value = getValueAt(0, col);
    if (value != null)
    return value.getClass();
    else
    return (new Object()).getClass();
    public boolean isCellEditable(int row, int col)
    return true;
    }

    Try this:
    i) extend DefaultTableModel instead of AbstractTableModel
    ii) public Class getColumnClass(int c) {
    if (this.getValueAt(0,c) == null)
    return super.getColumnClass(c);
    else
    //convert booleans to checkboxes in the table
    return super.getValueAt(0, c).getClass();

  • How to make a query editable?

    Hi,
    I would like to combine two tables to an editable view:
    Person:
    - id: varchar(50)
    - fname: varchar(50)
    - lname: varchar(50)
    FirstAider:
    - id: varchar(50)
    - firstaider: bit
    There is a 1:1 relationship between Person and FirstAider using the attribute "id".
    There are now rows in the FirstAider table yet...
    If I combine these two tables into a view, the view is not editable!
    How can I make the view editable?

    Please don't use edit screen for modifying data.
    Use SSMS query editor and write t-sql query.
    Please note that the FirstAider table is empty. I would like that a corresponding row is created automatically
    when I set the firstaider value...
    How are you setting the firstaider value? Through the screen?
    If yes just pass id corresponding to the name and do an insert.
    INSERT FirstAider (id,firstaider)
    SELECT id,1
    FROM Table
    WHERE fname = @Fname
    AND lname = @Lname
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to make ALV cell editable

    Hi ,
    I am using cl_gui_alv_grid .
    please let me know how to make a particular cell is editable
    eg:  cell corresponding to first row second column should be editabel but remaining all are non editable

    Hi,
    Loop at your internal table.
    Eg: i have total 5 fields in my internal table itab_zqmeinz. in that 3 fields are editable as below.
    declare DATA: lt_celltab TYPE lvc_t_styl.
    internal table with celltab as one of the column
    DATA: BEGIN OF itab_zqmeinz OCCURS 0. "TYPE STANDARD TABLE OF zqmseqkopf
            INCLUDE STRUCTURE zqmseqeinz.
    DATA: celltab TYPE lvc_t_styl.
    DATA: END OF itab_zqmeinz.
    LOOP AT itab_zqmeinz INTO wa_zqmeinz.
          l_index = sy-tabix.
          REFRESH lt_celltab.
          CLEAR wa_zqmeinz-celltab.
          PERFORM fill_celltab1 USING 'RW'
                                  CHANGING lt_celltab.
          INSERT LINES OF lt_celltab INTO TABLE wa_zqmeinz-celltab.
          MODIFY  itab_zqmeinz FROM wa_zqmeinz INDEX l_index.
        ENDLOOP.
    FORM fill_celltab1 USING value(p_mode)
                      CHANGING pt_celltab TYPE lvc_t_styl.
    Refresh pt_celltab.
      clear ls_celltab.
      IF p_mode EQ 'RW'.
        l_mode = cl_gui_alv_grid=>mc_style_enabled.    "to enable the required fields
      ELSE.                                "p_mode eq 'RO'
        l_mode = cl_gui_alv_grid=>mc_style_disabled.
      ENDIF.
      ls_celltab-fieldname = 'NEBENSEQUEN'.   " field1
      ls_celltab-style = l_mode.
      INSERT ls_celltab INTO TABLE pt_celltab.
      ls_celltab-fieldname = 'BEZEICHNUNG'.     "field2
      ls_celltab-style = l_mode.
      INSERT ls_celltab INTO TABLE pt_celltab.
      ls_celltab-fieldname = 'SORTIERUNG'.         "field3
      ls_celltab-style = l_mode.
      INSERT ls_celltab INTO TABLE pt_celltab.
    Endform.
    It works. I have done it in my program.
    Thanks,

  • How to make a pdf editable and save for print

    Hi,
    I just joined Adobe Cloud and it's been a while since I have used acrobat. I have made a brochure that I need a couple of things to be editable on. See below. I need the two areas highlighted in red to be editable for different locales/people. My questions are:
    A) I assume Acrobat is the way to do this. I also have FormsCentral if that works better. Can someone tell me how to make these two fields editable?
    B) What program do they edit with?  Acrobat Reader?
    C) How do they save and output it for print?
    Thank you,
    John

    This is not about what Acrobat can or can't do - and you just said they won't have it anyway. It's about the limitations of PDF. A proper solution is to develop (at some expense) a server side PDF generator that takes the user's input and makes them a custom PDF. I don't know if you can just subscribe to a service to do this. If you aren't going to have them use Acrobat, form fields are your only option. Be sure they (and you) understand the limitations and that they must use Reader (not one of the many other PDF viewers). Be sure you understand about reader enabling: many versions of Reader CANNOT SAVE filled in files unless they are specially prepared.
    So back to your original question: how do you make the fields editable: with the Forms function in Acrobat. You may have better luck in the Acrobat Forms forum.

  • How to make fields Non Editable in Web ADI

    Hi All,
    Can you please let me know how we can make fields Non Editable in Web ADI?
    Thanks,
    Anil

    Hi,
    Are you trying to make required parameters readonly and does this variable have different values for each row. If not then I would suggest you use a wrapper for the API and get only parameters that you need from the excel sheet and the use the wrapper to send the other read only values.
    Thanks

Maybe you are looking for