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: 

cannot use edit mode with zebra layout in alv

Former Member
0 Kudos

Hi,

I am using 'REUSE_ALV_GRID_DISPLAY' for the ALV genration,

I found that I cannot use

it_layout-edit_mode = 'X'.

it_layout-zebra = 'X'.

simultaneously..

Only zebra layout come up and not the edit mode...

Is there a wrk around to solve this

Thank you,

Arjun.G

8 REPLIES 8

Former Member
0 Kudos

hi,

use 'edit' parameter in the fieldcatalog of the field which u want to make editable..

data it_fieldcat type slis_t_fieldcat_alv

it_fieldcat-edit= 'X.

0 Kudos

hi,

This doesnt wrk out either....

Is there any option to make this work..

Thanx,

Arjun.G

Former Member
0 Kudos

try removing

it_layout-edit_mode = 'X'.

from ur code..

and add

is_fieldcat-edit = 'X' " for all columns...

0 Kudos

Hi,

if i add edit to the field catalog, my layout doesn't feature zebra layout...

All I need is to have edit mode in zebra layout...

Thank you,

Arjun.G

0 Kudos

Zebra layout can't go together with edit mode of entire ALV. Image how would that look like. Making ALV editable is giving a layout where all cells and columns are white (made editable). You can't therefore apply zebra layout.

0 Kudos

u cannot us any color or zebra with Edit....

0 Kudos

hi,

Thanx a lot ...

now i regret my ignorance...i haven't think in that way..

bye,

Arjun.G

MarcinPciak
Active Contributor
0 Kudos

See these two demo programs:

BCALV_EDIT_01

BCALV_EDIT_02