Using the WebService Designer we will create the web service.
The following custom data type is defined.
The web service operation consists of one Execute Function activity to call the SAP function module (Z_ECS_MATERIAL_MAINTAIN).
The web service operation has the following input parameter.
In the function activity the input parameter is mapped.
In the following you see the mapping of the fields of the input parameter.
Now deploy the web service to SharePoint.
Here you can dowload the WebService Model file (zip).