Skip to Content
Technical Articles
Author's profile photo Pedro Iranzo Egea

What do SAP GUI object ID means?

SAP GUI identifies each element that appears on a window with an ID (technically an object id) that looks like:

/app/con[0]/ses[0]/wnd[0]/usr/ctxtMFRPN-LOW

ID%20of%20an%20SAP%20GUI%20element

ID of an SAP GUI element

From the documentation:

An object id is a unique textual identifier for the object. It is built in a URLlike formatting, starting at the GuiApplication object and drilling down to the respective object.

Read more about this in GuiComponent Object | SAP Help Portal

You can use this ID to automate processes in SAP GUI using its built in script tool, or with SAP Build Process Automation.

Let’s see in details what this URL-like means.

SAP GUI ID dissection

🔍 You can click on the images to make them bigger.

Application /app

Application where all SAP GUI activity takes place, e.g.: SAP Logon.

Connection /con[0]

Connection level. You will see /con[1] when you connect to more than one SAP system:

When%20connecting%20to%20more%20than%20one%20system%2C%20the%20connection%20index%20increases

When connecting to more than one system, the connection index increases

Session /ses[0]

Session level: the index will increase when you open additional transactions:

When%20opening%20more%20than%20one%20transaction%2C%20the%20session%20index%20increases

When opening more than one transaction, the session index increases

Window /wnd[0]

Window level, the visible window. you will see /wnd[1] when you are working with popups and value helps within a transaction:

Popups%20are%20additional%20windows

Popups are additional windows

User area /usr

User area, where most of the elements are (highlighted in red below)

The%20user%20space%20contains%20the%20main%20elements

The user space contains the main elements

 

Element (e.g.: /ctxtCHARG-LOW )

It refers to the particular element and has two parts: – ctxt is the element type (GuiCTextField, text field with combo box, in this case). There are – CHARG-LOW is the element name

Details%20of%20an%20element%20of%20the%20screen

Details of an element of the screen

Property Viewer

In the previous examples, I’ve used the NwbcPropertyCollector tool to see the properties of a field in SAP GUI. This application can be launched from C:\Program Files\SAP\NWBC800\NwbcPropertyCollector.exe (you may have a different NetWeaver business client version).

Property%20Collector%20tool

Property Collector tool

More info on the tool: Identifying UI Elements with SAP GUI Property Collector | SAP Help Portal

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.