WebSphere Adapter for SAP Software

Testing the module

Test the module to make sure you can retrieve data from the SAP server. You enter a customer number, and the data associated with that customer is returned.

About this task

To test this tutorial, you use an actual customer number. If you have not already done so, obtain a valid customer number. If necessary, see your SAP administrator to obtain the data.

How to perform this task

  1. In the Business Integration perspective, begin the testing procedure by right-clicking SQICustomer and clicking Test > Test Module.
    Figure 1. Specifying that you want to test SQICustomerApp
    A screen capture showing the action of right-clicking SQICustomer and selecting Test and then Test Module.
  2. Set the parameters listed in the following steps and shown in the following figure:
    1. For Operation, select retrieveallSapKna1.
    2. In the Value column for verb, select Retrieveall.
    3. In the Value column for CustomerNumber1, type the number of an existing customer.

      The customer number is a ten-digit value. Type leading zeroes, if needed, to ensure that the number is ten digits. For example, if the customer number is 1, you would type 0000000001.

    Figure 2. The Initial request parameters section of the test environment, with the sample values filled in
    A screen capture of the test environment, showing an entry in the Value field for CustomerNumber.
    You can retrieve data for all customers by selecting Retrieveall for the verb and leaving the other fields in the table array blank. For example, if you wanted to retrieve data for all customers from the SapKna1 table, the Initial request parameters section would look like this:
    Figure 3. The Initial request parameters section for retrieving all customer data
  3. Click Continue.
  4. Click Finish. The integration test client invokes SQICustomerApp.

Result

Data associated with the customer number you entered is displayed under Return parameters.

Terms of use |

Last updated: Mon 30 Oct 2006 03:34:57

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)