2007 Oct 15 4:11 PM
Hi...Good Day...
See next.. I have..
1000 xxxx yyyyy
1000 zzzz ccccc
1000 vvvvv rrrrrrrr
2000 www ttttttt
2000 hhhh oooo
Can i do this in alv ???
1000 xxxx yyyyy
zzzz ccccc
vvvvv rrrrrrrr
2000 www ttttttt
hhhh oooo
I guess that alv can do it... But i dont have much time for research..
If somebody knows how do it, i will aprecciate..
Thanks.......
Regards,
Manuel H.
Hi...Good Day...
See next.. I have..
1000 xxxx yyyyy
1000 zzzz ccccc
1000 vvvvv rrrrrrrr
2000 www ttttttt
2000 hhhh oooo
Can i do this in alv ???
1000 xxxx yyyyy
zzzz ccccc
vvvvv rrrrrrrr
2000 www ttttttt
hhhh oooo
I guess that alv can do it... But i dont have much time for research..
If somebody knows how do it, i will aprecciate..
Thanks.......
Regards,
Manuel H.
2007 Oct 15 4:16 PM
Hi,
Try to use fm REUSE_ALV_HIERSEQ_LIST_DISPLAY
Take a look at report "BALVHD01". This is a sample Hierarchical List.
a®
2007 Oct 15 5:12 PM
Thanks Ars for your reply.. but i want more or less this....
number name last name
1000 xxxx yyyyy
1000 zzzz ccccc
1000 vvvvv rrrrrrrr
2000 www ttttttt
2000 hhhh oooo
number name lastanme
1000 xxxx yyyyy
-
zzzz ccccc
-
vvvvv rrrrrrrr
2000 www ttttttt
-
hhhh oooo
2007 Oct 15 5:21 PM
Hi,
You can ALSO use simple alv grid using SORT will work
i_sort-fieldname = 'NUMBER'.
i_sort-down = c_x.
append i_sort.
clear i_sort.
call method grid1->set_table_for_first_display
exporting
is_layout = gs_layout
is_variant = gs_variant
i_save = 'A'
it_toolbar_excluding = i_exclude[]
changing
it_outtab = i_output[]
it_fieldcatalog = i_fieldcat[]
it_sort = i_sort[]
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
a®
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |