Automate

 View Only
  • 1.  Error running MM01 Classification creation script on all but the first row

    Posted 10-10-2023 10:07
      |   view attached

    Hello everyone, 

    Like the title says, I have some trouble running a script to change the 001 classification for materials. 

    I've created the script myself and it is running fine for one material, but as soon as it moves on to the second row in the data file, it doesn't run all the steps correctly... 

    I ran it in debug mode and the first transaction runs fine, but, on the second one, it seems like it stops after selecting and opening the 001 classification screen. 

    Any idea what this might be? 

    I've attached the script here. 

    Any and all help will be appreciated. Thanks! 



    ------------------------------
    Florin Dumitrescu
    Carestream Dental LLC
    Atlanta GA
    ------------------------------

    Attachment(s)

    Txr
    MM01_Create_Class001.Txr   254 KB 1 version


  • 2.  RE: Error running MM01 Classification creation script on all but the first row

    Posted 10-11-2023 05:23

    I found the problem! 

    So, SAP will remember your choice after picking the classification number and it won't be a choice next time. 

    The solution: 

    Leaving this here for anyone who has this problem. 



    ------------------------------
    Florin Dumitrescu
    Carestream Dental LLC
    Atlanta GA
    ------------------------------



  • 3.  RE: Error running MM01 Classification creation script on all but the first row

    Posted 10-11-2023 08:32

    Hi Florin,

    Classification is one of those oddities where the first time you enter the view, you make a selection. The 2nd time, it remembers the selection you made so the box doesn't pop up. That's likely your issue. I would suggest adding an "If First" statement over the 0001 selection and that should fix it moving forward as long as you always want to select 0001.



    ------------------------------
    Vanessa Kutasi
    Foundation Admin./Application Analyst II
    Idexx Operations, Inc.
    USA
    ------------------------------