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

CHECK_CHANGED_DATA is not working second time in code

Former Member
2,636

I am using CL_GUI_ALV_GRID for displaying a Itab, now the ALV is editable and the updated itab will modify a dictionary table. Now in PAI check_changed_data is called.

For the 1st time when any change is made in ALV the method is being triggered and the change is being reflected in the ITAB.

And based on the success or failure some fields are being changed in the ITAB so I have to display that table again in ALV.

Now this time if user changes any records in the ALV , this time in PAI the check_changed_data is not being triggered.

So no change is being reflected this time to ITAB.

I have tried register_edit_event also. But still not working..

I need a solution to this problem...

6 REPLIES 6
Read only

former_member392866
Active Participant
0 Likes
1,418

Sourav,

Problem with clearing data and getting data.....

So, if you post that code we'll verify code and will fix the issue.

Regards,

BALAJI.

Read only

Former Member
0 Likes
1,418

Hello

Please refer to the below mentioned URL (website).

http://wiki.sdn.sap.com/wiki/display/ABAP/Making+ALV+to+react+to+Change+data+automatically

Kindly let me know if any further details is required.

<removed by moderator>

Regards

sandeep

Message was edited by: Thomas Zloch

Read only

Former Member
0 Likes
1,418

Hello,

When you say

"And based on the success or failure some fields are being changed in the ITAB so I have to display that table again in ALV."

You mean that you are executing the method REFRESH_TABLE_DISPLAY, right? You are not executing the method SET_TABLE_FOR_FIRST_DISPLAY.

Regards,

Read only

0 Likes
1,418

I used both the method, in neither of the case it worked

Read only

Former Member
0 Likes
1,418

I got a solution, REFRESH_TABLE_DISPLAY also feed data to the itab..which is working properly

Read only

0 Likes
1,418

Hi,

Can you share on how this issue is resolved, especially from second time changes in ALV ......