You can also integrate your workflows with non-SAP workflow apps using external service calls, web service and API calls. Following are some common integration options −
You can use transaction code: WF_EXTSRV to generate your service. This transaction is used to maintain WebFlow Services. You can also access this from the menu path as below −
SAP Easy Access → Tools → Business Workflow → Development → Definition tools → WebFlow Services → Maintain WebFlow Services.
All the Web services that you have to use in SAP Workflow must be registered in the Web service directory. You can either manually register a web service by entering all the data of the web service manually. Use T-Code: WF_EXTSRV.
You can also use WSDL file that contains the definition of web service and you can import this directly using T-Code: WFWS.
To register a web service, select Service in dialog and click New Entries.
Enter a Service ID and a short text for the Web service.
Select log with which the Web service is to be called.
For Host, add the address of the Web service, and for Port, add a port number.
Enter the directory and the call name of the Web service in the field Path.
Define the Call mode of the Web service. Here, you determine whether a dialog or a background Web service is involved and whether and then how a callback is performed.
Double-click and choose a Parameter in the dialog structure.
The parameters determine the interface of the Web service. The task container is created from the parameters in the subsequent task generation.
Enter all the Web service parameters. Make sure you also assign the service ID of your Web service to the parameters. The assignment as import element and export element is required for the subsequent creation of the task container.
To generate your service, click the Generate button as shown in the above screenshot.
You have the following to perform the configuration tasks −