Automate

 View Only
  • 1.  Loop over list of fixed values

    Posted 05-23-2023 13:13

    Hello All,

    I would first like to create a list of fixed values in the below field:

    ie. 6700, 9200, 1002


    I would then like to loop over those fixed values within my script. Do you all know if something like that is possible?



    ------------------------------
    Daniel Chiappori
    Bell Mobility
    ON
    ------------------------------


  • 2.  RE: Loop over list of fixed values

    Employee
    Posted 05-25-2023 09:51

    Hi Daniel

    Can you please describe what you're trying to accomplish? It looks to me like you want to create a bom in multiple plants, is that right?  If so, you would replicate the data in Excel and swap out the plant for each one.   If that's not it, please provide some details.

    Best Regards,
    Sigrid



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



  • 3.  RE: Loop over list of fixed values

    Posted 05-26-2023 09:48

    Hey Sigrid, yes that is exactly what I am trying to do!

    The list of plants are always the same, this is why I was hoping to have a fixed list of them included in the script, as opposed to repeating lines in the template. What do you think?



    ------------------------------
    Daniel Chiappori
    Bell Mobility
    ON
    ------------------------------



  • 4.  RE: Loop over list of fixed values

    Employee
    Posted 05-30-2023 16:59

    Hi Daniel
    No - we're not really 'programming' in Studio - just posting data to SAP. 
    You could probably write macros to do something like that, changing the plant based on a list, but that's not my area of expertise.
    Best Regards,
    Sigrid



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