Editable column in tree with columns

Hello,
I’m constructing a tree with columns with CL_GUI_COLUMN_TREE class and I want to set one of the columns as text type and editable.
¿Do you know how? If I could do it with another class I would also be glad to try it.
Thanks.

Hi,
Please refer the links,
Tree element: How to make nodes editable
CL_GUI_COLUMN_TREE editable?
Regards,
Hema.
Reward points if it is useful.

Similar Messages

  • REP-1241 Circular column dependency originating with column

    Dear,
    I receive the error,
    REP-1241 Circular column dependency originating with column 'cenvat_opening'
    I have the following return statement for a column total_credit;
    function total_creditFormula return Number is
    begin
    Return (return nvl(:cf_cenvat_closing ,0) - nvl(:cf_duty_on_goods_ed,0);
    end;
    Now i am using this total_creditFormula for the error formula column 'cenvat_opening'
    function cenvat_openingFormula return Number is
    f_num_opn number(14,2);
    begin
    SELECT NVL(Amount,0) INTO F_NUM_OPN
    FROM Fin_Ex_Pla_Debit_Others
    WHERE FISCAL_YR_CD = :P_FISCAL_YR
    AND PERIOD_NO = :P_PERIOD
    AND ADD_TYPE = 'I';
    RETURN(F_NUM_OPN);
    EXCEPTION
         WHEN NO_DATA_FOUND THEN     
         RETURN (:total_credit); <------------
    end;
    here the formula column 'total_credit' has the following return statements;
    RETURN Nvl(:cenvat_opening,0) + Nvl(:cenvat_credit_manu,0)
    so how can i use this formula column? is there any other option to return the value in the same column.
    I hope you understand,
    Pls help,
    Stalin Ephraim

    Hi,
    Iam presuming here that your report contains atleast 2 queries, with each requiring the other to be executed first. The query listed in the message is one of the conflicting queries.
    You may want to edit the query listed or another conflicting query to remove the circular dependency.
    Regards
    The Oracle Reports Team

  • Can I format pages differently?  page one with no columns page 2 with columns?

    Is it possible to have different formating for different pages?  I want columns on page 2, but not on aother pages.

    nevermind.  figure it out.  thank you macintosh

  • Need a Query that Returns both Column Name with Column Data

    Hi,
    Hope someone can assist quite quickly. I'm after a query that will return me both column name together with column data, i.e
    Table: APP_INFO
    COL1  - currently has the value of 10
    COL2  - currently has the value of 'HELLO'
    COL3  - currently has the value of 'QWERTY'
    COL4  - currently has the value of 2000Query I'm after is to return the following result set: [actual column name, actual column data]
    COL1,10
    COL2,'HELLO',
    COL3,'QWERTY'
    COL4,2000
    Any help would be much appreciated.
    Thanks.
    Tony.

    Like this ?
    SQL> select empno, ename, deptno from emp where deptno = 10;
         EMPNO ENAME          DEPTNO
          7782 CLARK              10
          7839 KING               10
          7934 MILLER             10
    SQL> select decode(t.id,1,'EMPNO',2,'ENAME',3,'DEPTNO') COLNAME,
      2  decode(t.id,1,to_char(empno),2,ename,3,deptno)
      3  from (select emp.*, rownum rn from emp
      4  where deptno = 10) emp, (select rownum id from dict where rownum <=3) t
      5  order by emp.rn, t.id
      6  /
    COLNAM DECODE(T.ID,1,TO_CHAR(EMPNO),2,ENAME,3,D
    EMPNO  7782
    ENAME  CLARK
    DEPTNO 10
    EMPNO  7839
    ENAME  KING
    DEPTNO 10
    EMPNO  7934
    ENAME  MILLER
    DEPTNO 10
    9 rows selected.Rgds.

  • Web dynpro screen with multiple rows with columns that can be edited

    Web dynpro screen with multiple rows with columns that can be edited individually:
    Hi
    I am busy creating a screen in web dynpro for ABAP which we would like to make available via Portal ESS (Portal 7).
    I need to add 'n type of table (or almost something like Excel) or something in which someone can type a few paycode numbers (there should be lets say 10 blank rows in which info can be typed in and if I click on a button or so, more rows must be added if necessary.  Then in the other colums stuff like amounts must be entered which one should also be able to edit then and there.
    Can anyone assist in what I can use for this?  There does not seem to be some existing element that I can use.
    Help will be appreciated.
    Regards
    Debbie

    Hi Debbie,
    Whiel Creating table you need to be care full that use chose INPUT FIELD as the CELL EDITOR. Just guessing that if ur table is not editable u might have choosen TextView as default cell editor type.
    check link for details on TABLE UI
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm]
    easy way is to first add UI ELEMENT TABLE to your VIEW, then right click over it & select create binding from context. After you have a pop up where you can select what columns you want what should be its cell editor etc.
    Greetings
    Prashant

  • Problem when expanding Tree - Tree with nested table column

    Hi, i have created the tree using the Tree with nested table column.
    I have created a node called TREE_ROOT in the context.
    This node has few attributes which includes children_loaded, is_leaf, is_expanded.
    I have created the recursive node TREE_SUB for the above node TREE_ROOT.
    In the view, i have created the table with the master column. The above attributes have been mapped accordingly. I have created the action handler for load_children.
    In this action handler method, i receive the context_element correctly. In this method, i determine the children of the selected element and the resulting children are attached to this context_element.
    But the problem is: when i add elements to context_elements in the method load_children, these
    elements get added to the node TREE_ROOT as well.
    Please help.
    thanks and best regards,
    Pramod

    I just use some types defined in this user... Well, I hope you know what is the type definition of d_period_sec,
    don't you ? I didn't ask to provide all types existed now, only types you are
    using.
    Anyhow you have been granted with execute privilege for types you are using:
    SQL> conn tau_tll/tau_tll;
    Connected.
    SQL> create or replace type d_period_sec as object (date# date);
      2  /
    Type created.
    SQL> grant execute on d_period_sec to public with grant option;
    Grant succeeded.
    SQL> conn scott/tiger
    Connected.
    SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT (
      2  xi NUMBER,
      3  yi NUMBER,
      4  xe NUMBER,
      5  ye NUMBER,
      6  xm NUMBER,
      7  ym NUMBER,
      8  v NUMBER,
      9  a NUMBER,
    10  f NUMBER,
    11  descr VARCHAR2 (20)
    12  );
    13  /
    Type created.
    SQL> grant execute on unit_function to master;
    Grant succeeded.
    SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
      2  (
      3  p tau_tll.d_period_sec, -- from user TAU_TLL
      4 
      5  m unit_function
      6  )
      7  /
    Type created.
    SQL> grant execute on unit_moving_point to master;
    Grant succeeded.
    SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
      2  /
    Type created.
    SQL> grant execute on moving_point_tab to master;
    Grant succeeded.
    SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT (u_tab moving_point_tab);
      2  /
    Type created.
    SQL> grant execute on moving_point to master;
    Grant succeeded.
    SQL> conn master/master
    Connected.
    SQL> CREATE TABLE MPOINTS (
      2  id NUMBER,
      3  mpoint scott.Moving_Point)
      4  NESTED TABLE mpoint.u_tab store as moving_tab;
    Table created.Rgds.

  • How to create tree table with column headers

    hi,
    when i drag and drop a view object onto my .jspx page as a af: tree table ,
    am not able to get the column header of each column. all the columns in the table are just clubbed together not separated as in af:table.
    can anyone say how the column headers are created for the columns when we drop a view object as a tree table?

    Hi,
    this is not an option with the treeTable as it gets rendered by default when dragging and dropping the collection to the page. I haven't tried it, but I think you will have to check which node is getting rendered and based on this information add your own row layout . Sounds like a bit of coding work
    Frank

  • T:Tree with t:columns

    Hi,
    I tried to use t:columns within a t:tree. But I get an error message, that it's not possible. But I need this feature, is there a work around for this?

    Well you can, the code below is working:
    <t:tree value="#{QualityMatrixBean.treeTableModel}" var="treeItem" expandRoot="true">
         <t:treeColumn>
              <t:outputText value="#{treeItem}"></t:outputText>
         </t:treeColumn>
         <t:column>
              <t:outputText value="bla"></t:outputText>
         </t:column>
    </t:tree>

  • ALV Tree with editable checkbox

    Hi all,
    I have a ALV Tree with editable checkbox (for all the parent & leaf  nodes) , as one of the column.On clicking of a button in toolbar , i should get the nodes which are checked in checkbox.
    But the problem is i am not able to get the nodes which are checked through checkbox in the PAI of the screen,when the button is clicked.
    I tried using    
    CALL METHOD wf_tree->get_checked_items             
                           IMPORTING
                           et_checked_items = lint_selected_node.
    but the return table is not containing any entries , even if check boxes are checked in ALV tree.I tried the GET_CHECKED_ITEMS method in event handler method of AFTER_USER_COMMAND and also CHECKBOX_CHANGE , but no success.
    lfs_item_layout-fieldname = 'CHECK'.
      lfs_item_layout-class = cl_gui_column_tree=>item_class_checkbox.
      lfs_item_layout-editable = 'X'.
      lfs_item_layout-CHOSEN = 'X'.
      APPEND lfs_item_layout TO lint_item_layout.
    CALL METHOD wf_tree->add_node
        EXPORTING
          i_relat_node_key = p_lfs_final_key
          i_relationship   = cl_gui_column_tree=>relat_last_child
          i_node_text      = l_node_text
          is_outtab_line   = p_gfs_final
          is_node_layout   = lfs_node
          it_item_layout   = lint_item_layout
        IMPORTING
          e_new_node_key   = p_loc_qmnum_key.
    Friends ,if you can suggest something.
    Thanks
    Abhijeet

    hi ,
    i have written below code for registering the CHECKBOX_CHANGE event of CL_GUI_ALV_TREE.
    APPEND lfs_event TO lint_events.
        lfs_event-eventid = cl_gui_column_tree=>eventid_CHECKBOX_CHANGE.
      APPEND lfs_event TO lint_events.
      CALL METHOD wf_tree->set_registered_events
        EXPORTING
          events                    = lint_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      IF sy-subrc EQ 0.
    *    MESSAGE X208(00) WITH 'ERROR'.                          "#EC NOTEXT
      ENDIF.
          SET HANDLER lo_event_receiver->handle_checkbox_change FOR wf_tree.
    *      SET HANDLER lo_event_receiver->handle_button_click FOR wf_tree.
        ENDIF.
    Also according to below code , i have put a break point in the event handler method of CHECKBOX_CHANGE event , so that control shall come here when check box is checked on ALV tree ...
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
    *      handle_checkbox_change FOR EVENT checkbox_change OF cl_gui_alv_tree,
    *              importing fcode.
    *      handle_button_click FOR EVENT AFTER_USER_COMMAND OF cl_gui_alv_tree
    *        IMPORTING ucomm,
          handle_CHECKBOX_CHANGE for event checkbox_change of cl_gui_alv_tree
            importing CHECKED
                      FIELDNAME
                      NODE_KEY.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_checkbox_change.
        data : lint_selected_node TYPE LVC_T_CHIT.
        BREAK abhijeetg.
    *   CHECKED
    *   FIELDNAME
    *   NODE_KEY
    *    case fcode.
    *      when 'SELALL'.
    *        perform select_all.
    *    CALL METHOD WF_TREE->GET_OUTTAB_LINE
    *      EXPORTING
    *        I_NODE_KEY     =
    **      IMPORTING
    **        e_outtab_line  =
    **        e_node_text    =
    **        et_item_layout =
    **        es_node_layout =
    **      EXCEPTIONS
    **        node_not_found = 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.
    *    call method cl_gui_cfw=>dispatch.
        CALL METHOD wf_tree->get_checked_items
          IMPORTING
            et_checked_items = lint_selected_node.
        break abhijeetg.
      ENDMETHOD.         
    ENDCLASS.
    So according to you , I should get the control in the break point , but its not happening with this .. any thing missing ???
    Edited by: abhijeet_7013 on Jun 21, 2011 10:31 PM

  • Tree control column question - Hot/Indica​tor

    Is it possible to have some columns in a tree control be hot (edittable), and others as indicators (not edittable)?  It seems as if all the columns (except for the "0th" first column) must be either all hot or all indicators.  I also looked into the Cell attributes and there is no way to make indiviidual cells as either hot or indicators either (like Table controls).
    I did notice that items can be dimmed using tho ATTR_CELL_DIMMED attribute, which gives a behaviour similar to what I'm looking for (user can't edit the cell value) but also gives the cell a greyed out appearance.  I tried manually setting the appearance of the cell back to what I would like (ie ATTR_LABEL_TEXT to black) but naturally this didn't have an effect.  Any ideas?  Thanks.
    Solved!
    Go to Solution.

    You can pick and choose which columns and cells you'd like to edit using the tree's callback function if you have CVI 2009 or later. You can use ATTR_TREE_RUN_STATE and ATTR_TREE_EDITABLECELLS inside EVENT_LEFT_CLICK (and probably EVENT_LEFT_DOUBLE_CLICK too) to accomplish this. I'm attaching a simple project with a tree that you can edit the first column with a double click, the 2nd column with a single click and you can't change the data in the 3rd column at all. You could even specify individual cells you to make editable if that's what you wanted to do.
    Kevin B.
    National Instruments
    Attachments:
    TreeColumnEditing.zip ‏5 KB

  • Problem with columns in the middle of my book

    I am writing my second book with Pages 2.02 and have run into a problem with columns. I want to add a long list of items as a list with check boxes for readers to check off. If I paste in enough text for three or four pages of two columns it gets messed up in various ways - the text flows into the following text if I don't use section breaks at the end instead of layout breaks, if I use section breaks it solves that one, but if I add anything to the list it changes all the columns across the pages so that one or several of the pages has way less in the right column than in the left. So far the left column fills the entire page all the time, but the right column has lots of spaces. If I switch back and forth from one column to two, it fixes it. If I add text before the list section it messes everything up again and because there is a section break I end up with a little bit of text on the last page and a huge gap before the single column part that follows.
    Does anyone know how to get reliable results that will not mess me up when adding content before the list or in the list itself?
    PowerBook G4   Mac OS X (10.4.8)  

    Hi Cymru,
    Thank you for thinking about my problems. I guess I s half asleep when I posted and it didn't make sense.
    I have so far 77 pages of the book divided into several chapters via section breaks. Inside the 5th section there is almost two pages of paragraphs. Those paragraphs could become 3.75 pages or who knows how long before the list of items. The list of items is 226 items separated by carriage returns and go from one word with 5 characters to 7 words and 34 characters. It needs to be a list with check boxes before them so that the user can check off the items that apply. It is a workbook about turning bipolar into an advantage and is currently 8.5 x 11 and printed on my laser printer for now, but when completed will be more like 8 x 10, so it needs to resize without major hassles.
    I have tried every combination of breaks to get the list to flow in two columns, but perhaps have not done the correct combination. I show invisibles and layout. At the end of my paragraphs I do a paragraph return. I then do either a section break or a layout break, followed by a paragraph return and another layout or section break. I then put my curser before the paragraph break, but after the first section/paragraph break, and set columns to 2, evenly divided by default with 3.2026" columns and .3375" gutter, but I want them to change with page size in the future.
    Once set up, I copy the text out of BBEdit and paste into the left column. It takes up several pages because it is formatted to do double spaces, so I use one of my styles to make it bold and single spaces. I then apply list style with image bullets and one of the default box images that came with Pages. There are 5 items in each column on the first page because it is close to the bottom, but flows into the next two pages. (with text edits it might end up 20 items in each column on the first page) The second page has 39 items in each column and the last page has 8 items in the left column only, but if with section breaks take up the whole page and the next paragraphs start on the next page. If I then add items to the list, every page gets messed up and the second page ends up with 39 on the left column and less items in the right column for each added item.
    If I use layout breaks instead of section breaks, the paragraphs following my lists (now with only one column) end up under the list. What that means is I can see my bold items, but beneath them are my paragraphs that belong after the list. I can see the layout break at the end of the list, but the columns that are shown as part of the 'view layout' are visible right over the single column text also for the rest of the page. The only way to solve that is to go with section breaks and put up with the gap from the end of the list to the following paragraphs.
    I hope this makes more sense.
    Tom
    PowerBook G4   Mac OS X (10.4.8)  

  • How to create table with dynamic amount of columns which are nested columns

    M trying to fetch data and show in a javaFX table.
    My table displays the details of different items from ItemVO , where :
    public class ItemVO()
    String itemName;
    List<ItemTypeVO> type;
    and My ItemTypeVO has the following attributes :
    public class ItemTypeVO()
    String typeName;
    Integer quantity;
    Integer price;
    Now, i want to display the details of an item in a table in which the itemname and quantity will be displayed, the quantity column will have nested columns showing different types(typeName) as found from List<ItemTypeVO> inside ItemVO.
    This question is similar to this link but my not able to find how to link a list with itemVO for nested columns. :(
    Please help !!
    M still unable to find a solution..
    Edited by: abhinay_a on Jan 14, 2013 10:50 AM

    Hi Abhilash,
    Thanks for the quick reply.
    Actually the problem is with the image, as I am not able to rotate 270 degree. Crystal report cannot support the rotation of image.
    i have another problem, I have to create a report in which
    Lables are fixed on the left side of report and 3 columns per portrait page. Those columns are
    dynamically created and shown in the report.
    The format is like the above. Can you please help me in doing this report, as I tried it doing
    with CrossTab. I am really stuck to this report.

  • How to use Special value set with Column clause to display addtional column

    hi
    can anyone tell me
    How to use Special value set with Column clause to display addtional column
    how can i use FND POPID and with COLUMN clause ?

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • JTable: having first N columns not scroll with the rest of columns

    Hi All,
    I'm having trouble wording this properly (hence my inability to google for the solution)...
    What I am trying to do is:
    * Have a table with N number of columns (for example 100 columns).
    * The table is enclosed by scroll pane, so scrolling left and right will show different columns
    * I want first X number of columns (say 2 columns) to be always visible (i.e. they should not scroll with the rest of the columns)
    Is there a way to accomplish this with one JTable?
    Thanks and best regards,
    -Pavel

    I found the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=665435&messageID=3951902
    Edited by: ptxyz on Jan 25, 2008 8:06 AM

  • Problem with column names

    I have named my columns for exaomple column trasanctionid as "TransactionID".But when i write a process and run the query in the process it takes the column name as all in cappital letters.Hence it gives me follwing error.
    ORA-00904: "TRANSACTIONID": invalid identifier
    I want to know whether there is any constraint to name columns all inc apital letters in apex.I am finding it difficult to change column name and then make changes throughout the app for it.This error has popped up many times for me and I had to everytime change the column anme to all capitals to get rid of this error.
    Edited by: dwitiya on Sep 3, 2010 10:52 AM

    Glad to hear it.
    And as you can see from the other responses, case sensitive column names are not widely understood (many people assume they don't exist), so it's really best to avoid them wherever possible. The only time I've seen column names defaulting to case sensitive was when we imported a table from Microsoft Excel using a third-party tool (Toad). This caused us a rather significant amount of headache, and it's something I've been careful to check for ever since.
    Of course, once a table or a column is created with a case-sensitive name, it can be hard to break free, as you're discovering--you can't just alter the table and rename the column, as your existing code will break. (transactionid is equal to "TRANSACTIONID", but not "TransactionID".) So if you're not willing to go through your entire codebase to fix the case-sensitivity (and most of us don't have time to), you're going to have to get used to putting quotes on the things that need it.
    Which will, of course, help you remember to make your table and column names case-insensitive in the future. :-)
    -David
    Edited by: DavidG on Sep 3, 2010 11:17 AM: realized I'd mis-typed a variable name.

Maybe you are looking for

  • Site not displaying correctly in DW Design View

    This is a weird display problem on one of my sites that I have not seen before. I sometimes log into my server remotely and make changes to the html manually then resave the files. Later I may download the newly edited files and put them in my backup

  • Refuses to play tracks purchased/downloaded off itunes.

    My ipod mini sometimes refuses to play only the tracks purchased/downloaded from itunes. The only way to rectify the fault is to either re-sync or restore to factory settings, however sometimes once this is done, 24 hrs later it starts refusing to pl

  • Several HSGETVALUE in one Excel Spreadsheet from various application

    Hello, For the HSGETVALUE, I have to type HsGetValue ("Connection","POV"). However I don't know How to type the "Connection". I have tried [Server].[Server.Application].[ServerCube]. My goal is to have by example in cell A1 : a value from my monthly

  • IPhone or iPod as USB drive

    Is it really true that you can't use an iPhone or current release iPod as a USB storage device? I have been happily using my first generation iPod Nano for storage, and thought that this facility would continue to be available on new models like the

  • Manipulating with path

    Hello, Can anyone help me with this: I would like to work with files wia absolute path (in windows), for example: d:\work\java\work_folder\test.txt. How can i do this? I know that it works when i change path like this: br = new BufferedReader(new Fil