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 merge cells of particular row in the alv grid

Former Member
0 Kudos

Hello All,

I want to merge particular cells of a particular row in the alv grid.

Response required immediate.

Points rewarded

vijay

6 REPLIES 6

Former Member
0 Kudos

in fieldcat try cell_merge option

former_member188685
Active Contributor
0 Kudos

Hi,

you can do option key and key_sel in fieldcat

<b>
 x_fieldcat-key = 'X'.
    x_fieldcat-key_sel = 'X'.</b>

Regards

vijay

Former Member
0 Kudos

Hi vijay kumar,

1. I don't think we can explicitly merge

cells, as per our choice.

(like we do in excel)

2. Only if the data in the column is REPEATED,

then it will automatically merge the cells.

regards,

amit m.

Former Member
0 Kudos

You cannot merge data row wise, column wise can merged using the CELL_MERGE of the field catalog.

Regards,

Ravi

Note : Please mark all the helpful answers

Former Member
0 Kudos

Hii

what is the functionality that you want to achieve??

is it for removing duplicates

<b>you cannot merge or split cells, in a ALV grid.</b>

The maximum you can do is when you SORT, there is a cell merge functionality there will be only row of data shown for all the common data of the column.

however, You can merge the rows in internal table before passing it to ALV.

Reward points if helpful

Regards

Naresh

Former Member
0 Kudos

hi,

set no_merging = ' '.

hope tghis helps.

keerthi.