2009 Apr 03 10:52 AM
Hi experts
this is the scenary
I have a modulpool with buttons that send requests to XI, this modul pool shows an ALV with the responses at the requests sent to XI but i can't refresh the ALV automatically when XI get a new response, i have to press a button to raise tha PAI and then get the new responses and refresh the ALV
I try to use the cl_gui_cfw=>set_new_ok_code in the XI class when a new response arrives but it doesn't launch the PAI in my modul pool
I create an instance of a class in the modul pool and another instance of the same class in the XI class, then in XI raise an event of this class and in my modul pool i have a local class to catch the event (i defined the handle method for the event and put the set handler for all instances) but no result
Is there any way to refresh an alv shown in program 1 from another program 2 without intervention of the user pressing a button in program 1?¿
Thanks and regards
2009 Apr 03 11:13 AM
Hi,
Maybe you could use a field symbol. Assign it to the the alv of program 1, and call the method REFRESH_TABLE_DISPLAY.
Regards,
2009 Apr 03 11:21 AM
It's not very orthodox but i'm going to try it
The problem could be that there would be more than 1 users using it and i don't know what is the behaviour of the field-symbols with this...
Thanks
2009 Apr 03 11:28 AM
That could be a problem, but i think it will refresh only in the session of your running program, not for everyone that's running it.
Regards