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

Shared Objects and gui programming

Former Member
0 Likes
348

Hello

I have to write a program which will refresh it's screen depending on a external event. In my case the external event is processed by a ABAP-Class on the same application server. So my idea was to set up an event handler but it didn't work.

Cause it has to work as a prototype, now i write the data in table an the program with has to display this pulls that table any 1 second. I'd like to now if there are other possibilities to solve such problems. One of my ideas was to set up a shared object which fires a event when new data will arrive. But i read in a blog from Thomas Jung that this is not possible (/people/thomas.jung3/blog/2004/12/09/netweaver-for-the-holidays-a-lession-in-sharing-abap-shared-memory)

Every input is appreciated !

Kind regards

Herbert

2 REPLIES 2
Read only

Former Member
0 Likes
321

Hi,

Can you please explain what do you mean by refresh the screen??

Regards

Nishant

Read only

0 Likes
321

Hi Nishant

with refresh the screen, i mean that we want the SAP-GUI to reads its new underlying data and to show that again.

I us a instance of cl_gui_timer to call every xx seconds the funktion SAPGUI_SET_FUNCTIONCODE with funktioncode = 'REFRESH'.

But what i realy want is to catch some kind of event and the call SAPGUI_SET_FUNCTIONCODE.

Best regards

Herbert