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 Automate
Answered

SAP Script in PAD

(0) ShareShare
ReportReport
Posted on by 62

Hi All,

 

When I ry to run this SAP script in PAD,these steps from highlighted line will be skipped, not executed in SAP.I have no idea for the root cause?As it works well when I run this script separately not in PAD.

script error.png

I have the same question (0)
  • Verified answer
    Jamar_Forsythe Profile Picture
    Microsoft Employee on at

    PAD uses the % as a notation for a variable, what's happening is PAD may be attempting to render a variable when that isn't your intention. %% actually renders as %" in PAD
    Replace the %% with %'%%'%
    or %'%%_SUBSCREEN...ctxt%%'%

    or you can wrap the whole line in %'[SAP Code]'%

     

    Variable manipulation and the % notation - Power Automate | Microsoft Learn

  • Sophiegong Profile Picture
    62 on at

    Yes!It works well after I change the code to  %'%_SUBSCREEN...ctxt%%'%    

    Another question, Currently I use PAD to run script via SAP GUI.I have no idea whether it is apply to SAP Fiori for this script functionality?

  • Jamar_Forsythe Profile Picture
    Microsoft Employee on at

    I don't have experience with SAP Fiori, what have you tried and what were the results, what was the intended result?

  • Sophiegong Profile Picture
    62 on at

    Thank you. We will move to SAP Fiori soon,I will try. 🙂

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard