Search code examples
vbasap-gui

Getting data out of SAP information box with vba


I'm automating a process with VBA, and I'm using SAP Scripting to do so.

The process is basically go to VA01, input the Orders Data and save the order. But there is a variant in saving the order that is cracking up my head. The SAP displays a popup message with relevant informations about the order, and I need that information and can't figure out how to get the Text out of the infobox that is displaying when you save the order.

Infos are: Blocked on price, No limit etc... And when it displays that message, I need to save it on a TXT file (i've already got a code for that), I just need a help in manage how to get that text out of the infobox.

Information Box


Solution

  • If you had an access to the messages you can use MESSAGE - INTO (check info about it)

    if i got your task incorrect pls write here. Good luck