首页 > 应用开发 > IT综合 > CRM下载对象一直处于Wait状态的原因
When you perform request download, the expected behavior is you should see the information message below:

However, sometimes you may see warning message with status Wait instead.
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.

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.

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.

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

or maintain a larger value for MAX_PARALLEL_PROCESSES in table SMOFPARSFA:

SMOF0_INIT_DNL_START,MAX_PARALLEL_PROCESSES, SMOFPARSFA, running, wait, SMOFDSTAT, SMOFRSTAT, SDIMASTAT
要获取更多Jerry的原创文章,请关注公众号"汪子熙".
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2674380/ ,如需转载,请注明出处,否则将追究法律责任。