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

ALV

Former Member
0 Likes
518

Hi ,

One of the field on ALV list is editable. After changing the value , it should get saved and reflected

in the internal table. How can I do it ?

How to get the changed value?

Is there any function module?

Please give a solution .

Regards,

Srinivas P.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

Hi,

The Method <b>CHECK_CHANGED_DATA</b> will update the edited values in the Internal Table.

It corresponds to the Class <b>CL_GUI_ALV_GRID</b>

U try This,

Data : grid_pur TYPE REF TO cl_gui_alv_grid.

.....

.........

CALL METHOD grid_pur->check_changed_data.

Regards,

Padmam.

Hi,

The Method <b>CHECK_CHANGED_DATA</b> will update the edited values in the Internal Table.

It corresponds to the Class <b>CL_GUI_ALV_GRID</b>

U try This,

Data : grid_pur TYPE REF TO cl_gui_alv_grid.

.....

.........

CALL METHOD grid_pur->check_changed_data.

Regards,

Padmam.

3 REPLIES 3
Read only

Former Member
0 Likes
497

Hi,

check this standard pgm.

<b>BCALV_EDIT_04</b> This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to

implement the saving of the new data.

and also check the demo programs

BCALV_FULLSCREEN_GRID_EDIT

BCALV_GRID_EDIT

BCALV_TEST_GRID_EDIT_01

BCALV_TEST_GRID_EDITABLE

Regards

Sudheer

Read only

Former Member
0 Likes
498

Hi,

The Method <b>CHECK_CHANGED_DATA</b> will update the edited values in the Internal Table.

It corresponds to the Class <b>CL_GUI_ALV_GRID</b>

U try This,

Data : grid_pur TYPE REF TO cl_gui_alv_grid.

.....

.........

CALL METHOD grid_pur->check_changed_data.

Regards,

Padmam.

Read only

0 Likes
497

Thank You !!!!!!!!!!!!!