WebSphere Adapter for SAP Software

Testing the module

Test the module to make sure you can create the ALEREQ01 IDoc on the SAP server. You enter a verb (Create) and values for the control record and data record of the IDoc. You can then display a list of IDocs on the SAP server to make sure the IDoc was created.

About this task

To test this tutorial, you use data from your SAP server. If you have not already done so, obtain actual values for the following data. 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 ALEREQ01 and clicking Test > Test Module.
  2. In the verb row under executeSapAlereq01Input, select Create from the list.
  3. Enter the IDoc Control record data:
    1. Right-click SapAlereq01IDocBO and click Add Element.
      Figure 1. Adding an element to SapAlereq01DocBO
      A screen capture of the action of right-clicking SapAlereq01IDocBO and selecting Add Element.

      If you are prompted to enter the number of elements to add, select 1 and click OK.

    2. Type the following values in the associated fields:
      Field Value
      ReceiverPort SAP administrator-supplied value
      PartnerTypeOfSender LS
      NameOfBasicType ALEREQ01
      PartnerNumberOfSender SAP administrator-supplied value
      NameOfTableStructure EDI_DC40
      Client SAP administrator-supplied value
      LogicalMessageType ALEREQ
      PartnerNumberOfRecipient SAP administrator-supplied value
      SenderPort SAP administrator-supplied value
      IdocNumber SAP administrator-supplied value
      PartnerTypeOfRecipient LS
  4. Set the IDoc Data Record level property values.
    1. Right-click SapAlereq01DataRecord and click Add Element.
    2. Type the following values in the associated fields:
      Field Value
      Logicalmessagetype ALEREQ
      Messagetype ALEREQ
    3. Right-click SapAlereq01E2aleq1 and click Add Element.
    4. Type the following values in the associated fields:
      Field Value
      IncludingExcludingindicator E
      RelationaloperatorEqNeGtLtGeLe LT
      Lowerlimitforfieldcontents 0
      Upperlimitforfieldcontents 100
  5. Click Continue.
  6. In the Select Deployment window, select WebSphere Process Server v6.0, and click Finish.

Result

The IDoc is created on the SAP server. You can verify that the IDoc was created by starting the SAP server and running the WE02 transaction.

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)