In the last sample we have used the function tEcs.executeXql() to extract data from an SAP table. Now we will repeat the last sample to execute an SAP function using the function tEcs.executeFunction().
For all other basics please refer to the sample in Getting started with ECS Core and SharePoint Online. For this section the knowledge about the basic usage is assumed!
Let’s check the following demo function module on the SAP side: SD_RFC_CUSTOMER_GET.
We will set the input parameter NAME1 e.g. to X* .
The table CUSTOMER_T contains the result of 5 entries.
Deploy the project an run the App. You should have the following result: