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 / Launch SAP - SAP GUI s...
Power Automate
Unanswered

Launch SAP - SAP GUI scripting API error

(0) ShareShare
ReportReport
Posted on by

When I use the "Launch SAP" action, the following error returns: SAP GUI scripting API error.
We currently use a shared virtual machine and the error occurs when we perform this action when another user has SAP logged in through Power Automate.

Error details:

Correlation Id: fb7aa3b0-951e-4cd1-b051-2c1fc19a9ac9

Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: SAP GUI scripting API error.
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)

 

erroSAP.png
I have the same question (1)
  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @rbsaroni ,

     

    I think you have not enabled the SAP GUI Scripting Option in SAP Application.

    Please Enable the SAP GUI Scripting as shown in below image.

     

    1. You have SAP Scripting option available in Options.

    VishnuReddy1997_0-1712106189182.png

     

    2. And make sure your Scripting settings looks like this and So the Enable scripting needs to be checked.

    VishnuReddy1997_1-1712106266184.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • InduSubramanian Profile Picture
    2 on at

    I m also facing same issue. I have the script setting as above.Any solution 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard