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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard