# Get All Key Value Pairs

This is a pre-built action available under the **Captured Dropdown Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure to fetch the key values for all the items present in the dropdown list and save the result in dynamic variable.&#x20;

### **Syntax**

**Input Value:** `N/A`&#x20;

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value:**&#x20;

| Argument                                 | Description                                                                      |
| ---------------------------------------- | -------------------------------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This dynamic variable holds the all key value pairs retrieved from the dropdown. |
| <p>\<Dynamic Variable><br>(Optional)</p> | This dynamic variable holds the result as **Ture** or **False**                  |

**Example**

**Fetches all key-value pairs from a dropdown list in the SAP application during execution.**

The **Get All Key Value Pairs** action does not require any input in the Input Value column and retrieves all available key-value pairs from the specified dropdown. The result of the retrieval operation is stored in the **{Pairs}** variable as ( **1000 North Region,** **2000 South Region )**

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FRJg5d3hR54pX1dyNTBTm%2Fimage.png?alt=media&#x26;token=b5f90b29-44e2-40e3-948c-dca27a05ad16" alt=""><figcaption></figcaption></figure>
