Skip to Content
0
Nov 20, 2008 at 01:32 PM

update a text on screen without action/event of an user

28 Views

Hi everybody,

I have a checkbox ch_pax.

When i activate this checkbox, i want to display the status of a Process Chain via a table.

BUT the refresh of the status does work only if an user create an event on the screen.

I want to refresh the status on the screen without action of an user ....

Please, Help me !

Thanks

Rodolphe.

Here the code ABAP:

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF ch_pax = 'X'.

SELECT * FROM rspclogchain UP TO 1 ROWS WHERE chain_id LIKE 'PAX_AIRLINE' ORDER BY datum DESCENDING zeit DESCENDING.

CASE rspclogchain-analyzed_status.

WHEN 'R'.

com_pax = 'PC Ended with Errors'.

WHEN 'G'.

com_pax = 'PC Ended with Successfull'.

WHEN 'A'.

com_pax = 'PC in Process ...'.

WHEN OTHERS.

com_pax = rspclogchain-analyzed_status.

ENDCASE.

ENDSELECT.

ENDIF.

ENDLOOP.