Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Grid Control

Former Member
0 Likes
364

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 .

2 REPLIES 2
Read only

Former Member
0 Likes
348

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.

Read only

0 Likes
348

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.