Problem in Hierarchical Sequential List

Hi All,
I am developing an Hierarchical ALV List using OOABAP. In the output list, I have a checkbox to be displayed. I have taken the cell type as "CHECKBOX", it is displaying as disabled. I searched some sites for the resolution, it is mentioned if we take cell type as "CHECKBOX_HOTSPOT" then it will be disabled.
So I tried that as well. When I used that program is giving me a dump. Please find the dump below. Request you all to provide a faster solution for this.
Thanks.
Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_SALV_METHOD_NOT_SUPPORTED', was
     not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Class COLUMNCLASS, method SET_CELL_TYPEMETHOD not supported for
    CL_SALV_HIERSEQ_TABLEOBJECT KEY
Information on where terminated
    Termination occurred in the ABAP program "CL_SALV_COLUMN================CP" -
     in "RAISE_METHOD_ONLY_VALID_FOR".
    The main program was "ZZSMB004_FSE_FILLUP_TEST ".
    In the source code you have the termination point in line 95
    of the (Include) program "CL_SALV_COLUMN================CM01Q".
SourceCde
          read table t_valid
            with key model  = if_salv_c_model=>table
                     object = if_salv_c_table_objects=>list
            transporting no fields.
          if sy-subrc ne 0.
            l_exit = abap_false.
          endif.
          l_key = text-k03.
      endcase.
    when if_salv_c_model=>hierseq.
      read table t_valid with key model = if_salv_c_model=>hierseq
        transporting no fields.
      if sy-subrc ne 0.
        l_exit = abap_false.
      endif.
      l_object = text-o03.
    when if_salv_c_model=>tree.
      read table t_valid with key model = if_salv_c_model=>table
        transporting no fields.
      if sy-subrc ne 0.
        l_exit = abap_false.
      endif.
      l_object = text-o04.
  endcase.
  check l_exit eq abap_false.
  raise exception type cx_salv_method_not_supported
    exporting
      class  = l_class
      method = l_method
      object = l_object
      key    = l_key.

Hi Smitha ,
After the Cell Style (you mean CELLTAB) that you have taken as checkbox.
Now pass this while editing the cell styles.
          X_CELL-STYLE     = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
hope this helps.

Similar Messages

  • How to display two different hierarchical sequential lists in one o/p scree

    Hi Gurus,
    I have a requirement for displaying two hierarchical lists in one output screen. I have created my hierarchical sequential lists using
    function module : - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY', but i dont know how to append my second hierarchical sequential list
    into this.
    Will it be easily possible through OO ABAP where i will have two containers at the screen and each container will display one hierarchical sequential list at the output screen. But i have no idea how to do this through OO ABAP.
    Please help...
    Thanks,
    Bhupender

    i want to display the records corresponding to the user details enterd
    in Text Fields in the same Frame by replacintg the previous display..1) Quit multi-posting.
    2) You where given an answer in your last posting on the topic.
    3) The code isn't formatted so don't expect us to read the code.

  • ALV hierarchical sequential list through oops

    Hi ,
    How to display ALV hierarchical sequential list through oops concept.
    I looking for a method which is replacement for FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'  in oops. if you can provide the sample code with that method will be really useful.
    Thanks,
    Shrinivas

    Hi Shrinivas,
    Check out these demo programs that are provided in SAP.
    BALVHD01
    BALVHD01_GROUP
    <b>Reward points if this is helpful.</b>
    Kiran

  • Hierarchical-sequential list - functions

    Hi!
    I created a full-screen alv based on class CL_SALV_HIERSEQ_TABLE, caught its functions via GET_FUNCTIONS and activated all of them via SET_ALL( ). Afterwards I was able to displaying and hiding position rows.
    Next, I needed to add some user-defined functions, which is - according to SAP help - only possible via GUI STATUS, so I called SET_SCREEN_STATUS, but after this no displaying/hinding of position rows was possible any more.
    Has anybody got an explanation / solution for that?
    Regards,
    Thomas

    When you wish to use the Custom GUI status, you need to create all the standard buttons in your GUI to get them in your ALV. The easy way is to copy this GUI status from some standard program.
    Check program: SALV_DEMO_HIERSEQ_FUNCTIONS
    You can copy the GUI Status SALV_STANDARD in your program from this DEMO program.
    Use Transaction SE41 to copy the GUI status and add your buttons.
    Regards,
    Naimesh Patel

  • Problem in Hierarchical sequential ALV

    Hi all,
      I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY to display my ALV.. in this FM i have check box at header level and item level both. Now functionality i want is if user check the check box at header level all its  items (i mean item-level check-boxes) should get selected(checked) automatically.. and from these item level user can un-check any entry he wants ...
          what is the way to do it??...as  in  ALV upon checking header level check-box it should go to USER-COMMAND Subroutine  but it is not in my case...so is ther any setting required for this...???

    Hi
    Please Check this
    ABAP TREE REPRT with check boxes
    Regards
    Rasheed

  • Dynamic Sequential List of Approvers in the Human Task

    Hi all - I have this asynchronous BPEL process and want to dynamically assign a Sequential List of Approvers that are the result of an Invoke of a Database Adapter.
    1. Added the OutputCollection of the Invoke as a parameter to the Human Task (element type).
    2. Under Assignment and Routing Policy, chose Sequential List of Approvers, and By Expression, chose the value from the OutputCollection from the payload.
    3. After deployment, the instance falls through to completion without errors, but without assigning a task to any approvers. I can see in the Invoke where it pulled the names I want to be assigned.
    Any help or direction would be greatly appreciated.
    Using JDeveloper 10.1.3.3

    I tried to recreate the problem like listed above, but after I add the Outputcollection of the Invoke as a parameter, there is no schema info (not even task:task) when editing the Assignment and Routing Policy section. At any rate, there weren't errors to speak of - the instance completed with "The state of this instance is Completed".
    In the meantime, I've used a while loop to loop through a sequence of approvers that are result of a query. I'll have to keep track of approvers and include them in each new payload I think.

  • HELP: Hierarchical expanding list nodes do not remain expanded

    h2. The Setup
    - Have a "hierarchical expanding" list on page zero
    - Set a child list item to be current for page 10
    h2. The Steps
    - Go to page 1, expand the hierarhical list, click on the child item
    - takes me to page 10
    h2. The Problem
    - The list collapses and only shows the top-level items
    - In other words, the child link that is supposed to be 'current' for page 10 is hidden
    h2. The Solution?
    Any thoughts on how to solve either using the baked in hierarchical expanding list template, or modifying it?
    Related thread: Re: Lists - hierarchical expanding

    Hi Michael,
    Have a look at: making the tree nodes which are clicked into bold
    That describes what I have done here: http://apex.oracle.com/pls/apex/f?p=33642:293
    This uses a Tree item but you might be able to use it for a multi-level list item. In the code (which is shown near the end of the thread) jQuery is used to find the correct "node", highlight it, then traverse up through the tree ensuring that all parent nodes are "open" (ie, expanded).
    Andy

  • Hierarchical Expanding List respecting open level

    I am running into a perplexing problem.. I am trying to use a Hierarchical Expanding List as a page 0 menu in a side region. Works great EXCEPT for the fact the current link is CLOSED in the list when you click on the page called by the link.
    Does anyone have some javascript that can go through and reopen the currently open link/page?
    Thank you,
    Tony Miller
    LuvMuffin Software

    Bump to see if ANYONE is awake..

  • Hierarchical expanding list contracts when link is klicked

    I've got a hierarchical expanding list (a menu) with parent and child entries located on page zero.
    Two things are wrong with it.
    1. I dont want the parent entries (the ones that are displayed from the start) to be links. If I klick the + -sign next to them the list expands and show the child entries that are links to different pages. But if i klick the parent entries I get kicked to the login screen. I've set the parent entries to have Target type: -no target- but it doesn't work.
    2 When I klick a child entry I'm linked to the right page but the hierarchical expanding list contracts... I'd like it to be expanded the way it was when I cklicked the link.
    Could this be realated to the fact that it's located on page zero??? I've had some problems with page 0 before... But shouldn't you put a meny on page zero?
    I would appreciate any help you could give me.
    Edited by: andypandy on 2009-jun-16 06:21

    I've moved the menu from page zero to another page temporarily but it still misbehaves. Anyone have any ideas??
    Regards
    Andreas

  • Problem with printing ALV lists

    Hey Guys,
    I have a problem with printing ALV lists ,
    I created a report with several ALV lists (not grids) on the same screen but when i attempt to print the report
    it prints each alv list on a different page..so if i have 3 alv lists in the same report it will print the report on 3 pages
    How can i print  them all in one page?
    Thanks in advance
    Noha Salah.

    Hey Max,
    I tried setting the Layout-list_append  before my block_list_append function call
    And setting the is_print-NO_NEW_PAGE , it printed the 3 lists on one page the only problem i have
    is that the lists are truncated and the list formats has totally been messed up..how can i restore them back
    to their original format?

  • CL_SALV_HIERSEQ_TABLE - Multiple level heirachial sequential list

    Class CL_SALV_HIERSEQ_TABLE  -  Can this class be used for multiple level heirarchial sequential list ?
    It works perfect for 2 level heirarchial list u2013 Thanks to Rich Heilman. Say for Eg, SCARR and SFLIGHT.
    My requirement has more levels. I looked into all the methods of the class, but none of them seems to help to append more levels.
    Here is my requirement.
    Selection screen had date range,  partner functions etc ..
    -->Select all Inquiries for given date range or (TABLE u2013 VBAK) given sold to party/ship to party etcu2026
    -->Get all statuses (system status /user status etc (TABLE u2013 JCDS and TJ30T ).
    -->Select all Quotations for given inquiry, if any
    -->Select all Orders for the selected quotations, if any
    -->Select all deliveries for selected orders, if any and read status, whether shipped or not (VBFA/LIKP/ VBUK )
    And list these in a multilevel heirarchial mode
    Inquiry1/created by/created on/ sold to party/ Application engineer/inside sales Rep
         Status1 / description/ active /  changed by / date      
         Status2/ description/ active /  changed by / date
         u2026..
         u2026..
         Status 5u2026..
              Quotation1 / Created on /created by/quantityu2026
                   Order1/created on/created by/
                        Delivery1 /created on / created by/ not shipped
                        Delivery2/ created on / created by / partially shipped
                   Order2/created on/created by
    Inquiry2/created by/created on/ sold to party/ Application engineer/inside sales Rep
         Status1 / description/ active /  changed by / date      
         Status2/ description/ active /  changed by / date
         u2026..
         u2026..
         Status 5u2026..
              Quotation1 / Created on /created by/quantityu2026
    I need atleast 3 internal tables, 1 for Inquiry, another for status data, another for Quotation/order/delivery.
    Anyone has any clue, how to achieve this ? cl_salv_tree also doesnu2019t seems to helpu2026
    As per my understanding, we could pass only 1 single structure to a tree output.
    For eg, all lines of the tree output should be of the same structure. (please correct me if I am wrong )..
    But In my case, the fields on each level are different, and I need to pass different structures to the tree.
    Please let me know, if anyone have a clue..
    Thanks much

    Sujamol (or anyone),
    did you ever manage to do this? I would like to do the same.
    Report SALV_DEMO_HIERSEQ_COLUMN does it for two levels. What about 3, 4.....?
    Thanks.

  • Get the header in centre,make bold, change font in hierarchical alv  list

    Hi all
    I need to get the following header in the centre for hierarchical alv list:
    ex:
                                                                              General Ledger                       -
    want it to be bold
                                                                               July 2009                                -
      want to change font to be less than 1st  line
    Please help me to achieve this.
    I have  got the header in the middle using write statements in top of page.
    But am not able to get it bold and change the font.
    Thanking in advance.

    Hi all
    I need to get the following header in the centre for hierarchical alv list:
    ex:
                                                                    General Ledger   ( want it to be bold)
                                                                     July 2009            (want to change font to be less than 1st  line )
    Please help me to achieve this.
    I have  got the header in the middle using write statements in top of page.
    But am not able to get it bold and change the font.
    Thanking in advance.

  • How to create space between Header text of Hierarchical ALV List.

    hi,
    I am display data using Hierarchical ALV List.
    In Perform of field catalog, I am writing this code:
    PERFORM fill_catalogue USING :
         'CHKBX'      'T_HEADER' 20  'Sess Decision Box'(t19) 'X',
          'SESS_NO'    'T_HEADER' 11  'Session'(t20)           ' ' ,
          'SESS_STAT'  'T_HEADER'  4  'Status'(t39)            ' ',
          'HOLD_STAT'  'T_HEADER'  4  'HOLD'(t52)              ' ',
          'ICON'       'T_HEADER'  9  'Tracking'(t21)          ' ' ,
          'CREATE_DT'  'T_HEADER' 10  'Archiving Date'(t22)    ' '  ,
          'AGING'      'T_HEADER' 50  'Aging'(t23)             ' ',
          'OBJECT'     'T_HEADER' 12  'Archive Obj'(t24)       ' ',
          'HOLD_INFO'  'T_HEADER' 100 'Hold Reason'            ' ' ,
          'YFY_DATA'   'T_HEADER' 4  'Data Fiscal Year'(t48)  ' ' ,
          'COMMENTS'   'T_HEADER' 50  'Session Notes'(t26)     ' ' ,
          'DATATYPE'   'T_HEADER' 50  'Archive Object Description'(t25) ' ',
          'APPR_STAT'    'T_ITEM' 16  'Approval Status'(t29)   ' ',
          'DESTR_DT_REV' 'T_ITEM' 10  'New Date'(t30)          ' ',
          'REJCT_REASON' 'T_ITEM' 60  'Rejection Reason'(t31)  ' '  .
    At output of this program , there are two rows in HEADER details.
    I want text 'Session notes' of 2nd row  under 'Archiving Date' of 1st row.
    For this i have to create space between 'Data Fiscal Year' & 'Session notes' text.
    How i can do this.
    Regards,
    Mamta

    Hi,
    You can use TOP-OF-PAGE event and pass this event to Hierarchical ALV FM.
    Thanks,
    Kartavya Kaushik.

  • Problem with Hierarchical query

    Gurus,
    I have a problem with hierarchical query, which I am pasting below.
    select sys_connect_by_path (Fname,'/')"PATH",Fname,id,level
    ,(SELECT COUNT(ID)-1 FROM (SELECT CONNECT_BY_ROOT LNAME LNAME,ID FROM CMT_PERSON
    START WITH ID = 'emplo000000000126009'
    CONNECT BY PRIOR ID=MANAGER_ID)
    GROUP BY FNAME)"COUNT"
    from CMT_PERSON
    WHERE
    LEVEL <= 4
    ----And ID='emplo000000000001877'
    CONNECT BY PRIOR id=manager_id
    ----AND NOT LEVEL > 3
    START WITH ID='emplo000000000126009'
    As per the result, count is getting repeated for all the levels. That is, count is coming 16100 for every level, Can you please help where exactly I am going wrong
    Regards

    You do not say anything about what count you want to get?
    A wild guess could be:
    select
       sys_connect_by_path (p1.fname, '/') "PATH",
       p1.fname,
       p1.id,
       level,
       (select count (id) - 1
        from
           (select connect_by_root p2.lname lname, p2.id
            from cmt_person p2
            start with p2.id = p1.id
            connect by prior p2.id = p2.manager_id)
        ) "COUNT"
    from cmt_person p1
    where level <= 4
    connect by prior p1.id = p1.manager_id
    start with p1.id = 'emplo000000000126009';Since your inner query simply starts with the hardcoded employee id, naturally it will give you the same count.
    My guess is your inner query should start with the person id from the outer query?
    If that is not the case - please state in plain english what you are trying to accomplish ;-)
    (Oh, and please paste code within tags so we can read it more easily...)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Query about Human task (Sequential list of approvers)

    hi'
    I am designing work flow with Human task, with "Sequential list of approvers",
    where I have given "A", "B", "C" users for approval, it goes for approval in sequence
    i.e. 1st to "A" when "A" approves it goes to "B" when "B" approves it goes to "C"
    the issue is if "B" is rejecting it still goes to "C".
    According to to Develpers guide it should not go further.
    pelase advice where I am wrong.
    thanks
    Yatan

    Need to check "Enable abrupt completion condition".
    -Yatan

Maybe you are looking for

  • Need information on SAP Webshop

    Dear All, Can you please help me to find out if we can use the webshop without implementing SAP CRM. Our customer is having SAP R/3 with modules like: SD, MM, CS. It will be helpful if you can share details like: 1) What webshop is exactly used for 2

  • Setting CS4 as Default File to Open Images

    I am running XP and cannot set CS4 to be the default file to open my images. When I right click a file, select "open with", and choose CS4, nothing happens. I did not find this problem with CS3 or CS2, both of which I have uninstalled. Any suggestion

  • Max value

    Hi to All, I have to find out max salary from a table, without using max function... is there any other way to find... thanks and regards MKK

  • Combining bandwidth of two wireless cards

    Hi, I have a mac mini c2d which comes with a built in b/g network. recently ive upgraded to a new N router for which i bought a new llinksys usb key (N Netowrk operating on 5 ghz). the problem is that this connection seems to be cutting in and out, m

  • Powershell Coding - Path and Variable Issues

    Hello, I am working with a powershell program to copy a file off of my flash drive and into the startup file of what ever user is logged onto that computer.  My code is powershell -command { }; $a=[Environment]::UserName ; $c='E:\Other\Programs\progr