This is a common error 'Null Reference for the update toolbar error is shown in the Webdynpro ALV'.
There will be a requirement in some cases to hide the toolbar of the ALV component.
This is the code to hide the toolbar of the ALV
once it's set to visible none then we need to make it visible when required to avoid the above null reference errors.
This is the code to unhide/show the toolbar of the ALV
Data: lo_value type ref to cl_salv_wd_config_table.