Previous Topic: Create Virtual Services from SAP JCo TransactionsNext Topic: SAP JCo Destination Filtering


Generate the SAP JCo Virtualization Artifacts

Use the following procedure to generate the SAP JCo virtualization artifacts.

A virtual service includes the responses that are sent for unknown conversational requests and unknown stateless requests. When you create a virtual service, you can configure the body of these responses. The following list describes the options:

Report "No Match"

Causes an exception to be raised in the virtualized application.

Bypass Virtual Service

Allows the original request to pass straight through, as if the class and method were not virtualized at all.

The following graphic shows a path graph that includes SAP frames. This path graph illustrates the standard SAP JCo pattern of getting a function and then executing the function.

Screen capture of path graph with SAP components.

When the virtualization artifacts are generated, CAI checks the destination name of the selected SAP component. CAI then searches all of the visible paths for SAP components that have this destination. These SAP components are used to create the virtual service.

To view the destination name of the selected SAP component, click the XML tab in the transaction details dialog.

Follow these steps:

  1. Add an SAP transaction frame to the shelf.
  2. Open the shelf.
  3. Click Create VS.
  4. To change the default name, select the name and make your edits, then click LISA--icon_save_check_icon--ICO to save.
  5. If you want all transactions to be treated as stateless, ensure that the check box is selected.
  6. Configure the response for unknown requests.
  7. Click Create.
  8. Select the project where the virtual service will be created.
  9. Click Create.