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 / SAP Attach Action failure
Power Automate
Unanswered

SAP Attach Action failure

(1) ShareShare
ReportReport
Posted on by 10
Hi All,
 
Iam using SAP logon 800 and power automate 2.46. Iam using run application and attach action of PAD to open the sap server. This works perfectly fine for quality server, but for production server iam getting the below error at attach action:
 
Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.Exceptions.SessionNullException' was thrown.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Attach to running SAP error Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.Exceptions.SessionNullException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.Exceptions.SessionNullException' was thrown.
   at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.AttachToRunning.AttachToRunningSapByActiveSession()
   at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.AttachToRunning.AttachToRunningSap()
   at Microsoft.Flow.RPA.Desktop.Modules.SAP.Actions.AttachToRunning.Execute(ActionContext context)
I have the same question (1)
  • Sayan Profile Picture
    818 Moderator on at
    Hey Rayson-LD,
     
    The error you're encountering, SessionNullException, indicates that Power Automate Desktop is unable to attach to the running SAP session. This issue can be specific to certain configurations or settings in your production server compared to your quality server.
     
    1. Please check the Versions of SAP in both server is same or different.
    2. Ensure that no other SAP sessions are interfering with the attach action. Sometimes, multiple open sessions can cause issues.
     
     
    -----------------------------------------------------------------------------------------------------------------------------------------------------
    if my suggestion helps you, please gives it a Like and Marks as a Solution. Which motivates me to solve more Problems.
     
    Thanks,
    Sayan Patra
    RPA Developer
  • Rayson-LD Profile Picture
    10 on at
    Hi Sayan,
     
    Thanks for the reply, Really appreciate it.
     
    Following up on your suggestions :
     
    1. How can i check the SAP versions of the servers. Can it be checked in SAP logon 800?
     
    2. Iam sure that there are no other sessions running, Otherwise, the error would've thrown to Quality server as well. But it works fine.
     
    Can you please let me know ...

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
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard