# Get Dialog Window Name

This is a pre-built Action located under the **@Sap Element**. The functionality of this action in Avo Assure is to retrieve the name of a currently displayed dialog window in the SAP application and save the result in a dynamic variable.&#x20;

### Syntax&#x20;

**Input Value:** `N/A`

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

**Output Value**&#x20;

| Argument                                     | Description                                               |
| -------------------------------------------- | --------------------------------------------------------- |
| <p>\<Dynamic Variable></p><p>(Required) </p> | This variable stores the dialog window name.              |
| <p>\<Dynamic Variable></p><p>(Optional) </p> | This variable stores the status as **True** or **False**. |

**Example:**&#x20;

#### **Capturing the Dialog Title '**&#x54;ransaction MB03 is obsolete (see note 2210569)**' Using the Get Dialog Window Name Action**

The **GetDialogWindowName** action does not require any input value. It captures the title of the dialog window currently in focus. The dialog name (e.g., Transaction MB03 is obsolete (see note **2210569)**) is stored in the **{Window Name}** variable,

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FeysB4VzK7D1Ip1kr2JQz%2Fimage.png?alt=media&#x26;token=3834eecf-1617-494e-bdad-3f051d815e31" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FytmMmqkMddyGV3YhV7ku%2Fimage.png?alt=media&#x26;token=841d86e6-4e23-4497-9538-133ad29cce38" alt=""><figcaption></figcaption></figure>
