Use the In operator - Automate_Studio - Latest

Automate Studio with Evolve User Guide

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
Latest
Language
English
Product name
Automate Studio
Title
Automate Studio with Evolve User Guide
Copyright
2024
First publish date
2018
Last updated
2024-07-22
Published on
2024-07-22T13:07:48.665095

When you set criteria for a query, you can apply a list of values to the criteria. Query will check the values and return only the records that match. The following characteristics apply to the In operator in Studio Query:

  • A query can contain multiple In operators.
  • A query statement cannot exceed 65,536 characters.

You can copy and paste data into a static list, or you can specify a dynamic lookup list—either a file you import or an SAP lookup table.

Use a static list

  1. In the list of operators, click In and then click the empty box or the List Builder button.
  2. In the List Builder box, be sure that Static Value List is selected, and then do one of the following:
    • Type the values, and you can type descriptions for the values. For example, type 1000 for the value and Plant in Bothell for the description.
    • Click Import. Query gives you three options for importing a list: From File, From Cut/Copy & Paste, and From SAP F4 Lookup.

Import from a file

  1. Click the Browse button and locate the file that you want to use

    If you use a text file, you will need to specify the separators.

  2. Enter the file's rows and column that you want to use for the list.

    You can also choose to trim leading or trailing spaces.

  3. Click OK twice.

Import from Cut/Copy & Paste

  1. Paste the contents of your list, and then click Next.
  2. Specify separators—the characters that signal the start of a new column and the start of a new row.

    If you need to go back and check which separator is used, click Back.

    To limit the data that is available for the list, specify start and end rows.

    You can also choose to trim leading or trailing spaces.

  3. Click Next.
  4. Choose the column for the values, and then click Finish.
  5. Click Finish, and then click OK.

Import from SAP F4 Lookup

In the window that opens, select the check boxes for the items you want to include in your lookup list, and then click OK twice.

Use a dynamic list

  1. In the list of operators, click In and then click the empty box or the List Builder button.
  2. In the List Builder box, click Dynamic Lookup List, and then click Current Data Set File or Linked Excel or Text File.
  3. Click Configure Dynamic List.

    If you are using a linked file, click the Browse button and locate the file that you want to use.

  4. Enter the file's rows and column that you want to use for the list.

    You can also choose to trim leading or trailing spaces.

  5. Click OK twice.