简体   繁体   English

SAP VBA 弹出窗口关闭

[英]SAP VBA Popup Close

I am doing an extraction in SAP using Excel.我正在使用 Excel 在 SAP 中进行提取。 But the files are to large, and constantly I get a popup message saying: "EP0:Maximum Hold Time Exceeed".但是文件太大了,我经常收到一条弹出消息:“EP0:超过最大保持时间”。 I deal with popups inside SAP very easily, but I don't know how to handle with this type of popup (I think it's generated by the backend, it looks like a Windows popup and the On Error statement is not triggered when it happens).我处理SAP内部的弹窗很容易,但是我不知道如何处理这种类型的弹窗(我认为它是由后端生成的,它看起来像一个Windows弹窗,发生时不会触发On Error语句) . Any idea of how handle this will be very helpfull (:关于如何处理这个问题的任何想法都会非常有帮助(:

This is a SAP error message and not excel.这是一条 SAP 错误消息,而不是 excel。

According to this link : SAP error question根据此链接: SAP 错误问题

it's a situation when work process on R/3 server waits for GUI action.这是 R/3 服务器上的工作进程等待 GUI 操作的情况。 When it exceeds value defined in rdisp/max_hold_time you will get the message.当它超过 rdisp/max_hold_time 中定义的值时,您将收到消息。 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

Regarding installing a new GUI ( i think the current one is 730) another user comments that "New GUI may be better optimized in terms of TCP/IP connection."关于安装新 GUI(我认为当前的 GUI 是 730),另一位用户评论说“新 GUI 在 TCP/IP 连接方面可能会得到更好的优化。”

To alter the timeout parameter you will need access to SM50, SM51 or RZ11 transactions (according to: Another similar question )要更改超时参数,您需要访问 SM50、SM51 或 RZ11 事务(根据: 另一个类似的问题

It states that to change the parameter:它指出要更改参数:

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检查 SM50 或 SM51 并查看是否有任何用户正在持有工作进程,如果这样杀死该处理时间然后就可以了,或者 esle 转到 RZ11 并检查 rdisp/max_wprun_time 将其更改为 300 或 600 秒

So basically your program/script needs to wait a little bit longer to successfully complete.所以基本上你的程序/脚本需要等待一段时间才能成功完成。

Hope this helps.希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM