Hi Robert
Was able to use your script and run the first 8 rows, mapping to my data

Also, this looks like an "enjoy" transaction, so launch GUI has to be checked, which it was in your script.
For MIGO, I've always used non-batch with controls for this tcode, but I didn't lookup what the best mode should (could) be. Overall, I like the bapi option that I shared earlier.
Long story short, if this is the only way you can script it, and you consistently get this message, I would open a support ticket.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 11-16-2022 11:54
From: Robert Zsedely
Subject: MIGO recorded in Batch mode - Causing SAPGui Max Sessions popups
Winshuttle Studio 12.1
SAPGui 740 Final Release 7400.3.15.1131 build 1785483 patch 15
files attached.
------------------------------
Robert Zsedely | Business Architect
Seneca Foods Corporation | Fairport, NY |
Original Message:
Sent: 11-16-2022 09:39
From: Sigrid Kok
Subject: MIGO recorded in Batch mode - Causing SAPGui Max Sessions popups
Hi Robert,
Please attach you script so that we can take a look, and if possible the data template - you can scrub the data. I'm interested in what you're passing in on top

Also, what version of Studio are you on, please? SAP GUI 740 is quite old, and I'm wondering about compatibility, as well. If you're on Studio 12.1 the doc lists this for pre-requisites
730 - patch 15 740 - patch 19 750 - patch 10 760 - patches 1, 2, 3, 4, 5, 6, 7, 8, and 9 |
What's your patch level on SAP GUI 740.
Thanks,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
Original Message:
Sent: 11-16-2022 08:16
From: Robert Zsedely
Subject: MIGO recorded in Batch mode - Causing SAPGui Max Sessions popups
Winshuttle Studio 12.1 has been running fine for years. Almost every script (40+) recorded in Standard mode. Transaction MIGO for Goods Receipt wasn't working that way and found that I am supposed to record in Batch mode. Winshuttle Link That worked! However, now I get multiple SAP Gui errors where it is acting like it does not close the SAPGui Session after each MIGO post. Screenshot Attached. This is the ONLY script where this has happened.
SAP Netweaver 7.5 ERP 6 Enhancement Pack 8.
SAPGui 7.40 - which works fine for Winshuttle Studio 12.1 as well as this version of SAP. Has worked perfectly for years.
------------------------------
Robert Zsedely | Business Architect
Seneca Foods Corporation | Fairport, NY |
------------------------------