Web Methods Integration Workshop Day4
Web Methods Integration Workshop Day4
Ravindran V ,Badrinath P
EAI and Middleware
July 2005
EAI and Middleware
2
EDI
Ravindran.V
July 2005
EAI and Middleware
4
EAI and Middleware
EDI Landscape
5
EAI and Middleware
VAN
VAN (Value Added Network): Acts as a intermediary service provider to
facilitate:
• Routing of EDI data between partners
• Provides store and forward facility, Vendor systems are not required to be online
always, Vendor systems can retrieve the EDI data addressed to them from their
respective mailboxes
• Provides daily summary reports of the EDI data transactions
6
EAI and Middleware
7
EAI and Middleware
8
EAI and Middleware
9
EAI and Middleware
10
EAI and Middleware
Requirement 1: Implement the interface in the Vendor System to receive and load the EDI data to the
Vendor Oracle database.
Mapping Requirements: X12850004010.pdf
VAN (Value Added Network): Acts as a intermediary service provider to facilitate:
Routing of EDI data between partners
Provides store and forward facility, Vendor systems are not required to be online always,
Vendor systems can retrieve the EDI data addressed to them from their respective mailboxes
Provides daily summary reports of the EDI data transactions
11
EAI and Middleware
N9*AH*548177 [Mapping reference for enclosing the Purchase Order description has ref to
order id]
MSG*THIS PURCHASE ORDER IS SUBJECT TO THE SAME TERMS AND Mapping :
Concat all
MSG*CONDITIONS AS SAFEWAY PURCHASE ORDER FORM 1030 MSG01 for PO
MSG*PICKUP NO. E450562 Description
13
EAI and Middleware
14
EAI and Middleware
15
EAI and Middleware
16
EAI and Middleware
Vendor System
VAN Enabler
Partner -1
Partner -3
Publish
17
EAI and Middleware
18
EAI and Middleware
19
EAI and Middleware
20
EAI and Middleware
21
EAI and Middleware
EDIINT
EDIINT Electronic Data Interchange-Internet Integration,” or “EDI over the Internet.”
Defines a protocol for using the Internet to securely exchange business documents (EDI,
- EDIINT AS1 (EDIINT Applicability Statement 1) uses SMTP (e-mail) to transport documents
- EDIINT AS2 (EDIINT Applicability Statement 2) uses HTTP (or HTTP/S) to transport documents
- EDIINT AS3 (EDIINT Applicability Statement 3) uses FTPS (FTP over SSL) to transport
documents
22
SAP Adapter
Badrinath.P
July 2005
EAI and Middleware
What is SAP ?
– SAP R/3 - ERP package intended as a total software solution for running large
businesses.
• PP – Production Planning
• MM – Materials Management JDEDWARDS
PEOPLESOFT 5%
• SD – Sales and Distribution 13%
SAP
ORACLE
• FI – Financial Accounting 15%
50%
SIEBEL
• CO -- Controlling 17%
24
EAI and Middleware
SAP Connectivity
RFC – Remote Function call are used to synchronously communicate between
• Two SAP Systems or
• For communication between a SAP system and an external application
BAPI (Business API) : Programming interface/Methods for working with and
manipulating SAP Business Objects.
BAPI is implemented as Functional Module internally so every BAP has an
equivalent internally named Function Module behind.
Subset of the RFC enabled function module officially released by SAP as a part of
the Business Object repository – BOR to be called from external programs.
25
EAI and Middleware
SAP systems External : SAP systems can call external systems a gateway
proxy (Registering an external RFC server in the SAP system as a SAP RFC
Listener) External SAP Server
Application
Note:
RFC RFC Client : One which
RFC RFC
Client makes the request
RFC Server: One which
RFC receives the request
Server RFC
(Listener)
26
EAI and Middleware
SAP Connectivity
IDOC – Intermediate Document : Standard SAP Data format for exchange of
document between different R3 Systems and External Systems.
IDOC contains Header and data segments and similar in structure to EDI formats.
Transaction based on tRFC (Transactional RFC)
ALE – Application Link Enabling Proprietary message based routing and transport
mechanism.
Ability to represent logical system both SAP and External system
Define routing rules for sellers /buyers and message types
27
EAI and Middleware
SAP Connectivity
ALE/IDOC Communication
RFC
Server IDOC
tRFC
(Listener)
ALE Routing
28
EAI and Middleware
29
EAI and Middleware
30
EAI and Middleware
31
EAI and Middleware
32
EAI and Middleware
33
EAI and Middleware
Implementation Process
Choice of Implementation BAPI/RFC over IDOC/ALE
BAPI/RFC IDOC/ALE
Synchronous/Real Time Mode Asynchronous/Batch Mode
NA Built-in queue & queue manager
function
Smaller Transactions. Large transaction
Volumes( Background processing)
No mechanism to ensure exact once The tRFC ensures specific transaction
processing exactly once in RFC Server System.
Customizing is easier Custom IDOC most difficult.
Monitoring function not available Simple Error handling & monitoring
function
NA If SAP uses EDI Gateway, iDOC
integration is preferred.
34
EAI and Middleware
Implementation Process
Implementation Advantage using BAPI over RFC
• Provides a stable and object oriented view of the R3/applications
• Stay consistent over various R/3 releases
• Can be accessed using standard program languages C++ and Java
• No ABAP programming knowledge required.
Note: When a BAPI is available , BAPI should be used and not the Function Module
35
EAI and Middleware
Implementation Process
Prime Requirement
- SAP System Administrator.
- Functional Analyst
- Developer
SAP Users
- Dialog User: SAP GUI user.
- Background User: SAP Backgroud job, no access to GUI.
- CPIC User: Communicate with SAP using CPIC.
webMethods SAP Adapter can operate both as Dialog user(RFC logging)/ CPIC user
based on requirement.
Ports Used by SAP
32xx - Dialog port
33xx- Gateway port
36xx- Message port xx- SAP SystemsNumber
- Inbound RFC Ports used - 32xx
- Outbound RFC Ports Used - 32xx & 33xx
- In Addition for load balancing 32xx & 36xx will be used.
36
EAI and Middleware
Implementation Process
SAP Transactions
WE60 Generates a DTD from an IDOC (including extensions) – Select the IDoc
type.
37
EAI and Middleware
38
EAI and Middleware
WMPRP2P1
(RFC Dest. Partner processGood
RP1100PR ZMMBID
Manager sReceipt
WMPR120P2
P1) Message
Store
39
EAI and Middleware
Assignment – Day 4
Implement the EDI 850 Inbound processing
- Refer the reference package : POProcessing Package
EDI Outbound processing for reference. (SW_POOutbound Package)
EDI Sample Standard Guide for 850 Refer X12850004010.pdf
EDI Test Data.zip for the EDI test data
40