I'm automating a process with VBA, and I'm using SAP GUI Scripting to do so.
The macro is to create dispute cases and it works fine but I want to know if it's possible to extract a text from a confirmation box when the case is duplicated.
I have the code to get the text from a information box but doesn't work with this window.
session.FindById("wnd[1]/usr/txtMESSTXT1").Text
This is the part of the code where I'm trying to get the text:
If session.ActiveWindow.Name = "wnd1" Then 'copy text from pop up rn(I, 11) = session.findById("wnd1").Text 'This only returns the name of the box.