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 List problem

Former Member
0 Likes
444

HI,

I'm using an ALV list to display and edit an internal table in a popup screen.

The class I'm using is CL_GUI_ALV_GRID, also I'm creating my own field catalogue and within the layout structure I'm setting edit = 'X'.

My problem is that after I exit the ALV list/popup screen, the internal table has not

changed.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

HI,

The following method should be called to commit any changes that have been made by the ALV routines.

DATA: l_valid TYPE c.

CALL METHOD grid->check_changed_data

IMPORTING

e_valid = l_valid.

CHECK ( l_valid EQ 'X' ).

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

2 REPLIES 2
Read only

Former Member
0 Likes
429

it will not change automatically.

you might require it to save first.Add a button save or ok.

in PAI, at user command access the changed row and call Modify statement to modify the internal table.

reward if useful.

Read only

Former Member
0 Likes
430

HI,

The following method should be called to commit any changes that have been made by the ALV routines.

DATA: l_valid TYPE c.

CALL METHOD grid->check_changed_data

IMPORTING

e_valid = l_valid.

CHECK ( l_valid EQ 'X' ).

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.