CRM下載物件一直處於Wait狀態的原因

i042416發表於2020-02-03

When you perform request download, the expected behavior is you should see the information message below:

CRM下載物件一直處於Wait狀態的原因

However, sometimes you may see warning message with status Wait instead.

How to research this issue by yourself?

Set a breakpoint on function module SMOF0_INIT_DNL_START which does the main logic of download.
Here the parameter MAX_PARALLEL_PROCESSES is queried. In my system the value is 5, which means at maximum there are FIVE parallel work process allowed to perform middleware download task.

CRM下載物件一直處於Wait狀態的原因

Then line 107 ~ 115 is responsible to calculate how many processes are available to operate on current download task. The result is stored in variable gv_open_processes in line 115.

CRM下載物件一直處於Wait狀態的原因

In my example, the number of free processes is 5 - 5 = 0, as a result the download task could not be started and warning message is raised.

CRM下載物件一直處於Wait狀態的原因

The solution is, either cancel existing running download task in tcode R3AR3,

CRM下載物件一直處於Wait狀態的原因

or maintain a larger value for MAX_PARALLEL_PROCESSES in table SMOFPARSFA:

CRM下載物件一直處於Wait狀態的原因

Keyword

SMOF0_INIT_DNL_START,MAX_PARALLEL_PROCESSES, SMOFPARSFA, running, wait, SMOFDSTAT, SMOFRSTAT, SDIMASTAT

要獲取更多Jerry的原創文章,請關注公眾號"汪子熙".


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2674380/,如需轉載,請註明出處,否則將追究法律責任。

相關文章