Click to Rate and Give Feedback
MSDN
MSDN Library
BizTalk Server
BizTalk Server 2009
Operations
Using Adapters
SAP Adapter
Deployment
 How to Receive Multiple IDOC's in a...

  Switch on low bandwidth view
How to Receive Multiple IDOC's in a Custom Pipeline

When integrating different systems using BizTalk Server and SAP, it is often useful to have a single custom pipeline handle multiple IDOC's instead of using multiple receive locations tied to unique SAP Program ID's.

To create a custom pipeline with multiple flat file disassemblers
  1. Load your BizTalk project into Visual Studio.

  2. Add a custom pipeline to the project.

  3. Insert an instance of the flat file disassembler into the pipeline.

  4. Set the flat file schema to the schema of the IDOC you want to handle.

  5. Repeat steps 3 and 4 until all of your IDOC formats are accommodated.

    Aa559118.note(en-us,MSDN.10).gifNote
    When you add the second flat file disassembler component, the ExecutionMode property of the disassemble stage will change to "First Match."

  6. Compile and deploy the application.

  7. Create a single receive port using the custom pipeline.

At run time, the correct disassembler component is selected using a pipeline probing mechanism. When a message is received, the custom pipeline will call each flat file disassembler component until the message is successfully disassembled or all components have been called.

If there are many flat file disassembler components in the custom pipeline, or you have many custom pipelines that use probing, you may find that performance degrades. This is because probing for every corresponding disassembler component degrades pipeline performance. If your performance is not meeting expectations, consider implementing a custom schema resolver component. For more information on custom schema resolvers, see Schema Resolver Component (BizTalk Server Sample).

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker