Show TOC Start of Content Area

Procedure documentation Handling Data Services  Locate the document in its SAP Library structure

Use

You access the data services you need as sources of information to be processed in your voice-enabled application. You can access data services in a number of back-end systems, including Web Services and SAP Enterprise Services.

This procedure shows you how to use data services from back-end systems. You can also add Enterprise Services from the service repository, and you can use other reusable Visual Composer Voice Kit components in your voice model.

Prerequisites

      The required back-end systems and Web services are configured in the JEE engine with the NetWeaver Administrator tool.

      The model in which you want to use the data services is open in Visual Composer and visible on the Storyboard.

Procedure

To use data services from back-end systems:

...

       1.      In the task-panel toolbar, choose Search.

       2.      In the Search for field, enter the name of the data service that you want to locate.

Note

Use an asterisk (*) in the string as a wildcard for the search.

       3.      In the Search in dropdown list, select the system from which you want to retrieve the data service.

       4.      In the Type field, select the data-service type.

The data-service types include BAPI, RFC, and Web Service. The available types depend on the system you selected in the previous step.

       5.      Choose Search.

All data services matching the search criteria and residing in the selected system appear.

       6.      In the Results list, locate the data service that you require and drag and drop it onto the workspace.

The Redefine Ports dialog box appears. Usually, you need not change anything.

       7.      Map data to the input and output ports of the service into variables contained in the dataStore, the container storing all variable data defined in the model.

       To set up In Mapping:

Click the Data Service element in the model with the secondary mouse button and select In Mapping.

In the dialog box, map from the dataStore to the in-ports of the service.

If you have static values that need to be passed to the service, you can define them here in the mapping dialog as literal values, so there is no need to create and set a variable for them, unless you want to.

       To set up Out Mapping:

Click the Data Service element in the model with the secondary mouse button and select Out Mapping.

In the dialog box, you can map from the out-ports of the service to the dataStore.

       8.      Repeat these steps for each data service.

Note

Handling these data services are not voice-specific tasks, but general Visual Composer procedures. More information: Locating the Data Services, Discovering Data Services and Mapping Data 

 

End of Content Area