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

Edit Alv data using CL_SALV* functions

Former Member
0 Likes
421

Dear friends,

I am using CL_SALV* classes to show alv output. Now i have a requirement to edit some fields and perform validation on the entered value. How i can do that using CL_SALV* functions just like it is possible using cl_gui_alv_grid functions.

Regards,

Praveen Lobo

2 REPLIES 2
Read only

Former Member
0 Likes
383

Use the following class

grid_real type ref to cl_gui_alv_grid.

grid_real->is_ready_for_input( ) EQ 1.

IF grid_real->is_ready_for_input( ) EQ 0.

CALL METHOD grid_real->set_ready_for_input

EXPORTING

i_ready_for_input = 1.

This will help u to edit alv.

You can get the edited values by using the method GET_SELECTED_COLUMNS and GET_SELECTED_ROWS.

These belong to the same class cl_gui_alv_grid.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
383

It's not possible in SALV