2008 Feb 24 7:14 AM
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.
2008 Feb 24 8:39 AM
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.
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.
2008 Feb 24 7:57 AM
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.
2008 Feb 24 8:39 AM
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.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |