web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / New SAP Launch functio...
Power Automate
Unanswered

New SAP Launch function error

(0) ShareShare
ReportReport
Posted on by 20

Hi All Gurus here,

 

I've faced with error when try to automatically login into SAP using Launch SAP Function. I've searched many places, no mention the usage of new SAP Launch function yet. I hope can get some clues here.

 

Here is the error code:

Correlation Id: ba0ef564-b57d-48c2-bbdf-0e94f3dd2e6b

Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Action failed. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.GetGuiApplication()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.get_GuiApplication()
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapGuiProxy.OpenConnection(String connectionString)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.CreateConnectionToSapServer(ConnectionMode connectionMode)
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.SapLogin.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

I have the same question (0)
  • coragi Profile Picture
    2 on at

    Hi,

     

    Have you recently upgraded your SAP GUI client from 32-bit to 64-bit?

    The CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} refers  to the class SapROTWr.SapROTWrapper found in the library "SAPROTWR.DLL".

     

    In my case the 32-bit registry is referring to the 64-library "C:\Program Files\SAP\FrontEnd\SAPGUI\SAPROTWR.DLL".

    The mixing of 32-bit and 64-bit might be the reason for the issue.

     

    I have unfortunately not yet found a solution to the problem.

     

  • chillerbox Profile Picture
    20 on at

    Hi Coragi,

     

    Sorry for the delayed reply,

    My SAP GUI client is 32 bit, but I've recently install SAP Analysis for Microsoft Office which is 64 bit. Not sure if this was the case, because I just tried to launch SAP via Power Automate Desktop in recent weeks after installing SAP Analysis.

     

    I'll try to remove the 64 bit one and lets see what happens.

  • micro_spaceguy Profile Picture
    8 on at
    Have you found any solution to this issue?
  • chillerbox Profile Picture
    20 on at

    Hi,

    I've updated my SAPGUI version to 760, now the SAP Launch function is working properly. Try to update you SAPGUI version and see if its working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard