# SAP Gui Scripting: Get Attribute fields are missing

**URL:** <https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524>\
**Category:** Studio\
**Tags:** sapgui, feedback, sap, uiautomation, activities\
**Created:** [February 2, 2026, 7:48am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524 "2026-02-02T07:48:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mti](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mti/32/176617_2.png) [@mti](https://forum.uipath.com/u/mti)\
**Post date:** [February 2, 2026, 7:48am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/1 "2026-02-02T07:48:00Z")

</div>

Hi,

according to the Scrpting API [GuiVComponent Object | SAP Help Portal](https://help.sap.com/docs/sap_gui_for_windows/b47d018c3b9b45e897faf66a6c0885a8/26824bb464b045558bf5c71a617aa7fb.html?locale=en-US)  
most of the ui elements has more than the attributes that the activity “get attributes” can access. i my case the “IconName” is relevant to know if we need to click or not, in this case we try to use image selector option but the change of the button is only a 5x5px led changing between green and off, which which has proven to be unstable.  
@LevKushnir @raduc : can you extent the number of attributes to all which are available according to the API?

Thanks a lot!

mti

---

<div class="post-metadata">

**Author:** ![LevKushnir](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/levkushnir/32/124465_2.png) [@LevKushnir](https://forum.uipath.com/u/LevKushnir)\
**Post date:** [February 9, 2026, 8:46am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/4 "2026-02-09T08:46:27Z")

</div>

hi @mti

As usual, please show us your screenshot with exact description, that we can reproduce it and see, what is possible and what it not

Best regards, Lev

---

<div class="post-metadata">

**Author:** ![mti](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mti/32/176617_2.png) [@mti](https://forum.uipath.com/u/mti)\
**Post date:** [February 9, 2026, 11:22am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/5 "2026-02-09T11:22:52Z")

</div>

Dear Lev,  
sure, in My case it is a Custom z transaction, but the “IconName” property ca be accessed on every button: e.g. VA01 “Create with reference” the value is “B\_COPY”

 ![image](https://global.discourse-cdn.com/uipath/original/4X/2/e/9/2e9292f2df35eab33cda3ffda46eaec36d48990f.png)  
My Screen look like this  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/4/7/7/4779b65ce69a1b8fdc5a04f3e9d0eb192a8a0dcb.png)  
The Values are “S\_LEDI” and “S\_LED” or “” if the button/control has no Icon

Cheers mti

```auto
If Not IsObject(application) Then
   Set SapGuiAuto = GetObject("SAPGUI")
   Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
   Set connection = application.Children(0)
End If
If Not IsObject(session) Then
   Set session = connection.Children(0)
End If
If IsObject(WScript) Then
   WScript.ConnectObject session, "on"
   WScript.ConnectObject application, "on"
End If

myIcon_Name = session.findById("wnd[0]/tbar[1]/btn[8]").IconName

```

---

<div class="post-metadata">

**Author:** ![LevKushnir](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/levkushnir/32/124465_2.png) [@LevKushnir](https://forum.uipath.com/u/LevKushnir)\
**Post date:** [February 9, 2026, 1:53pm UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/7 "2026-02-09T13:53:10Z")

</div>

Hi @mti,

Good catch! Let’s add this to our supported properties.

Thanks for bringing this to my attention.

Best regards, Lev

---

<div class="post-metadata">

**Author:** ![raduc](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/raduc/32/189180_2.png) [@raduc](https://forum.uipath.com/u/raduc)\
**Post date:** [February 10, 2026, 1:20pm UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/8 "2026-02-10T13:20:58Z")

</div>

Hi @mti,

I’ll add the `IconName` attribute so you can query it from UiPath. In the meantime you can also try using the `Tooltip` attribute and check if it works for your usecase.

---

<div class="post-metadata">

**Author:** ![raduc](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/raduc/32/189180_2.png) [@raduc](https://forum.uipath.com/u/raduc)\
**Post date:** [October 13, 2026, 11:34am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/9 "2026-10-13T11:34:22Z")

</div>

Implemented in 26.4.1

---

<div class="post-metadata">

**Author:** ![LevKushnir](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/levkushnir/32/124465_2.png) [@LevKushnir](https://forum.uipath.com/u/LevKushnir)\
**Post date:** [October 13, 2026, 11:37am UTC](https://forum.uipath.com/t/sap-gui-scripting-get-attribute-fields-are-missing/5716524/11 "2026-10-13T11:37:40Z")

</div>


