Skip to content
DevTest Solutions - 8.0.1
Documentation powered by DocOps

Generate the SAP JCo Virtualization Artifacts

Last update January 22, 2015

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 save button 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. (Optional) Edit name prefix. The default prefix is the user name.
  10. Select an option to keep or delete the transactions in the shelf once the VS is created.
  11. Select the project where the virtual service will be created.
  12. Click Create.
Was this helpful?

Please log in to post comments.