Title: Microsoft BizTalk Server Adapter for SAP
1Microsoft BizTalk Server Adapter for SAP
- Rick Mittelstaedt
- Program Manager
- .Net Integration Server Group
- Microsoft Corporation
2Agenda
- Problem Scenario
- Adapter Highlights
- Products Overview
- Setup Considerations
- Data Flow Overview
- Demo
- Milestones and Licensing
- Resources
- Q A
3Problem Scenario
- SAP to BizTalk Server integration today
- No out of the box solution available
- Requires writing to SAP interfaces
- Schema conversion difficult
- Transactional support requires use of SAP
proprietary method calls
4Adapter Highlights
- Simple solution to SAP/BizTalk integration
- No need to write code
- No host (SAP) footprint required
- Up and running in a few hours!
- Loosely coupled
- SAP data is persisted to message queue
- Provides scalability
5BizTalk Server Overview
- Configuration, not custom app development
- Provides native transports
- Inbound provides receive functions for
asynchronously monitoring message queue(s) - Outbound uses the Adapter AIC for access to SAP
6Orchestration and Messaging
BizTalk ORCHESTRATION
7Role of the Adapter
BizTalk Orchestration
BizTalk MESSAGING
PREPARE FOR TRANSPORT (Port)
PROCESS DOCUMENT (Channel)
DECRYPT DECODE PARSE
Pipeline
Pipeline
STORE
Adapter based Integration
8Overview of SAP
- 14,000 SAP R/3 installations worldwide
- 52 of all new SAP installations based on Windows
(Q1 2001) - Runs on Unix, Windows 2000
- Uses RFC for BOR access
- Uses IDOCs as a data container
- tRFC (transactional RFC) for IDOC transactional
integrity
9Overview ofSAP DCOM Connector
- Integration component developed by SAP and
Microsoft - Single uniform environment
- SAP on any platform can interface with the DCOM
Connector - Supports standard RFCs for accessing data
- Supports tRFC protocol for reliably delivery
- Provides transactional support
10Overview of BizTalk Adapter for SAP
- Schema conversion
- Accessing BOR using standard RFC calls
- Retrieves IDOC structures from the BOR and
converts them to Doc Specs - Routing IDOCs
- From BTS to one of many possible SAP systems
- From SAP to an application specific MSMQ queue
- Guarantees IDOC delivery
- Using DTC transaction between COMforABAP, SQL,
MSMQ for receiving IDOCs - Using BizTalk tracking_id and SAP SubmitIDOC
method - SAP tRFC protocol
11Transactional Support
- Bi-directional, transactional support
- By means of SAP tRFC protocol
- COMforABAP receiving IDOCs from an SAP
destination - SubmitIDOC sending IDOCs to an SAP system
- COMforABAP defines the transactional interface
and methods - OnCheckTID
- IDOC_Inbound_Asynchronous Inbound_IDOC_Process
- On Commit
- OnRollback
- OnConfirmTID
- SubmitIDOC utilizes a TID to guarantee delivery
- BizTalk AIC property Tracking_ID as TID
- Retry queues
12Transactional Support
13Setup ConsiderationsSAP
- SAP Administration
- Providing accounts to access SAP for COMforABAP
and BizTalk Adapter for SAP Manager - Configuring tRFC ports, destinations, customer
profiles, SAP business processes, etc. - Configuring the DCOM Connector
- Configuring COMforABAP
- Install the latest SAP patch
14Setup ConsiderationsMSMQ
- Define private queues
- Define public queues
- Set transactional property for each queue used by
the adapter
15Setup ConsiderationsBizTalk Server
- BizTalk Messaging Manager
- Define Doc Specs for each IDOC to be used
- Define Organizations
- Define Envelopes for Flat Files
- Define Document Definitions
- Define Ports (destination for the documents)
- Define Channels
- BizTalk Server Administration
- Receive functions
16Setup ConsiderationsBizTalk Adapter for SAP
- Define SQL data source and TID table
- Select SAP destinations to be used
- Select MSMQ queues to be used
- Browse the SAP destination for IDOCs
- Generate BizTalk Doc Specs for selected IDOCs
- Define routing keys for delivering IDOCs to SAP
and MSMQ queues - Using IDOC control record fields to specify
criteria - Associate routing keys with SAP destinations and
MSMQ queues
17Creating the Doc Spec
- Retrieve the IDOC Structure
SAP R/3
WebDav
Doc Spec
Adapter
BOR
DCOM Connector
IDOC Structure
BizTalk Box
SAP Box
18Accessing the SAP Schema
- Uses DCOM Connector to generate SAP RFC proxy for
accessing the BOR - IDOCtypes_For_Mestype_Read
- IDOCtype_Read_Complete
- IDOC_Record_Read
19Creating the Doc Spec Details
- Meta Data Accessor
- Generated RFC proxy used by the Adapter
- Returns requested data as ADO disconnected record
sets - Meta Data Container
- Adapter component that utilizes the Meta Data
Container to retrieve information from the BOR - Converts ADO data to a flat file
- Caches IDOC Structures
- Caches Control Record structure
- Establishes and maintains SAP sessions and
connections - Generate Doc Spec from cached structures
20Receiving IDOCs
BizTalk
Adapter
SAP R/3
- COMforABAP IDOCHandler guarantee IDOC delivery
WebDav
MSMQ
Doc Spec
- IDOCHandler converts persists to queue
Receive Func
- Recv Func uses Doc Spec FF from queue to make
XML doc
IDOCHandler
BizTalk Messaging
ADO Recset
COMforABAP
tRFC
BizTalk Box
SAP Box
21Sending IDOCs
BizTalk
Adapter
- SubmitIDOC guarantees IDOC delivery
SAP R/3
WebDav
Doc Spec
SAPIDOC.dll SubmitIDOC
Receive Func
BizTalk Messaging
IDOC Rep.
Send IDOC AIC
SAP Box
BizTalk Box
22Scale your environment
- Configure multiple COMforABAP services
- Configure BizTalk Server working threads
- Use multi-processor machines, as the Adapter for
SAP is disk intensive (Writes to MSMQ, SQL
Server)
23Stability
- In house stress test results
- Over 1,100,000 8K IDOC
- 9 day duration (error free)
- Test environment
- Dual 1.4Ghz processor
- One COMforABAP
- BizTalk Server, COMforABAP, SQL, MSMQ, Adapter
for SAP on same machine - One File and MSMQ Receive Function
24Demo Overview
CyclesCentral Windows 2000 Advanced Server SQL
Server 2000 Commerce Server 2000 BizTalk Server
2000 or 2002 (Enterprise or Standard) Application
Center 2000
AdventureWorks Windows 2000 Advanced Server SQL
Server 2000 BizTalk Server 2000 or 2002 (Standard
or Enterprise) BizTalk Adapter for SAP SAP R/3
4.6d
Adapter for SAP
25Demo
- Cycles Central
- Configure Cycle Central minimum stock
- Make bike purchase
- View Orchestration schedules
- Check SQL RFQ transaction ID
- AdventureWorks
- Check RFQ in BizTalk Document Tracker
- Verify IDOC in SAP system
- Check IDOC in BizTalk Document Tracker
- Review Configuration of Adapter for SAP
- SAP Destinations
- MSMQ queues
- Define routing keys
- Associate routing keys
26Milestones and Licensing
- Product Milestones
- Tech Preview 1 6/15/01
- Tech Preview 2 7/15/01
- Beta 9/28/01
- RTM 11/15
- Licensing/ Pricing
- Per CPU
- 15K
- Support
- Full MS Support through regular channels
27Resources
- Professional BizTalk
- Woodgate, Mohr (Wrox Books)
- Enterprise Application Integration
- Linthicum (Addison-Wesley)
- Professional Visual Basic SAP R/3 Programming
- Ovanesyan (Wrox Books)
- Expanding the Reach of Your SAP Business
Processes - Russo, Rogers, Homann (DCOM Connector main site)
28Resources (contd)
- Positioning the Adapter for SAP vs. the Business
Connector - Fort, Mittelstaedt ( http//netis )
- BizTalk Server WebMethods Competitive Analysis
- McCall ( http//netis )
- QA Document
- Fort, Mittelstaedt (http//netis )
29(No Transcript)