Skip to Content
0
Jan 17, 2023 at 07:23 PM

Not show SAP information messages (error VBA)

38 Views

Hi all,

I am currently writing a script in Visual Basics, which connects to SAP in order to download some data and export this data to excel. The script contains a message box, where you can enter a certain plant and period for which you want to download the SAP data.

For small plants, the script works perfectly. But when I enter a larger plant, SAP displays an information message saying "this will take some time". To go further, you just click enter and the download begins. The problem is, my script ends each time when the SAP message pops up, and I am not able to move past this.

image.png

I was wondering whether it is possible to NOT show these SAP information messages anymore. Maybe I need to change something in my SAP settings or add some lines in the script?

Thank you for your help!

Attachments

image.png (7.1 kB)