Automate

 View Only
  • 1.  QS61 - Select 1 Line

    Posted 04-23-2020 11:26
    Hi,

    When trying to run QS61, after entering a characteristic, I use the OK code SPEZZ to add the characteristic values. However, this is not working as expected (the value fields are hidden).  The only options I see are to select all lines, and then go into the SPEZZ OK code. However, there are some materials that will already have characteristics, and I don't want to update those.

    Is there a way I could add a function in my script to select a single line, like I have in my screenshot? If not, is there a FM for this transaction that I could use?




    ------------------------------
    Peter Gonella | MDM Analyst
    Refresco Beverages North America, Inc.
    ------------------------------

    Attachment(s)

    Txr
    QS61.Txr   159 KB 1 version


  • 2.  RE: QS61 - Select 1 Line

    Posted 04-24-2020 10:54
    Hi Peter,

    You may be able to use GUI scripting for this (as it appears batch is not picking up this checkbox). However that would only work if you knew which line you need to select, it it would be consistent. If you need it to position on a specific line, which would be different each run you can try using an If on Index condition (which would also require GUI scripting mode).

    https://support.winshuttle.com/hc/en-us/articles/360023557472-How-to-use-If-on-Index-condition

    If that is not successful I googled BAPI's for QS61 and found a suggestion for QMSP_POST_MATERIAL_SPEC.

    Thank you!
    -Shelby


    ------------------------------
    Winshuttle Support |
    Winshuttle North America |
    ------------------------------



  • 3.  RE: QS61 - Select 1 Line

    Posted 05-01-2020 09:11
    Thank you Shelby!

    Unfortunately, I am unable to retrieve this BAPI in Studio. I am on 12.1 - is there a patch to the WFM that includes this BAPI?

    ------------------------------
    Peter Gonella | MDM Analyst
    Refresco Beverages North America, Inc.
    ------------------------------



  • 4.  RE: QS61 - Select 1 Line

    Posted 05-04-2020 10:56
    Hi Peter,

    You would want to first check with your SAP ABAP team regarding access to this BAPI. Our WFM is not the same as a BAPI Function Module and only applies to items in our SAP named space "WINSHTLQ".

    Thank you!
    -Shelby

    ------------------------------
    Winshuttle Support |
    Winshuttle North America |
    ------------------------------