You're welcome :) Your SAP BASIS team may be able to help you troubleshoot why SAP script recording and playback is failing at that step. If not then SAP is a good next step.
We use both Studio scripts (batch and non-batch modes) or Studio Direct scripts (BAPIs). Depending on the requirement.
Original Message:
Sent: 05-14-2025 11:20
From: Rodion Pustovalov
Subject: Err:The control could not be found by id.
Hello Shelby,
Thank you for the suggestion above.
I have encountered the same error and at the same stage of the script execution by using the "SAP script recording and playback".
The behaviour of the script erroring only in Production Client and running smoothly in all others seems to be uniform across Winshuttle and SAP script recording and playback. Hence, I am assuming that there may be some sort of technical difference between the Production Client and the rest. I am inclined to raise this with SAP as I am unable to spot any functional difference from my end.
As per your comment above, you choose to use BAPIs/RFMs instead; are you using those in combination with scripting or standalone?
Kind regards
Rodion P.
------------------------------
Rodion Pustovalov
Knowledge Community Shared Account
Burlington MA
Original Message:
Sent: 01-31-2025 17:23
From: Shelby Murrell
Subject: Err:The control could not be found by id.
Hello Rodion,
GUI scripting mode scripts are notorious for being over sensitive and breaking. I have seen examples where if someone's excel data file was sized different, the script would through that error. The equivalent of Studio GUI scripting mode in SAP directly is called "SAP script recording and playback". I would suggest trying this out and seeing if it still fails. SAP Script recording and playback The recording will be a VBS file. If it works in SAP, you can compare the VBS (I would save and open in notepad to review the code) with the Studio script mapping. If it fails using that, it will fail in Studio.
I choose to use BAPIs/RFMs instead.
------------------------------
Shelby Murrell
SAP Functional Lead
MONSTER ENERGY
[USA]
Original Message:
Sent: 12-11-2024 10:54
From: Rodion Pustovalov
Subject: Err:The control could not be found by id.
Hello to the community,
I am facing an unexpected issue with the error in subject.
I have recorder a GUI script for RECN transaction in one of our Non Production SAP systems.
This script is working fine in all our Non Production SAP system but throws the error in subject very early in the script when executed in Production system.
To my understanding the SAP systems (non prod - prod) are technically identical hence I am unable to get my head around this and am hoping the community might shed some light.
Looking forward to hearing communities' ideas.
Note: I have restricted access to Production SAP system hence my usual workaround of re-recording a failing script in the system the issue occurs, is against the current authorisation policy.
------------------------------
Rodion Pustovalov
Knowledge Community Shared Account
Burlington MA
------------------------------