SAP VBA 弹出窗口关闭

SAP VBA Popup Close

我正在使用 Excel 在 SAP 中进行提取。但是文件太大了,我经常收到一条弹出消息:"EP0:Maximum Hold Time Exceeed"。我很容易处理SAP内部的弹出窗口,但我不知道如何处理这种类型的弹出窗口(我认为它是由后端生成的,它看起来像一个Windows弹出窗口并且没有触发On Error语句当它发生时)。任何关于如何处理这个的想法都会非常有帮助(:

这是 SAP 错误消息,而不是 excel。

根据这个 link :SAP error question

it's a situation when work process on R/3 server waits for GUI action. When it exceeds value defined in rdisp/max_hold_time you will get the message. Otherwise the work process would be blocked. You can try to alter the parameter - the value is in seconds or install a new GUI

关于安装新的 GUI(我认为当前的是 730)另一个用户评论说 "New GUI may be better optimized in terms of TCP/IP connection."

要更改超时参数,您需要访问 SM50、SM51 或 RZ11 事务(根据:Another similar question

表示要更改参数:

Check SM50 or SM51 and see if any users is holding the work process if so kill that processing time then it will be ok or esle go to RZ11 AND CHECK rdisp/max_wprun_time change it to 300 or 600 sec

所以基本上你的 program/script 需要等待更长的时间才能成功完成。

希望对您有所帮助。