hey you could use the find option. Once you find the item on page, you coulde use the sendkey method. Chk the sample code.
Let me know if this helps.
Code:
SAPGuiSession("Session").SAPGuiWindow("SAP Directories").SendKey CTRL_F
SAPGuiSession("Session").SAPGuiWindow("Find_3").SAPGuiEdit("Find").Set "Your search value" //Enter the value to be searched
SAPGuiSession("Session").SAPGuiWindow("Find_3").SAPGuiButton("Find (Enter)").Click
SAPGuiSession("Session").SAPGuiWindow("Find_4").SAPGuiLabel("Object").SetFocus //Set focus on the onject
SAPGuiSession("Session").SAPGuiWindow("Find_4").SAPGuiLabel("Object").SetCaretPos 12
SAPGuiSession("Session").SAPGuiWindow("Find_4").SendKey F2//Click on the object
Let me know if this helps.