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 / Using SAP connector an...
Power Automate
Unanswered

Using SAP connector and dynamic content in "SAP function input" parameter

(0) ShareShare
ReportReport
Posted on by 143

Hello Community,

 

I am struggling finding the right json format I should provide in the "SAP function input" parameter when using a "Call SAP function" action.

 

Acording to the connector documentation, the “functionInput” key is a dynamic schema where you specify SAP function input, but there is no example of how you specify that input.

 

I suppose it is in json format, and have done several tests … but it looks the values I try to pass to SAP don’t arrive in the right place.

 

For instance, I have an SAP RFC named “ZGEF080_DATOS_USUARIO” that requires an input structure named CONTROL, with two values:

  • CONTROL/LANGU
  • CONTROL/RFCTYP

 

The way I specify these values in the flow action depends on if, when using the “Call SAP Function”, I specify directly the static name of the SAP RFC or if I use a dynamic name:

  • If I specify directly the static name of the SAP RFC, then at the bottom of the action I get the input boxes where I can specify the values for CONTROL/LANGU and CONTROL/RFCTYP parameters (see screen 1.A)
  • If I specify a dynamic name for the SAP RFC, then at the button of the action I get a field named “SAP Function input”, where I am supposed to enter the values of the parameters … but as explained before, I don’t have a clue on what is the right format (see screen 2.A)
  • I have used the following json formats, without success:
    • { "CONTROL/LANGU": "ES", "CONTROL/RFCTYP": "C" }
    • { "functionInput": [ { "CONTROL/LANGU": "ES", "CONTROL/RFCTYP": "C” } ] }

 

If I use “peek code” on both cases:

  • In the case I specify directly the static name of the SAP RFC, I can see that the parameters are passed as functionInput/…., one for each parameter (see screen 1.B)
  • In the case I specify a dynamic name for the SAP RFC, I can see only one parameter named functionInput (see screen 2.B)

 

So the final question is if anyone know what format should I use for the “SAP Function input” parameter.

 

Screen

A

B

1

 

SAP call with static/direct RFC name and 2 parameters

vllanso_0-1675599032265.png

 

vllanso_1-1675599032268.png

 

2

 

SAP call with dynamic RFC name and dynamic parameters through a compose action

vllanso_2-1675599032270.png

 

vllanso_3-1675599032272.png

 

 

 

Thanks, Victor.

Categories:
I have the same question (0)
  • vllanso Profile Picture
    143 on at

    Hello

    With the help of a person from the Microsoft/Sap/Powerautomate team (thank you, Scott), I finally understood what is the syntax of the json to be used in the "SAP function input".

     

    In the sample case I mentioned where the RFC expects a structure named CONTROL, with two fields (LANGU and RFCTYP), the json should be:

    {

        "CONTROL": {

            "LANGU": "ES",

            "RFCTYP": "C"

        }

    }

     

    Regards, Victor.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard