Show TOC

Procedure documentationDiscovering Data Services Locate this document in the navigation structure

 

You import the data services required as the sources of information processed in the component. You can create a component that uses data services - including BAPIs, RFCs, Web services, BI data services and SAP enterprise services - from a number of different back-end systems. You drag data services onto the Design board, using the Search task panel.

You can also search in the Services Registry for a specific enterprise service, or you can search through the entire Services Registry, filtering by classification to locate the required enterprise service. For more information, see Discovering Services in the Services Registry.

You can also use other Visual Composer models as reusable components within a component. For more information, see Reusing Components.

Prerequisites

  • The model into which you want to import the data services is open in Storyboard.

  • Visual Composer is correctly configured to access the required data services from the back-end systems. For more information, see Maintaining RFC Destinations.

  • To use Web services and enterprise services as a source of data in your models, make sure that their destinations are correctly defined in NetWeaver Administrator. For more information, see Creating Web Service Physical Destinations.

Procedure

  1. Click the Search button in the task-panel toolbar.

  2. From the Search in dropdown list, choose the system in which you want to search.

  3. In the Search for field, enter the name of the data service that you want to locate. You can use an asterisk (*) in the string as a wildcard to search for a partial match.

  4. From the Type dropdown list, choose the type of data service, for example, Bapi/RFC or WSDL. The available types depend on the system you chose in the previous step.

  5. Click Search. All data services matching the search criteria and residing in the selected system are displayed. Depending on the data service type, a link that displays additional details about the data service may also be displayed.

  6. From the Results list, locate the data service that you require and drag it onto the Design board.

    If the data service contains a large number of ports, the Define Ports dialog box is displayed, listing the ports and fields of the data service. Use this dialog box to select the data service ports and fields as required, and then click OK.

  7. To import additional data services, repeat this procedure for each data service.

Note Note

You can test the functionality of a data service by right-clicking its icon and choosing Test Data Service from the context menu. In the Test Data Service dialog box, enter the necessary values in the input fields and click Test to display the results of the query.

End of the note.

Result

The selected data services are added to the Design board and you are ready to model the component logic and flow, by defining the view elements and their connections. For more information, see Composing the Composite View.

Note Note

If you modify a data service (outside of Visual Composer) and then want to see those changes reflected in models that use the modified data service, you must reimport the data service. For more information, see Modifying Referenced Components.

End of the note.