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
Unanswered

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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard