Original Message:
Sent: 06-12-2025 02:10
From: Oddgeir Wold
Subject: Script fails after the first row - IR02
Hi,I think I had same issue in another transactional script and this was resolved by updating in the properties of the mapper(right side in mapper) by changing "Renew session after" from "0" to "1". Maybe worth a try. 
------------------------------
Oddgeir Wold
Masterdata Expert
Yara International Asa
Oslo
Original Message:
Sent: 06-11-2025 14:28
From: Sigrid Kok
Subject: Script fails after the first row - IR02
Hi Mark
This was a bit of a puzzle. It seems to stop with the message on the first one and then the rest don't run, because it's expecting the initial screen where you enter plant and work center, but it's stuck here:

I tried to add an EXIT step at the end - no good.
I tried to back out of the Capacity header and then save - no good.
I tried checking the Start SAP GUI checkbox - no good.
Then I re-recording selecting BATCH mode as the recording mode, and it seems to work, but you don't get a good message "No message is returned from SAP" and no extended log is available in batch mode.

FYI,
Sigrid
------------------------------
Sigrid Kok
*Precisely Software Inc.
Original Message:
Sent: 06-11-2025 05:56
From: Mark Berbezier
Subject: Script fails after the first row - IR02
Hi all, I was wondering if anybody has seen this sort of thing before!
I've recorded a script with t-code IR02 (maintain workcentre) in SAP ECC.
The steps are: -
Enter plant and workcentre
Click on "capacities" (either directly or via the tab within the transaction)
Click on the capacities header
change the factory calendar
save.
This works for the first row but fails on subsequent rows. Debugging the script, it seems to save the first one but not save after that. Does anybody have any insight as to what it is doing differently after the first row and any workaround?
(I've attached the script - for test purposes I'm just updating a test workcentre)
Many thanks!!
Mark
------------------------------
Mark Berbezier
SAP Analyst
SEVERN TRENT WATER LIMITED
------------------------------