2009 May 18 8:16 AM
Hi All there,
I am faced with a requirement which I am not able to find any answers to. I have to display data in ALV Grif format. Thats ok for me .. not a problem. But the main challenge is that each data cell would be having a column heading as well as a row heading... something like a cross grid/excel type.
Ex: C -Column R - Row D - Data
C1 C2 C3 C4
R1 D1 D2 D3 D4
R2
R3
So, whenever a data cell is chosen, it would correspond to Column C1 and Row R1. Could anybody please let me know how to achieve this functionality? I am working on ECC6.0 .
Hi All there,
I am faced with a requirement which I am not able to find any answers to. I have to display data in ALV Grif format. Thats ok for me .. not a problem. But the main challenge is that each data cell would be having a column heading as well as a row heading... something like a cross grid/excel type.
Ex: C -Column R - Row D - Data
C1 C2 C3 C4
R1 D1 D2 D3 D4
R2
R3
So, whenever a data cell is chosen, it would correspond to Column C1 and Row R1. Could anybody please let me know how to achieve this functionality? I am working on ECC6.0 .
2009 May 18 9:09 AM
Hi,
May be you can try like this....
Declare the header fields like C1, C2, C3 etc.. this is not at problem.
Now depending on the number of entries, for each entry in the table, by using the counter, move the contens of 'H' concatenate counter value let's say '1' i.e. H1 to the first record first field value and so on.
Regards,
Santhosh.
2009 May 18 9:21 AM
Hey Santosh,
That was actually cool... but I guess I didn`t write up the question properly.. The row heading is something not that I would give.... its a field value in itself... much like:
Location - NJ MA CA and so on..
Vechile type
'
Sedan
SUV
Truck
and so on..
The data in each cell has to correspond to the region and the Veh type at the same time. Hope this explanation helps you further.
Thanks.
Amrita.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |