Class GuiUserArea
Wraps the SAP GUI user area (GuiUserArea), which is the content
region of a dynpro screen — typically found at wnd[0]/usr.
Exposes FindById(string) so that you can address child controls
using relative IDs instead of always qualifying from wnd[0]/usr/….
public class GuiUserArea : GuiComponent
- Inheritance
-
GuiUserArea
- Inherited Members
Methods
FindById(string)
Finds a child component by its ID relative to this user area and returns a typed wrapper.
public GuiComponent FindById(string relativeId)
Parameters
relativeIdstringID path relative to this container, e.g.
"txtRSYST-BNAME"instead of the full"wnd[0]/usr/txtRSYST-BNAME".
Returns
Exceptions
- SapComponentNotFoundException
No component with that ID exists under this user area.
FindById<T>(string)
Finds a child component by relative ID and casts it to
T.
public T FindById<T>(string relativeId) where T : GuiComponent
Parameters
relativeIdstring
Returns
- T
Type Parameters
T