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

Non Deletable Alv ROWS

Former Member
0 Likes
644

HI,<br />

<br />

im using the class cl_gui_alv_grid for editable ALV grid.<br />

I need to make certain rows non-deletable based on user roles.<br />

Kindly help

Edited by: Julius Bussche on Jul 14, 2008 2:12 PM

If you use "Urgent" in your subject title or message, then the thread will be locked.

HI,<br />

<br />

im using the class cl_gui_alv_grid for editable ALV grid.<br />

I need to make certain rows non-deletable based on user roles.<br />

Kindly help

Edited by: Julius Bussche on Jul 14, 2008 2:12 PM

If you use "Urgent" in your subject title or message, then the thread will be locked.

3 REPLIES 3
Read only

Former Member
0 Likes
624

Register the BEFORE_USER_COMMAND event in your program. This event will be triggered before any user or standard command is executed. In the handler of this event you can perform whatever check you want.

Regards,

John.

Read only

Former Member
0 Likes
624

you need to write code manually.

you need to create a button and assign icon for it and then set a handle for it and write code .

Read only

Former Member
0 Likes
624

Check the program:

BCALV_GRID_05

Implement the code in the METHOD handle_user_command.

Regards,

Ravi Kanth Talagana