2010 May 05 5:19 AM
Hi all,
I am unaware of OO ALV. I went thru many post in sdn got a brief idea. I have a requirement to display a table in an ALV format. The ALV format is bit different. It has 1 column and 2 rows next to it...
and the column has header data of contract, company code and 1st row contains billing data (Line tiems) and 2nd row contains revenue item data.. Please let me know how should i go...
I went thru the docking container.. not sure how ll this work out...
regards,
Poonam
Edited by: Poonam Naik on May 5, 2010 7:05 AM
Hi all,
I am unaware of OO ALV. I went thru many post in sdn got a brief idea. I have a requirement to display a table in an ALV format. The ALV format is bit different. It has 1 column and 2 rows next to it...
and the column has header data of contract, company code and 1st row contains billing data (Line tiems) and 2nd row contains revenue item data.. Please let me know how should i go...
I went thru the docking container.. not sure how ll this work out...
regards,
Poonam
Edited by: Poonam Naik on May 5, 2010 7:05 AM
2010 May 05 6:20 AM
Hi Poonam,
I think you have to use Hierarchical Display.
if so Please refer these programs,
BCALV_TEST_HIERSEQ_LIST,
BCALV_TEST_HIERSEQ_LIST_EVENTS.
Regards,
Raghava Channooru
2010 May 05 7:17 AM
Hi i want somethig like this.... the second column has 2 different values one is billing and second is revenue...
can it be done like this? this is the second approach... the reqt was something different before..
Contract Billing/revenue
A B C AA
Bb
Cc
Aa
Cd
Dd
recommended was:
Contract Billing
A B C AA
Bb
Cc
revenue
Aa
Cd
Dd
let me know how to go
2010 May 05 7:26 AM
Hello!
I could add some more approaches to solve your task.
1. You can use trees represented by class CL_GUI_ALV_TREE, for example.
2. You can use two ALV Grids. One of them shows header data while another shows item data. Both grids you should place in docking container. Futhermore, you should handle a hotspot or double click event in the ALV Grid with header data.
Best regards, Eugene.
2010 May 05 7:34 AM
can you add some more points to docking container.. will this be applicable to my second approach or recommended one?
just to add. I have just one internal table which is having both header n line items...
2010 May 05 8:44 AM
If you have one internal table and can't split it in two, you can choose between FM REUSE_ALV_HIERSEQ_LIST_DISPLAY and class CL_GUI_ALV_TREE. So in case of this choice you don't need to use a docking container, just an ordinary CL_GUI_CUSTOM_CONTAINER instead. If you'd prefer to use two ALV Grids, you'd better use class CL_GUI_EASY_SPLITTER_CONTAINER as a container.
Best regards, Eugene.
2010 Aug 25 1:36 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |