Automate

 View Only
  • 1.  MM02 - Runtime error RAISE_EXCEPTION has occurred

    Posted 04-14-2023 03:47

    Hi there,

    facing an "runtime error" while executing a script to update the material master Basic Data 1 view.

    While running in debug mode the error already occurs at the first screen:


    Next screen would be a pop up as there are more than one active Change Number assigned to this material:

    Following the script details:


    Hope someone has faced a similiar challenge and know how to deal with it.

    Thanks
    BR
    Guillaume





    ------------------------------
    Guillaume Allienne
    Moog GmbH
    ------------------------------


  • 2.  RE: MM02 - Runtime error RAISE_EXCEPTION has occurred

    Employee
    Posted 04-14-2023 12:21

    Hi Guillaume

    Am not seeing the same thing in my system, so I'm not sure I can help.

    When I enter the material and change number, I next see views for selection:


    Since you are passing in the material and change number, I wouldn't expect a pop-up with a selection of other change numbers.  

    In any case, for error messages like this, the first thing I'd try is to select the Start SAP GUI option and try again - like in this support article:  https://customer.precisely.com/s/article/Runtime-Error-RAISE-EXCEPTION-has-Occurred-360023691191?language=en_US 
    if that doesn't work, maybe someone else can help - or you can open a support ticket so that they can run through it with you.

    Best Regards,
    Sigrid



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



  • 3.  RE: MM02 - Runtime error RAISE_EXCEPTION has occurred

    Posted 04-17-2023 02:22

    Hi Sigrid,

    thanks for your reply.

    I selected the "SAP GUI" option but still got the error:

    Also I recorded the scrip in "BATCH mode" - no success.

    I you would like to test the scenario on your end you need to create another ECN, CC01, and attach your material to it:

    Then will changing the material, MM02, with another change number you will get the pop up.

    BR
    Guillaume



    ------------------------------
    Guillaume Allienne
    Moog GmbH
    ------------------------------



  • 4.  RE: MM02 - Runtime error RAISE_EXCEPTION has occurred

    Employee
    Posted 04-17-2023 12:11

    Hi Guillaume

    I added another change number to my material, but I still don't get a pop-up - not if I omit the change number and not when I use either of the change numbers assigned.  Maybe it's config in SAP, and I can't change that in a shared system.

    I think for this issue, given you've tried the support article suggestions, you might want to open a support ticket.

    Best Regards,
    Sigrid



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



  • 5.  RE: MM02 - Runtime error RAISE_EXCEPTION has occurred

    Posted 04-19-2023 01:49

    Thanks for checking!

    I just created an support ticket. Will share an update/solution in this thread once the challenge is solved.

    BR
    Guillaume Allienne



    ------------------------------
    Guillaume Allienne
    Moog GmbH
    ------------------------------