Automate

 View Only
  • 1.  Script to assign material in QP02

    Posted 08-01-2023 10:13

    Hello Everyone,

    I am using WInshuttle 12.1 to create a script to launch QP02 and assign multiple material to an inspection plan that I created for 1 material.  I am getting an error as below

    Field (MAPL-WERKS Plant) (3) SAPLCZDI 4010 is not an input field

    The reason is when I recorded the script uisng Transaction there were 2 materials assigned to inspection plan and I added the new material in 3rd row.

    Now, if I try to run the script it is trying to populate it in the 3rd row instead of going to the next empty row.

    Can someone please help in figuring out as to how I can achieve this

    Thanks in advance

    Sreedhar



    ------------------------------
    Sreedhar Konduru
    Carrier Corporation
    NC
    ------------------------------


  • 2.  RE: Script to assign material in QP02

    Posted 08-02-2023 06:31

    Instead of assigning to the 3rd row, right click on the scroll bar and select last page and assign material to any empty row.



    ------------------------------
    Sailesh Patel
    Swagelok Company
    OH
    ------------------------------



  • 3.  RE: Script to assign material in QP02

    Posted 08-02-2023 09:56

    Thank you for your response. This helped to add some material but since I had huge list it did not work after a point.

    I first chose the "last page" and then chose "next page" after right clicking. This brought the control to the last row and from there used TAB to navigate to next row.

    Again thanks for your help.

    Cheers!



    ------------------------------
    Sreedhar Konduru
    Carrier Corporation
    NC
    ------------------------------



  • 4.  RE: Script to assign material in QP02

    Employee
    Posted 08-02-2023 17:08
    Edited by Sigrid Kok 08-02-2023 17:43

    Hi Sreedhar,

    You have to include inside the loop:

    • Last page
    • Next page
    • Add the material to the last row
    • optionally hit enter

    Is that what you did?  If so, can you attach your script?  BTW, I received your private message.  Please note there won't be anything proprietary in your script - it might be in the data file, and you can cleanse that.

    Best Regards,

    Sigrid



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



  • 5.  RE: Script to assign material in QP02

    Posted 08-16-2023 09:40

    Hello Sigrid,

    I sent you a PM. Let me know how I can share the script and before that ensure that there is no prorprietary information in the script.



    ------------------------------
    Sreedhar Konduru
    Carrier Corporation
    NC
    ------------------------------



  • 6.  RE: Script to assign material in QP02

    Posted 08-21-2023 13:14

    Here is the script that created. Hope this helps. Created a similar script to assign material to routings using CA02.



    ------------------------------
    Sreedhar Konduru
    Carrier Corporation
    NC
    ------------------------------