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

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

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

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

  • In hierachical sequential list the XLS interface button id dull why?

    in hierachical sequential list the XLS interface button id dull why?

    hi sandeep check this code:
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    i_interface_check = ' '
    i_callback_program = alv_repid
    i_callback_pf_status_set = 'SET_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = alv_layout
    it_fieldcat = fc[]
    i_default = 'X'  "<<<<<<<look at it...u need to do this
    i_save = 'A'
    is_variant = alv_variant
    i_tabname_header = 'HEADER'
    i_tabname_item = 'LIST'
    is_keyinfo = alv_keyinfo
    is_print = alv_print
    TABLES
    t_outtab_header = header
    t_outtab_item = list.

  • Migrate Hierarchical Task Lists ("Create" Transaction WPSTLH1)

    I am new to Data Migration and I have been creating some LSMWs using IBIP and have working General and Equipment Task List load programs.
    however the requirement is to migrate Hierarchical Task Lists too. 
    there seems to be no standard functions to do this, and the way you activate the screen in the transaction WPSTLH1 makes it not suitable for a screen recording (due to the use of mouse to activate the screen)
    has anyone successfully created this type of migration objects?
    or will i have to write ABAP to do this part?

    found program RWPSTLH_DINP that seems to do the trick!

  • 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 setup a mailing list function bar

    I'm wanting to know what is the best way to add a mailing list function to an ipad magazine I'm creating. Is it setup as an email button? I'm not 100% sure on how to go about doing it. I've attached a photo of what I'm talking about.
    thanks,

    I would create an html form that submits to my web server where I would process the information and store the form value in a database.

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

  • Error "Members, tuples or sets must use the same hierarchies in the function" in MDX

    the following MDX returns error: "Members, tuples or sets must use the same hierarchies in the function"
    WITH
    MEMBER [Measures].[Prev Year] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Year].Levels('Year'),
    1,
    [Exec Date].[Year].CURRENTMEMBER
    MEMBER [Measures].[Prev Month] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Month Num].Levels('Month Num'),
    1,
    [Exec Date].[Month Num].CURRENTMEMBER
    MEMBER [Measures].[Prev Day] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Day].Levels('Day'),
    1,
    [Exec Date].[Day].CURRENTMEMBER
    SELECT NON EMPTY { StrToMember("@ExecDateLevel"), [Measures].[returns] } ON COLUMNS, NON EMPTY { ([Employees].[Company].[Company].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM (
    SELECT (
    STRTOSET(@ExecDateHierarchy, CONSTRAINED)
    ) ON COLUMNS FROM [cbSales]) WHERE ( IIF( STRTOSET(@ExecDateHierarchy, CONSTRAINED).Count = 1, STRTOSET(@ExecDateHierarchy, CONSTRAINED), [Exec Date].[Hierarchy].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    and when I replace "StrToMember(@ExecDateLevel)" with
    StrToMember("[Measures].[Prev Month]") the MDX is compiled correctly.
    what is the problem?
    How can I solve that?

    Hi Breceive,
    In your scenario, the issue is caused by that you select dimension members and measures on the same axis without a crossjoin.
    SELECT NON EMPTY {  StrToMember("@ExecDateLevel"), [Measures].[returns] } ON COLUMNS
    To avoid this issue, you can use the query below.
    WITH
    MEMBER [Measures].[Prev Year] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Year].Levels('Year'),
    1,
    [Exec Date].[Year].CURRENTMEMBER
    MEMBER [Measures].[Prev Month] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Month Num].Levels('Month Num'),
    1,
    [Exec Date].[Month Num].CURRENTMEMBER
    MEMBER [Measures].[Prev Day] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Day].Levels('Day'),
    1,
    [Exec Date].[Day].CURRENTMEMBER
    SELECT NON EMPTY { StrToMember("@ExecDateLevel")*[Measures].[returns] } ON COLUMNS, NON EMPTY { ([Employees].[Company].[Company].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM (
    SELECT (
    STRTOSET(@ExecDateHierarchy, CONSTRAINED)
    ) ON COLUMNS FROM [cbSales]) WHERE ( IIF( STRTOSET(@ExecDateHierarchy, CONSTRAINED).Count = 1, STRTOSET(@ExecDateHierarchy, CONSTRAINED), [Exec Date].[Hierarchy].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Here is a similar thread for you reference.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3c21d9a8-640d-4dde-bc76-08d1fcbb3a31/multiple-dimension-query?forum=sqlanalysisservices
    Regards,
    Charlie Liao
    TechNet Community Support

  • 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

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

  • Receipts view RRP4 can default open standard list functions on

    When you use the receipts view
    /SAPAPO/RRP4
    when selecting large data sets, it takes a while to open, but THEN when you click the PLUS to open all the features within, like being able to FILTER, which is the bitton
    standard list functions on
    Then it seems to reload everything again and take the same amount of time again.
    Is there a way to default this option open, so that it opens with the function on so that you dont have to take twice as long to open each time to get to the filter?
    thanks
    John

    Hi John,
    Are you looking for something like this:
    This is what the APO help said:
    Key to Limit the Selection
    Defines a further selection.
    Use
    Using the input help select one of the entered selection rules.
    Dependencies
    The selection rules made available by the input help are defined in
    Customizing for the product planning table under Maintain extended
    selection.
    You correspondingly modify the Business Add-In (BADI) /sapapo/ppt_select  
    for the selection of the data.
    Thanks and Regards,
    Mariano

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

Maybe you are looking for

  • Getting a wet phone fixed

    I've had a real bad news/good news couple of days with my Samsung Stratosphere, and I wanted to share the story and some advice. On Friday I dropped it into water. After taking the battery out, I hurried home and started drying the phone out, followi

  • Ineed my serial number and need to know if I am allowed to put it on two computers

    I need my serial number andneed to know if I`m allowed to put it on two computers.

  • Replace symbols in e-mail subject

    Hi How can I create the subject of an e-mail that is send when I crete a delivery that depends of the delivery data? I want that the subject is ' Delivery (LIKP - VBELN) reference to (VBAK -BSTKD). Thanks Dora

  • Shopping cart problem.

    I have the following method in the ShoppingCart.class. When an object of MusicRecording passed into this method, it is intended to return how many objects of the passed MusicRecording object there are in the shoppingCart ArrayList. But this method di

  • IPhoto crashes during print order upload

    I can get as far as uploading the photo to the print dtore, but before it starts uploading iphoto crashes 'unexpectedly'.