
Getting a "Dirty Flag"
Use
If you present data on your tab page, which can change during the life cycle of a work item, you must update it in the
PBO of your tab page.You can find out whether the data must be updated from the SAP main screen.
Features
The relevant macro is:
SWL_WIDISP_GET_DIRTY
The macro could be implemented as follows:
[...]
data: my_flag like sy-input.
swl_widisp_get_dirty my_flag.
if my_flag = ´X´.
perform read_data_and_refesh_screen.
endif.
[...]