Application Development 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: 

How to hide particular Value in ALV Based on Row and Column Combination

Former Member
0 Kudos

Hi Experts,

I have a requirement in alv. I need to hide a value based on the Row and column combination

Here is the sample data

1 2 3

A 10 11 12

B 13 14 15

C 16 17 18

Now I want to hide value 14 which is the combination of roe B and columen 2 . I cannot do at the internal table level.

Edited by: kir kumar on Oct 20, 2008 8:38 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

u cannot hide a single cell an ALV. u can hide a column in ALV.

2 REPLIES 2

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

Please see the methods:

GET_SELECTED_CELLS

GET_SELECTED_CELLS_ID

GET_SELECTED_COLUMNS

GET_SELECTED_ROWS

By using these mehtods , you can f ind the cell which you need to change .

Once you find the cell , you can change the cellstyle ( include one more field in you ALV output table and here doyou operations).

Rgds,

Sandeep

Former Member
0 Kudos

Hi,

u cannot hide a single cell an ALV. u can hide a column in ALV.