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 Editing : check for changes on SAVE button

Former Member
0 Likes
2,516

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
Read only

Former Member
0 Likes
1,270

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

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

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

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,271

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

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

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

Read only

0 Likes
1,270

Thanks Maju

Regards

sBk

Read only

Former Member
0 Likes
1,270

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

Read only

Former Member
0 Likes
1,270

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

Read only

RaymondGiuseppi
Active Contributor
1,270

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