Automate

 View Only
  • 1.  Classification of Vendor Master Creation

    Posted 04-12-2023 11:41

    I am trying to update the classification of a vendor master.  When I map the XK02 to update the script is not picking up the enter after I select the classification.  When I run the script after I get an error.  All of the fields are picked up in the recording but cannot replicate the results needed.

    Classification Entry


    After enter


    Error running the script for the same supplier after deleting the entry

     


    What am I missing?






    ------------------------------
    James McComiskey
    Westinghouse Electric Company LLC
    Canton MA
    ------------------------------


  • 2.  RE: Classification of Vendor Master Creation

    Employee
    Posted 04-13-2023 03:13

    Hi James
    This doesn't look like a MapInfo Pro related question. Which software or application are you using?
    I can try to move your question to the right community when I know



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: Classification of Vendor Master Creation

    Posted 04-13-2023 06:43

    Winshuttle

     

    Stone & Webster, Inc.

    Jim McComiskey

    Senior Buyer

    Global Supply Chain Solutions

    Stone & Webster, Inc.

    A Westinghouse Electric Company

    3 Allied Drive, Suite 303

    Dedham, MA  02026, United States of America

    Phone:  +1 (781) 298-3913

    Cell:  +1 (617) 483-5312

    Email:  mccomijs@westinghouse.com

    Home Page:  www.stoneandwebster.com

     

     

    Upcoming PTO

    April 7

    April 21

    May 5

    May 19

    May 23

    May 29 – US Holiday Memorial Day

     

     






  • 4.  RE: Classification of Vendor Master Creation

    Posted 04-14-2023 02:44
    I think your first screen is only necessary for the first transaction. This field is already filled in for the second transaction. If you look with debug, where does it get stuck?


    ------------------------------
    PP Wortman
    Dekker Zevenhuizen B.V.
    ------------------------------



  • 5.  RE: Classification of Vendor Master Creation

    Employee
    Posted 04-14-2023 11:09
    Edited by Sigrid Kok 04-14-2023 11:12

    Hi James,

    Just created script to add the classification view to already existing materials, adding multiple classes, and ensuring the characteristics show up below to set the values.  The same concepts can be used for vendor..

    PP has part of the puzzle - the classification type pop-up will only happen on the first object (material in my example - vendor in yours) in your run, so an IF is good there.  

    the above clicks to filter on the class type, passes in 001 for material class on line 21  (swap to vendor class 010), and then implements the filter and selects the one value to choose the material class type.  It's only needed on the first row, as SAP will remember your selection for the rest.

    I have two loops - one to add classes and one to set characteristic values.

    Inside the add classes loop, I used an OK code that basically double clicks the class name added to get the characteristics to show up in the lower section.  I used cursor position 1 and 2 in that section, because the first class would end up on row 1, but the subsequent classes added would be on row 2 of the classes added.

    The second loop is standard (1) find the characteristic via the description using the binoculars (2)  that moves it to the top (3) set the value.

    I'm attaching the example.  I have developer notes in there to help explain what was done - look for that red triangle, click that row in the script and see the developer notes in the properties - OR hover over the red triangle to see it.  Again it's for material, but the same concepts and approach should work in vendor master.

    Hope it's helpful,
    Sigrid



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



  • 6.  RE: Classification of Vendor Master Creation

    Employee
    Posted 04-14-2023 12:11


    Hi again, James,

    Here's a quick and dirty Vendor example update - slightly different but very close to the Material example.

    It
    (1) handles the class type popup for the first row
    (2) Adds 1 or multiple classes
    (3) sets characteristic values

    Again if you don't want to add multiple classes, you can remove the first loop and just add one class, then set the characteristic values.

    Best Regards,
    Sigrid



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



  • 7.  RE: Classification of Vendor Master Creation

    Posted 04-17-2023 08:52

    Is there any way you can add this to my script?  I only need to add the one and the characteristics are not lining up and still erroring out



    ------------------------------
    James McComiskey
    Westinghouse Electric Company LLC
    Canton MA
    ------------------------------



  • 8.  RE: Classification of Vendor Master Creation

    Employee
    Posted 04-17-2023 12:03

    Hi James

    That's outside of the scope of the community, but here are the tips.

    1. add if first transaction around the class type popup, like this:
    Above
    -row 15 is the pop-up asking for class type - I clicked on the filter
    -row 18 is the filter pop-up, I put in class type 010 and clicked the checkbox
    -row 22 is the class type pop-up with the class type you entered as the only thing you can select and now you select and and hit the checkbox.

    2. click add new class, add it on row 3 and then click on the class name in row 1.  It's the stuff inside the first loop - just remove the loop, as you stated you want to only add 1 clas - copy everything from 28 to 36.
    -Row 27 clicks to add a new class
    -Row 30 adds the new class in row 3 and hits enter 
    -Row 34 clicks on the class name so that the characteristics are displayed below

    The rest is the loop to find a characteristic based on the description using the binoculars, and then setting the value in row 1.

    HTH
    Sigrid




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