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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

SAP Logon issue

(0) ShareShare
ReportReport
Posted on by 14

I am trying to log in into my sap system using power automate. I have used the feature of launch sap and given all the input but i encounter an issue "Object reference not set to an instance of an object". I tried installing previous versions as well but it didn't helped me. @Saplease check thisplease check this

I have the same question (1)
  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Do you have scripting enabled? 
    https://support.leapwork.com/s/article/HowtoEnableSAPGUIScripting63307dd860760

     

    I recommend trying to login with Run Application and see if that works:

     

    eetuRobo_1-1718795742825.png


    Article about it: https://learn.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/creating-sap-desktop-flow-vbscript 

    If so then try using Attach SAP after you have logged in.

  • VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at

    Hi @atharvaj ,

     

    Did you enabled SAP GUI Scripting in SAP.Make sure that SAP GUI Scripting is enabled on both the client and server side. This is necessary for Power Automate Desktop to interact with SAP GUI.

    If not please enable the SAP GUI Scripting option as shown in below image.

    VishnuReddy1997_0-1718799085411.png

     

     

     

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


    Thanks & Regards

    Vishnu Reddy

  • atharvaj Profile Picture
    14 on at

    Scripting at both the ends are enabled.

     

  • VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at

    Hi @atharvaj ,

     

    Just try the SAP record option or try Run application to launch the SAP as mentioned by @eetuRobo .

     

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


    Thanks & Regards

    Vishnu Reddy

  • atharvaj Profile Picture
    14 on at

    I tried using run application as well but after the process stops after logon page and does not move forward to the user id and password page. The flow runs without any error.Screenshot 2024-06-20 102305.pngScreenshot 2024-06-20 102750.png

  • eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at

    Then it sounds like there is something wrong with the SystemID. If it is correct I would ask help for people who administer your SAP.

    For troubleshooting what if you open and login manually and then try Attach SAP -action? 

  • atharvaj Profile Picture
    14 on at

    Changes the parameters from Rz11 and now it is working .

     

  • Verified answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at

    Hi @atharvaj ,

     

    If it is working mark it as a solution,so it will help others in future.

     

    Regards,

    Vishnu Reddy

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard