‎2011 Nov 09 8:06 PM
Hello Experts,
Does anyone now where I can find documentation for FM TH_REDISPATCH?
When this FM is called, Does it really forces a commit work?
I have already read note 25528, but I need more information.
Thanks in advance and regards!
‎2011 Nov 09 8:46 PM
The note you quote says that it forces a commit, so what's the problem??
Rob
‎2011 Nov 09 8:48 PM
Hi,
I just want to know if there is documentation for the FM and how it works and what it does..
Thanks for your quick reply!
Regards!
‎2011 Nov 09 8:53 PM
You can look for other notes, do a where used list and look at the source code. There doesn't seem to be any documentation (even in German).
Rob
‎2011 Nov 09 9:22 PM
TH_REDISPATCH is internally used by SAP to prevent a long running work process (especially online processes) from getting timed out.
TH_REDISPATCH is part of task handler functions. Other functions in the group like TH_WPINFO lists the work processes run on an application server in real time (used by transaction SM51). I often use TH_WPINFO to see what db activity a running job is currently doing (what we see in SM51 against a process). As SM51 access is normally not provided in production TH_WHPINFO comes handy.