Saturday, June 08, 2019

Connect to your on-premises SAP system from Azure Logic Apps (IV)

In this post, we will use a new feature of Logic Apps, Static Result, to mock output data and test your SAP scenario without call SAP. This post continues the series of SAP Connector for Azure Logic Apps.
You can see the previous post:
In the last post:
  • We invoke a SAP RFC 
In this post we will use the new feature on Logic Apps actions, Static Result.

First we need a sample response, for that we invoke our Logic Apps and get the result in the Runs history:





We copy that output, as you see the $content is a base64 string that represents the returned XML.

Now we edit our Logic App and enable the Static Result feature:




When you click on Done, you will see the Send Message to SAP action with the following symbol:


Now you can invoke your Logic App with mock data :-), you can modify the base64 content with the content that you want, to test your Logic App with different results.


No comments: