Application Development 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: 

ALV Editing : check for changes on SAVE button

Former Member
0 Kudos

Hi Experts,

In ALV OO, normal edit of rows, I need to get the data of whether edit is done upon save of ALV report.

It is not working. We are not able to get the data of lines edited.

Have any faced the same/? Can yourself shed some light on it?

Regards

sBk

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Please use search tool, u will find many threads for your query.

http://scn.sap.com/thread/1602738

http://scn.sap.com/thread/3295165

5 REPLIES 5

Former Member
0 Kudos

Please use search tool, u will find many threads for your query.

http://scn.sap.com/thread/1602738

http://scn.sap.com/thread/3295165

0 Kudos

Thanks Maju

Regards

sBk

former_member184569
Active Contributor
0 Kudos

In the method to handle user command, call the method to refresh ALV grid.

METHOD handle_user_command.

  case ok_code.

     when 'SAVE'.

CALL METHOD GRID1->CHECK_CHANGED_DATA.

CALL METHOD GRID1->REFRESH_TABLE_DISPLAY.

ENDMETHOD.                    "handle_user_command

Former Member
0 Kudos

Search with "BCALV_TEST_GRID_EDIT*"   using SE38 (prsss F4 key)  you got some Sample code  give by SAP .like ..BCALV_TEST_GRID_EDITABLE.

Regard's

Smruti

raymond_giuseppi
Active Contributor

Usually I put an o_alv->check_changed_data in every PAI that contains an editable ALV, just after the MODULE modexit AT EXIT-COMMAND. So it is always executed if user don't use a BACK/CANCEL key.

Regards,

Raymond