cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying the selected cell in ALV

Former Member
0 Kudos

Hi experts .....

I hv a requirement wherein i need to know which cell has been selected from the ALV table....

Like when im selecting a particular cell how do i identify that the cursor is on which cell so that i can update that cell values...or maybe color it...

jagruti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jagruti,

Please see Package SALV_WD_DEMO.In that Package you will find many demo examples where ALV tables examples are given . It will help you.

Hope this will solve your problem.

Cheers

Darshna.

Former Member
0 Kudos

Hi..

Darshana..Can u gimme a small example ...That will help me understand i guess..

my requirement goes like this..

I place a cursor on a particular cell ..then from the dropdown i select a color...and the cell that i selected should be colored...so i wanna know that which cell has been selected...

Can u help...

jagruti

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jagruti,

For this you need to code for Cell Variant in ALV. Here is the Sample program SALV_WD_TEST_TABLE_CV which has implemented the Cell variant. Just check that you can easily get an idea about it.

Warm Regards,

Vijay