Hello together,
before I tell you the problem I want to describe step by step how I automate the process in SAP GUI Logon with SAP iRPA.
First of all I check to SAP GUI scripting is activated on client and server side.
(1) For Client side I select In SAP GUI Configuration under Scripting the following field:

(2) For Server side I check the value True in transaction RZ11 -> sapgui/user_scripting

After I have checked these criteria, I start by checking the authorization of my user account in transaction SU01 -> Profile
(3) My user account have SAP_ALL Profil rights on system

So know I start with Capturing and Declaration of the Process automation with SAP iRPA
(4) Create Project in Desktop Studio

(5) Activate SAP GUI connector under Edit Project/Libraries

(6) Capturing and Declaration of the SAP Logon
(6.1) To capture the SAP Logon under + Add Application with the Technology UIAutomation

(6.2) Capture SAP Logon 750 Window
Criteries for pWindowSAPLogon75: Tag, Value, ControlTpye
(6.3) Capture Page SAP

Criteries for pSAP: Type, Text, Deepness
(7) And know I create my workflow

(7.1) Steps on pWindowSAPLogon75:

(7.2) Steps on pSAP:

(8) I saving my project I click on the “Build” icon to finally generate the code and build the executable scenario
(9) After the build process is finished I start the Debugger