Running the SAP Connectivity sample

SAP Input node sample

You must complete the sample setup instructions before you can run the sample. The setup instructions are described here.

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

SAP Request node sample

You must complete the sample setup instructions before you can run the sample. The setup instructions are described here

  1. In the Message Broker Toolkit, switch to the Broker Application Development perspective.
  2. Expand the SapOutboundCustomerMFlow message flow project. and locate the Flow Testsfolder
  3. Expand the folder and double click on SapOutboundCustomer.mbtest to open the file in the Test Client.
  4. Click Enqueue. Note that the source box at the bottom of the right-hand pane has the XML element: <FirstName>John</FirstName>.
  5. Ensure that the broker connection properties are correct (listener port, queue manager name) and click Send Message.
  6. Click the first occurence of Dequeue and click Get Message.
  7. The output message is displayed in the Source pane. Note the value of the <FirstName> element is now Jane.

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

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

Back to sample home