Beispiel #1
0
        public static GuiApplication GetSAPGuiApp(int secondsOfTimeout = 10)
        {
            GuiApplication result = null;

            try
            {
                // https://answers.sap.com/questions/12487790/what-are-the-differences-in-vba-methods-to-connect.html?childToView=12494892
                SapROTWr.CSapROTWrapper sapROTWrapper = new SapROTWr.CSapROTWrapper();
                result = getSAPGuiApp(sapROTWrapper, secondsOfTimeout);
            }
            catch (Exception ex)
            {
                Program.log(ex.ToString());
            }
            return(result);
        }
Beispiel #2
0
 public static GuiApplication GetSAPGuiApp(int secondsOfTimeout = 10)
 {
     SapROTWr.CSapROTWrapper sapROTWrapper = new SapROTWr.CSapROTWrapper();
     return(getSAPGuiApp(sapROTWrapper, secondsOfTimeout));
 }