Automate

 View Only
  • 1.  Err:The control could not be found by id.

    Posted 12-11-2024 10:55

    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
    ------------------------------


  • 2.  RE: Err:The control could not be found by id.

    Employee
    Posted 12-12-2024 15:33

    Hi Rodion

    This is not my area of expertise.  A couple of general things you could check:

    • did you record using GUI scripting?  If so, does prod allow SAP scripting?  You'd have to ask your Basis team.
    • are the tcode settings in non-prod and prod identical?  Sometimes tcodes have pop-ups and/or defaults that aren't the same between SAP systems and cause the script to throw an error.  The key would be where in the script is this happening?  Can you run in debug mode?

    Hope that gives you a few ideas,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: Err:The control could not be found by id.

    Posted 12-17-2024 12:02

    Hello Sigrid,

    Thank you for your comments. Please find my replies below:

    • did you record using GUI scripting? - Yes. If so, does prod allow SAP scripting? - Yes. You'd have to ask your Basis team.
    • are the tcode settings in non-prod and prod identical? - Yes. Sometimes tcodes have pop-ups and/or defaults that aren't the same between SAP systems and cause the script to throw an error. - No differences between the systems. The key would be where in the script is this happening? - It happens in the first field of the script that is supposed to be updated as per the data sheet. Can you run in debug mode? - I don't see any additional information in debug mode for this kind of error but will arrange one and update.


    ------------------------------
    Rodion Pustovalov
    Knowledge Community Shared Account
    Burlington MA
    ------------------------------