‎2011 Jan 03 12:54 PM
Hello.
I am facing an issue while creating editable OO ALV screen. Below are the details.
I have two types of files listed on a screen Header and Items. Both the files have different structure and field catalogs.
The user is to select one file at a time and go and edit its contents.
Problem is - If I edit a header file first, and then go on to a items file, the editable ALV screen does not show the contents of items file and still shows the header file. Similarly, if I edit a items file first, and then go on to a header file, the editable ALV screen does not show the contents of header file and still shows the items file. Whichever files is opened first is editable and saves properly. Problem is that the second file does not display.
I have already used CALL METHOD go_editor_grid->refresh_table_display.
Please suggest any possible solutions.
Thanks,
Shishir.
‎2011 Jan 03 1:10 PM
Hello Shishir
Whether you have editable or display-only ALV grids or display multiple ALVs on the same or different screens they will properly communicate with each other if you apply the logic described in blog:
[Against All Odds - Programming of Communicating (S)ALV Grid Controls|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21504] [original link is broken] [original link is broken] [original link is broken];
Regards
Uwe
‎2011 Jan 06 7:51 AM
Hello Uwe.
Thank you for your reply. You have a very useful blog there!
Our requirements were changed so we are dropping this part of the implementation. Still, I think your solution would have solved the problem.
Thanks again.
Best Regards,
Shishir.