Show TOC

Syntax documentationset_screen_update Locate this document in the navigation structure

Use this method to control whether the tree is refreshed. Use the UPDATE parameter to determine whether changes to the tree control should be visible immediately.

Use this method if the tree control is redrawn too many times in quick succession due to a series of changes to the data.

Using it will improve the performance of your program. Call it at the beginning of the PAI event using UPDATE = ' ' and then again at the end of the PBO event using UPDATE = 'X'.

Syntax Syntax

  1. CALL METHOD tree->set_screen_update
    	EXPORTING UPDATE		= UPDATE
    		exceptions failed	= 1
    		cntl_system_error	= 2.
End of the code.

Parameters

Description

UPDATE

  • 'X': All changes are visible immediately

  • ' ': The changes are not visible immediately They become visible when you call the method again with UPDATE = 'X'.