SAP Login ‘saplogon.exe SAP’: Error HRESULT E_FAIL has been returned from a call to a COM component.
while I gave the credentials in sap logon, I’m getting the above error. How to resolve.
SAP Login ‘saplogon.exe SAP’: Error HRESULT E_FAIL has been returned from a call to a COM component.
while I gave the credentials in sap logon, I’m getting the above error. How to resolve.
Check SAP Scripting is Enabled:
RZ11
, set sapgui/user_scripting
to TRUE
.SAP GUI Options → Accessibility & Scripting → Scripting → Enable scripting
.Hie @anjani_priya so before working with SAP you have to enable the Scripting because it helps Bot to Detect and interact with the elements
a. Access SAP Server Settings:
b. Open SAP GUI Configuration:
SAP Logon
pad.Customize Local Layout
(the icon with a wrench or ALT
+F12
), and select Options
.c. Navigate to Scripting Settings:
SAP GUI Options
window, go to Scripting
under Accessibility & Scripting
.d. Enable Scripting:
Enable scripting
to allow SAP GUI scripting.Scripting
settings are configured correctly. If not, consult your SAP Basis or system administrator for assistance.a. Open SAP GUI Options:
Customize Local Layout
icon (the one with a wrench or ALT
+F12
) and choose Options
.b. Access Scripting Settings:
SAP GUI Options
window, navigate to Accessibility & Scripting
, then select Scripting
.c. Enable Scripting:
Enable scripting
is checked. This allows SAP GUI to send and receive script commands.a. Check SAP GUI Scripting Status:
cheers Happy Automation
This was done but again iam getting error
I have done but same error
Try updating the SAP activities package to the latest version and set the Runtime Rule to "Lowest Applicable Version.
UiPath.SAP.BAPI.Activities
package or any other relevant SAP package from UiPath’s official feed.C:\Program Files (x86)\SAP\FrontEnd\SAPgui
).check this thing also
cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.