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

Similar Messages

  • 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.

  • Merge the total line about header and item in the Hierarchical Seq ALV

    Hello guys,
    Now i used CL_SALV_HIERSEQ_TABLE to create a Hierarchical Sequential ALV. but there are two total lines, one is to calculate the numerical fields in the header(main) and another is calculate the numerical fields in the item(slave).
    my requirement doesn't contain the calculation for header line, so the first line is unuseful and i want to merge these two  line. 
    how i should do with it?
    Any clues is appreciated.
    Thanks a lot

    could anyone help me? i am very urgent!

  • Hierarchical sequential display in ALV for webdynpro ABAP

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

  • 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

  • Problem  in Printing the ALV list

    Hi,
       I have one problem with printing the ALV list. While printing the ALV list(thro Print Icon on application Tool bar) ,Fist page of my print out contains some other inforamtion.
      inforamtions included two tables
      first table  contains Sort Criteria, Ascdg, Descnd, Subtotal  columns.
      And second table contains Data statistics , number of
    columns.
    But from Second page onwards , my alv list printed correctly .
      How can i avoid the First page inforamtion and
          what is the Reason of coming like this?
    Thanks,
    Neptune.M

    I assume you are using function module Reuse_alv_grid_display or reuse_alv_list_display for ALV.
    If this is the case, there is a parameter called IS_PRINT that you need to supply while calling the function module.
    you can for exapmle declare
    data:
    printstruc type SLIS_PRINT_ALV.
    printstruc-NO_PRINT_LISTINFOS = 'X'.
    call function 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
    IS_PRINT = printstruc
    There are many other flags in is_print structures that you can use to manipulate the printing.
    Cheers!

  • 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...)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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.

  • Column headings in Hierachical-Sequential ALV

    Hi Friends,
    I'm trying to display a Hierarchical-Sequential by:
    1. Using the class 'cl_salv_hierseq_table' and method 'factory' to create the binding.
    2. Using the method 'display' to display the report.
    The issue I'm facing is that the column headings being displayed in the report output are the 'Field Label' maintained in the dictionary. I would like to change the same.
    Could anyone please help me in this regard??
    Thanks,
    Anju

    check this :
    data: v_xfield_st type slis_t_fieldcat_alv.
    edit the field catalog table.. by reading it...
    read table v_xfield_st where FIELDNAME = 'WERKS' .
    if sy-subrc eq 0.
    v_xfield_st-SELTEXT_S = 'Rec. Plant'.
    v_xfield_st-SELTEXT_m = 'Recv. plant'.
    modify v_xfield_st index sy-index.
    endif.

  • How to get multiple header lines dynamically and also data hierarchically using ALV

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

    Hi experts,
    My requirement is shown below.. I neet to compare prices of service RFQs. So i design as below..
    I want to get RFQ number ,Vendor code and vendor name in ALV header and also other headings which static. I think dynamic table is the best way to load RFQ numbers to header.. But problem is i'm unable to load two lines dynamically using ALV.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
         EXPORTING
           i_style_table             = 'X'
           it_fieldcatalog           = gt_dyn_fcat
         IMPORTING
           ep_table                  = gt_dyn_table
         EXCEPTIONS
           generate_subpool_dir_full = 1
           OTHERS                    = 2.
    I use this function and pass RFQ no and vendor code in two rows but it output gt_dyn_table in same row.. How to print them as given image???
    Then in data I want to get service items and according to the external service number divide them to groups and get sub totals and also finally total of all sub categories to compare each RFQs price to  compare.. There i think ALV hierarch can use. but not sure I can use with dynamic table(in header use it).
    What is thee best way to get the output in my image..??
    Thanks..
    Pavi

  • Problem with PF_STATUS in ALV

    Hi
    I have the following code written in my report to set PF_STATUS in ALV.But its not working
    call function 'REUSE_ALV_GRID_DISPLAY'
         exporting
              i_callback_program = g_repid
              i_callback_pf_status_set = 'PF_STATUS_SET'
             I_CALLBACK_USER_COMMAND =  ''
             i_structure_name = 'I_BOLACT'
             i_grid_title = 'BOL Action Report'(031)
             is_layout = gs_layout
              i_save             = 'A'
              it_fieldcat        = gt_fieldcat[]
    FORM PF_STATUS_SET USING rt_extab TYPE slis_t_extab.
    set PF-STATUS 'ZPF_STAT'.
    ENDFORM.
    Please help where am I going wrong.
    Regards
    Ishita

    If any of the above solution in not working, you can use EVENTS to handle it.
    using
    * TO Get all the ALV Events
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = it_events
        exceptions
          list_type_wrong = 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.
    * FOR THE PF-STATUS EVENT
      read table it_events into wa_event with key name = slis_ev_pf_status_set.
      if sy-subrc eq 0.
        wa_event-form = 'PF_STATUS_SET'.
        modify it_events from wa_event
                         transporting form
                         where name = wa_event-name.
      endif.
    and then set your PF Status in Form 'PF_STATUS_SET'
    hope this solves your problem.
    Jinson.

  • Scrolling-problem in an editable ALV-list

    Hi,
    I have built an <b>ALV-list</b> with one of the fields <b>open for input</b>. The user wants to use the arrow to scroll <u>down</u> through the table and update that particular field in every row. I have <b>2</b> questions about this:
    - First of all, the cursor moves in a strange way. The first number of rows it stays in the right column, but then, out of the blue, it jumps back and forth to other columns after scrolling.
    - Secondly, the field I want to edit is always in Insert-mode. Is there any way I can get it into Overwrite-mode? I cannot use the Tab-key, because of the lead-selection.
    Thanks in advance for your help.
    Kind regards,
    Andre Moniharapon

    Hi Vijay,
    please don't get me wrong, I really appreciate your attempts to help me, but my problem is that when I press the Down-arrow it <u>doesn't</u> always go to the next cell in the <i>same</i> column. It sometimes goes to the next cell in <i>another</i> column. And if I can't force it to stay in the same column in some way, than my problem cannot be solved and I must think of another solution. So, I don't want the cursor to stay in the same field, I want it to go to the next cell in the same column. You got that right. Again, I really appreciate your help, but it looks more and more that there's no solution to my problem.
    Kind regards,
    Andre

  • Performance problems due to sequential read on tables WBCROSSGT and CROSS

    Hello all,
    got the SAPNW2004s Sneak Preview ABAP installed. Performance is quite ok. But with certain dictionary operations like creating new attributes for a class I experience exceptional long runtimes and timeout dumps. In SM50 I see a sequential read on table WBCROSSGT. In OSS I can't find anything applicable yet for this release  (SAP_BASIS 700, support level 5).
    Any suggestions appreciated.
    Simon

    Hello,
    i had exactly the same problem after upgrading from MS SQL 2005 to MS SQl 2008 R2.
    Our DEV system was almost completely exhausted and normal operation wasn't possible anymore.
    SAP Note 1479008 solved the issue, even it is only "released" for MaxDB.
    Cheers, Christoph

  • Problem while downloading a ALV report to excel

    Hi experts,
    I have an ALV report which took long time to extract records from various table. So while there is some restriction the report can be executed well in foreground. And the report can be extracted well to excel sheet. But while there is hudge records, i have to execute the report in backgroung. And then from spool i generally prefers to download the report to excel.
    There is a field UOM where it contains value ' " ' for some records. And also there may be possiblity that other fields can also contain the same.
    Now my problem is: while download to excel... When ever there is a value ' " ' from this point to the next value ' " '. It is treating as one record. and keep that in a same position in the excel sheet.
    But i want to keep all the values in there respective fields. Can you please how can i do that? Please give me some solution...
    regards,
    charles.

    If anybody have any solution please send me....

  • Problem in conversion from alv grid to excel

    Hi all,
             I have alv report output, when i am converting it to excel format sometimes it shows each column names twice and sometimes column names are not arranged in proper order....
    any solution to this type of problem???
    thnx.

    there are different options to export to excel which all behave differently, if you go for the menu ->export it differs from the export button from the alv buttonbar.
    try the different export to excel options perhaps there is one that behaves the way you want
    kind regards
    arthur de smidt

Maybe you are looking for

  • Footage will just not play in Premier Pro CS 5

    I am importing footage into Adobe Premier Pro CS 5 version on a Mac 10.6, but it doesn't matter what file format I convert it into or what sequence settings I try I cannot get the footage to play! It's recorded on a Sony Handycam HDR-XR200E in AVCHD

  • HELPPPP!! need converter from  mp4 to mp3 or wave

    Does anybody knows how find converter for mp4 to mp3, wav, or anything that readable for the car cd player? Thanks Mac Book pro 17 inch   Mac OS X (10.4.5)  

  • Error processing dimension  "An exception....CX_SY_CODEPAGE_CONVERTER_INIT"

    Hye, Sirs! In fact, when I process a dimensión  I have the next error: ""An exception with the type CX_SY_CODEPAGE_CONVERTER_INIT occurred, but was neither handled locally, nor declared in a RAISING clause, Converting texts from the code page '4102'

  • XI Designer

    Hi , What is XI Designer ? Is Universe designer & XI designer are same. Can w euse XI designer locally on the desktop or is it mandtory to connect to the live server? If possible can any one provide me some docs on this.

  • Update General error in Excel EPM add-in

    Hello! My problem is the following:  each time I try to initiate a connection in the EPM add-in in Excel, the system requires me to execute an update. The update takes ages and finally, I get an error message (see hereafter). The version I currently