Running the SAP Connectivity sample

SAPInput node sample

Before you can run the sample you must complete the sample setup instructions, see Setting up the SAP Connectivity sample.

If you encounter any problems when you run the sample, see Resolving problems when running samples in the IBM Integration Bus documentation.

To run the sample, complete the following steps:

  1. Log in to your SAP system.
  2. Go to transaction BD10, Send Material.
  3. In the Material field, set a material number that already exists or use the search icon to locate existing material.
  4. In the Logical System field, set your logical system name; for example, SAMPRFC.
  5. Click Execution.
  6. Expand the SapInboundMatMasSampleMFlow Integration project, locate and expand the Flow Tests folder.
  7. To open the file in the Test Client, double-click SapInboundMatMas.mbtest.
  8. Click Dequeue.
  9. Ensure that the integration node connection properties are correct (listener port and queue manager name), click Get Message.
  10. The output message (XML with root tag SapMatmas05) is displayed in the Message pane.

SAPRequest node sample

Before you can run the sample you must complete the sample setup instructions, see Setting up the SAP Connectivity sample.

If you encounter any problems when you run the sample, see Resolving problems when running samples in the IBM Integration Bus documentation.

To run the sample, complete the following steps:

  1. Expand the SapOutboundCustomerMFlow Integration project, locate and expand the Flow Tests folder.
  2. To open the file in the Test Client, double-click SapOutboundCustomer.mbtest.
  3. Click Enqueue on the message flow test events toolbar. The source box at the bottom of the right pane contains the XML element: <FirstName>John</FirstName>.
  4. Ensure that the integration node connection properties are correct (listener port and queue manager name), click Send Message.
  5. Click the first occurrence of Dequeue, click Get Message.
  6. The output message is displayed in the Source pane. The value of the <FirstName> element is now John.

If the output message is not displayed in the Source pane:

  1. Click the second occurrence of Dequeue, click Get Message.
  2. An XML message containing Exception information is displayed in the Detailed Properties pane. Check the exception list, which contains a number of integration node error messages with BIP prefixes.
  3. If no message is listed on the failure queue, examine the system event log for more information about the cause.

Back to sample home