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

OO ALV data problem - Display does not refresh

Former Member
0 Likes
460

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.

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
424

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

Read only

0 Likes
424

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.