Work-item-list performance in xFlow Web
The following changes have improved performance:
The tables /WMD/XF_PARAM, /WMD/XF_AP_C01, /WMD/XF_LO_C01, /WMD/XF_XBBCE have been set to "fully buffered".
In the PO modules, the invocation USER_GET_DATA has been replaced with USER_GET_NAME in the method GET_DATA.
Optimization in /WMD/CL_XF_WEB_WILIST → GET_NEW: the parameter
task_objis read directly fromls_agwiwithout any further databank access.Optimization in /WMD/CL_XF_WEB_WILIST → GET_NEW: documents with the status "SELECTED", but
agwi-reserved <> "X"are now excluded directly in the selection methodretrieve_agwi( ).Optimization in /WMD/CL_XF_RUNTIME: attribute
m_header_onlyhas been implemented. If this is set, then only /WMD/WF_XF_HEAD and /WMD/WF_XF_STH will be read.The attribute is not set by means of parameters but rather using the new special class /WMD/CL_XF_RUNTIME_CONTROL.
This class is a singleton, and only has private methods, attributes, and /WMD/CL_XF_RUNTIME and /WMD/CL_XF_WEB_WILIST as friends.
In /WMD/CL_XF_WEB_WILIST → GET_NEW, /WMD/CL_XF_RUNTIME_CONTROL →
set_rt_header_only( )is called, which causes an attribute to be set in the special class.In contrast, in the constructor of /WMD/CL_XF_RUNTIME, this attribute is read with /WMD/CL_XF_RUNTIME_CONTROL →
get_rt_header_only( )and reacts accordingly. Then some select statements will be skipped in the methoddb_read( ).
Implementation of the method ENRICH_WITEXT_LONG in /WMD/CL_XF_AL_SBWP, /WMD/CL_XF_OC_SBWP and /WMD/CL_XF_SI_SBWP has been enhanced.