Automate

 View Only
  • 1.  RAISE EXCEPTION ERROR

    Posted 11-10-2024 22:16
    Edited by Abhishek Soni 11-11-2024 14:09

    Using IP01 to build new PM with Maintenance Items. 

    Attached is the script but getting this Raise_Exception error. In Debug mode, the script goes wrong when selecting Maintenance Item. 

    Any help/ insight would be greatly appreciated! Thank you!



    ------------------------------
    Abhishek S
    Arlington VA
    ------------------------------

    Attachment(s)

    xlsx
    IP01_20241110_095532.xlsx   5 KB 1 version
    Txr
    IP01_20241110_095532.Txr   3.51 MB 1 version


  • 2.  RE: RAISE EXCEPTION ERROR

    Employee
    Posted 11-11-2024 13:51

    Hi Abhishek,

    When I see that error I change the recording mode. The script is currently set to Standard non-batch with controls, so I recommend changing it to Standard batch. To do this, open the script in Studio, go to the Map tab, go to the Properties panel on the right, find the recording mode and change it:

    Please change the mode, save the script, and run it. Let me know if that resolves the issue. 

    Thanks,



    ------------------------------
    Maria Ebner
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: RAISE EXCEPTION ERROR

    Posted 11-11-2024 13:59
    Edited by Abhishek Soni 11-11-2024 14:09

    Hello, 

    Thank you for the quick response!

    I get the same error with standard mode as well. Based on my assessment, it seems like the script wants to run before SAP screen loads. Works fine if I use IP01 with no Maintenance Items. But if I enter details for Maintenance Items, that's when the scrip runs into this issue. 

    Abhishek



    ------------------------------
    Abhishek S
    Arlington VA
    ------------------------------



  • 4.  RE: RAISE EXCEPTION ERROR

    Employee
    Posted 11-12-2024 13:32
      |   view attached

    Hi Abhishek,

    I made a change to the script so it uses the buttons available on the maintenance item selection screen. Please try it and let me know if it works.

    Thanks,



    ------------------------------
    Maria Ebner
    Precisely Software Inc.
    ------------------------------

    Attachment(s)

    Txr
    IP01_20241110_095532.Txr   3.92 MB 1 version