Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 55

How Office Business Applications

reach SAP ERP


through BizTalk Adapter Pack

Microsoft Corporation
SAP-Microsoft Competence Center
(Tokyo)
1
SAP Customer's pain points
Although plenty of
business data has been
stocked in SAP for years,
theres no drastic ways
to allow all employees to
access/visualize
these data..

If subsystem
integrations
Once the system
(for data visualization
or UI extension) are becomes a black box,
implemented with its not easy to
legacy ABAP add-ons, continuously extend the
the dev/operation costs systems with flexibility ..
get extremely
expensive ..

2
SAP for Everyone

TODAY
YESTERDAY

SAP for SAP for


limited users everyone

Microsofts SAP
interoperability
solutions

3
Deploying your "familiar" user interfaces with
Microsoft/SAP interoperability technologies

Duet
Duet
Mailing
SSO
SSO with
with SAP
SAP Enterprise
Enterprise Mailing though
though addon
Active
Active Directory
Directory services
services call
call
Exchange
Exchange Server
Server addon
Duet
Duet
Metadata SAP
SAP workflow
Metadata
distribution
workflow
call SAP addon
addon
distribution call
Enter
prise
services RFC/
RFC/
BAPI
BAPI
DB,
DB, LOB
LOB
RFC/
RFC/
Web
Web Services
Services Workflows
Workflows interop
interop BAPI
BAPI
Web
Web Business
Business
applications
applications logics
logics

RFC/
RFC/





Portal Document Human












BAPI
BAPI
library

Workflow RFC/

RFC/

BizTalk






Adapter BAPI
BAPI
Pack

SAP
SAP table
table

reporting








ETL



SAP
SAP view
view

Data
Data mart

OLAP
OLAP mart







cube
cube

4
SAP Enterprise Services
The most current way to call SAP business l
ogics from external systems
http://www.sdn.sap.com/irj/sdn/esworkplace
Publishes SAPs business logics as Web services
Various vendors (including Microsoft) can technically
connect in this way
SAP increased # of services to 2,800 with their releas
e of Enhancement Pack 3
Differences from their legacy BAPI/RFC
Industry standard Web services instead of SAPs prop
rietary protocol
Easier service calls, parameter settings etc
However SAP ES is an brand new component
which is delivered only to SAP ERP 6.0 users 5
BizTalk Adapter Pack 1.0
One of Microsofts
strategic technologies
aligned with its LOB
integration initiative
Connectivity to Oracle,
DB2, IBM mainframe
etc already released
BizTalk Adapter Pack adds connectivity to SAP
and Siebel
ADO .NET (SAP, Siebel) and WCF (SAP, Siebel, Oracl
e)
A central hub between LOB and all Microsoft pr
oducts
6 6
BizTalk Adapter Pack functionality for SAP customers
Enables to execute following commands to SAP
RFC/BAPI execution
In addition to standard RFC, reliable protocols like tRFC (transactional RFC)
and qRFC (queued RFC) also supported
E.g. : Exec BAPI_CREDITCARD_CHECKNUMBER @CREDITCARD_TYPE=VIS
A, @CREDITCARD_NUMBER=43467645263495
Any operations can be done (including Update, Insert, Delete)
Data extract from SAP (ABAP) table/view objects
Select query (like OPENSQL) from SAP cluster tables, pool tables, transparent
tables, and SAP view objects
E.g. : select MATNR, SPRAS, MAKTX from MAKT where SPRAS = 'JA' or SPRAS
= 'EN
Possible to access all objects including customers add-on tables/views
Table join possible up to 2 tables
E.g. : select A.x, B.y from A inner join B on A.m = B.n
To join more than 3 tables add view objects on SAP
Insert, update, delete are not supported
All SAP (ABAP) versions/components later than R/3 4.6c (SAP kernel
4.6d) are supported
Every OS/DB platform, non-Unicode and Unicode
SAP R/3 (4.6c, 4.7 Enterprise), SAP ERP (2004, 6.0), SAP BW/CRM/SCM etc
7
Demo
1. SQL Server Business Intelligence integration (Entry leve
l)
2. SQL Server 2005 Integration Services integration (Adva
nced level)
3. SQL Server 2005 Analysis Services integration
4. SQL Server 2005 Reporting Services (with Dundas map
add-in) integration
5. PerformancePoint Server 2007 (Planning/Monitoring) I
ngetration
6. .NET application integration
7. SAP & Excel 2007 (Visual Studio Tools for Office) integr
ation
8. SAP & SharePoint Server 2007 integration (Portal and S
8
Demo 1:
SQL Server Business Intelligence integration (Entry level)
(*) Setup details are described in
SAP_03_SQL2k5_SSIS.ppt.

Region
Region
info
info table
table
(T005U)
(T005U)

SAP R/3 Flat text file


SAP ERP

9
Demo -1: screenshots (Region master info extracted from SAP ERP)
(1) Definition of SAP connection

(2) Design of data extract flow from SAP ERP

(1)
(1) Data
Data extract
extract with
with OPENSQL
OPENSQL (select
(select query)
query)
e.g. : select KUNNR, LAND1, NAME1, REGIO,
e.g. : select KUNNR, LAND1, NAME1, REGIO,
TELF1
TELF1 from
from KNA1
KNA1 WHERE
WHERE NAME1
NAME1 == ABC*
ABC*

(2)
(2) BAPI/RFC
BAPI/RFC execution
execution
e.g.
e.g. :: Exec
Exec RFC_CUSTOMER_GET
RFC_CUSTOMER_GET
@NAME1
@NAME1 = = *,
*, @KUNNR
@KUNNR = = *
*
(3) OPENSQL (select) or BAPI/RFC execution
10
Demo -1: screenshots (Region master info extracted from SAP ERP)

11
Demo 2 : SQL Server 2005 Ingetration Services integration (Advanced level)

Table,
Table,
View
View
Web Reporting
BAPI (Table, Graph, Map etc)
RFC

SAP R/3
SAP ERP
Ad-hoc analysis on
Excel pivot table

Notice : This system is demo


purpose only (In this demo all
records are extracted). In reality
customers need to look up SAP Budget management
system tables like CDPOS, in which and KPI dashboard
change history is recorded, to
specify the delta. For detail ask your
application consultants.

(*) Setup details are described in


SAP_04_SQL2k5_SSIS_Advanced.ppt.
Collaboration
workplace
12
Demo -2: screenshots

13
Demo -2: screenshots (Sales info extracted from S
AP ERP)

14
Demo -2: screenshots (Product master extracted from SAP ERP)

15
Demo -2: screenshots (Customer master extracted from SAP ERP)

16
Demo -2: screenshots (Customer table for customer dimension on SS
AS)

17
Demo -2: screenshots (Product/ProductType table for product dimen
sion on SSAS)

18
Demo -2: screenshots (Sales order table for fact table on SSAS)

19
Demo 3 : SQL Server 2005 Analysis Services integration

Table,
Table,
View
View
Web Reporting
BAPI (Table, Graph, Map etc)
RFC

SAP R/3
SAP ERP
Ad-hoc analysis on
Excel pivot table

Budget management
and KPI dashboard

(*) Setup details are described in


SAP_05_SQL2k5_SSAS.ppt.
Collaboration
workplace
20
Demo 3: screenshots

21
Demo 3: screenshots

22
Demo 3: screenshots (Excel 2007)

SQL Server 2005 Analysis Services, Excel 2007 23


Demo 3: screenshots (Excel 2007)

SQL Server 2005 Analysis Services, Excel 2007 24


Demo 3: screenshots (Excel Services)

SQL Server 2005 Analysis Services, SharePoint Server 25


Demo 4 : SQL Server 2005 Reporting Services (with Dundas map add-in) integration

Table,
Table,
View
View
Web Reporting
BAPI (Table, Graph, Map etc)
RFC

SAP R/3
SAP ERP
Ad-hoc analysis on
Excel pivot table

Budget management
and KPI dashboard

(*) Setup details are described in


SAP_06_SQL2k5_SSRS_Dundas.ppt.
Collaboration
workplace
26
Demo 4: screenshots
http://www.dundas.com/products/index.aspx

27
Demo 4: screenshots

28
Demo 4: screenshots

29
Demo 4: screenshots

30
Demo 5 : PerformancePoint Server 2007 (Planning/Monitoring) Ingetration

Table,
Table,
View
View
Web Reporting
BAPI (Table, Graph, Map etc)
RFC

SAP R/3
SAP ERP
Ad-hoc analysis on
Excel pivot table

Budget management
and KPI dashboard

(*) Setup details are described in


SAP_10_PPS2k7_Planning.ppt, and
Collaboration
SAP_11_PPS2k7_Monitoring.ppt. workplace
31
Demo 5: screenshots (Entering plan data from Excel and
submitting to the workflow on PPS)

SQL Server 2005 Analysis Services, PerformancePoint Server 2007, Excel 2007 32
Demo 5: screenshots (Sales Budget/Actual dashboard o
n PPS)

SQL Server 2005 Analysis Services, SharePoint Server 2007, PerformancePoint Server 2007 33
Demo -6:
.NET application integration
Console
application

Table,
Table,
View
View
Web
BAPI application
RFC

SAP R/3
SAP ERP XML Web
Services

(*) Setup details are described in


SAP_07_VS2k5.ppt

34
Visual
Demo 6: screenshots (Console app) Studio

35
Demo 6: screenshots (ASP .NET Web form)



using
using (RfcClient
(RfcClient rfcClient
rfcClient =
= new
new RfcClient("SAPBinding_Rfc"))
RfcClient("SAPBinding_Rfc"))
{{
rfcClient.ClientCredentials.UserName.UserName
rfcClient.ClientCredentials.UserName.UserName = = "SAP*";
"SAP*";
rfcClient.ClientCredentials.UserName.Password
rfcClient.ClientCredentials.UserName.Password = = "06071992";
"06071992";
rfcClient.Open();
rfcClient.Open();
microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[]
microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[] customers
customers =
=
new
new microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[0];
microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[0];
str
str =
= TextBox1.Text;
TextBox1.Text;
rfcClient.RFC_CUSTOMER_GET(string.Empty,
rfcClient.RFC_CUSTOMER_GET(string.Empty, str, str, ref
ref customers);
customers);

ASP .NET Web application (C#) 36


Demo 6: screenshots (ASP .NET Web Service)


connectionStrings.Add("CLIENT=800;LANG=EN;USER=SAP*;PASSWD=06071992;
ASHOST=MSSAP01;SYSNR=00");

using (SAPConnection conn = new SAPConnection(connStr))
{
conn.Open();
using (SAPCommand cmd = conn.CreateCommand())
{
cmd.CommandText = "select MANDT, SPRAS, LAND1, BLAND, BEZEI from
T005U
where SPRAS = 'EN' and LAND1 ='" + str +"'";
using (SAPDataReader reader = cmd.ExecuteReader())

ASP .NET Web Service (C#) 37


Demo -7:
SAP & Excel 2007 (Visual Studio Tools for Office) integration

SAP kernel
4.x and later

Table,
Table,
View
View

BAPI
RFC

SAP R/3
SAP ERP
SAP kernel
6.x and later

(*) Setup details are described in


SAP_08_Excel2k7.ppt.
38
Demo -7: Screenshots
Dim ws As New pacificr3.SD_RFC_CUSTOMER_GETService
Dim cust(10000) As pacificr3.RFCCUST
ws.Credentials = New System.Net.NetworkCredential("bizadapter",
"4everSQL")
ws.SD_RFC_CUSTOMER_GET(cust, "", "*")
RfccustBindingSource.DataSource = cust

ASP .NET Web Service (C#), Excel 2007 (Visual Studio 2008) 39
Demo -8: SAP & SharePoint Server 2007 integration (Portal and Search)

SAP kernel
4.x and later 1. Web parts
2. Enterprise Search
Table,
Table, 3. Excel services
View
View

BAPI
RFC

Collaboration
SAP R/3 Workplace
SAP ERP
SAP kernel
6.x and later

(*) Setup details are described in


SAP_09_SharePoint2k7_BDC.ppt.
40
Demo -8: Screenshots (SharePoint Business Data C
atalog Definition Editor)

41
Demo -8: Screenshots (SharePoint Web parts to bro
wse customer info from SAP ERP)

ASP .NET Web Service (C#), SharePoint Server 2007 42


Demo -8: Screenshots (SharePoint search integrati
on with SAP)

ASP .NET Web Service (C#), SharePoint Server 2007 43


How to setup BizTalk Adapter Pack

Setup procedure is described in detail


Setup on Microsoft products and on SAP a
pplications servers
SAP_01_BizAdapter_Installation.ppt
How to grant required authentication with
the SAP user used by BizTalk Adapter Pack
(and Microsoft Products)
SAP_02_BizAdapter_SAPSecurity.ppt

44
(*) How to install BizTalk Adapter Pack (SAP)

Development
and Test
SAP Connection
SAP R/3, components SQL Server BI
(RFCSDK etc)
SAP ERP Development Studio
WCF LOB Adapter SDK

Production
(or Quality Assurance)
Custom RFC SAP Connection
components
(RFCSDK etc)
WCF LOB Adapter SDK

(*) Setup details are described in


SAP_01_BizAdapter_Installation.ppt and
SAP_02_BizAdapter_SAPSecurity.ppt. 45
MS Server
(*) 1. Adapter setup on Microsoft development systems
(SQL BI Development Studio / Visual Studio)

Please refer to SAP note 684106.


32-bit development
SQL Server Integration Services (32-bit) or Visual Studio (32-bit) setup
.NET Framework 3.0 Redistributable (32-bit) Package setup
Windows, SQL Server, .NET Framework, Visual Studio Service pack setup
RFCSDK 7.0 (Unicode) (32-bit) download and setup
File copy to c:\windows\system32
(*) R3DLLINS.exe download and setup for SAP release 6.40 and 7.00
(*) vcredist_<platform>.exe (32-bit) download and setup for SAP release 4.6D EX2, 6.40 EX2, 7.1
0
WCF LOB Adapter SDK (32-bit) Setup
BizTalk Adapter Pack (32-bit) setup
64-bit development
SQL Server Integration Services (64-bit) or Visual Studio (64-bit) setup
.NET Framework 3.0 Redistributable (64-bit) Package setup
Windows, SQL Server, .NET Framework, Visual Studio Service pack setup
RFCSDK 7.0 (Unicode) (32-bit) download and setup
File copy to c:\windows\sysWOW64
(*) R3DLLINS.exe download and setup for SAP release 6.40 and 7.00
(*) vcredist_<platform>.exe (32-bit) download and setup for SAP release 4.6D EX2, 6.40 EX2, 7.1
0
WCF LOB Adapter SDK (64-bit) Setup
BizTalk Adapter Pack (32-bit) setup

46
SAP Server
(*) 2. Custom RFC setup on SAP
systems

T-cd: STMS

47
SAP Server
(*) Check: Required authorizations for SAP
user

T-cd: PFCG

S_RFC

S_TABU_DIS

Z_EIP_TABL

48
MS Server
(*) 3. Adapter setup on Microsoft production systems
(SQL Server Integration Services, .NET Framework)

Please refer to SAP note 684106.


32-bit production
SQL Server Integration Services (32-bit) setup
.NET Framework 3.0 Redistributable (32-bit) Package setup
Windows, SQL Server, .NET Framework Service pack setup
RFCSDK 7.0 (Unicode) (32-bit) download and setup
File copy to c:\windows\system32
(*) R3DLLINS.exe download and setup for SAP release 6.40 and 7.00
(*) vcredist_<platform>.exe (32-bit) download and setup for SAP release 4.6D EX2, 6.40 EX2, 7.1
0
WCF LOB Adapter SDK (32-bit) Setup
BizTalk Adapter Pack (32-bit) setup
64-bit production
SQL Server Integration Services (64-bit) setup
.NET Framework 3.0 Redistributable (64-bit) Package setup
Windows, SQL Server, .NET Framework Service pack setup
RFCSDK 7.0 (Unicode) (64-bit) download and setup
File copy to c:\windows\system32
(*) R3DLLINS.exe download and setup for SAP release 6.40 and 7.00
(*) vcredist_<platform>.exe (64-bit) download and setup for SAP release 4.6D EX2, 6.40 EX2, 7.1
0
WCF LOB Adapter SDK (64-bit) Setup
BizTalk Adapter Pack (64-bit) setup

49
SAP & SQL Server BI customers
BizTalk Adapter Pack 1.0
Pharmaceutical
Product quality management visualization
SAP module : QM (Quality management)
MS products : SQL Server 2005 Integration Services, Excel 2007, SharePoint Server
2007 (Excel Services)
Precision machinery
Data export of purchase info from SAP to AS/400
SAP module : MM
MS products : Visual Studio 2005, SQL Server 2005 Integration Services
Steel works
Web reporting of payment slips on SAP for external business partner
s
SAP module : MM
MS products : SQL Server 2005 Integration Services, Reporting Services

.NET Provider for SAP ver. 1 (bundled in SQL2k5 EE)


Infrastructure constructor
Data export of journal data from SAP to subsystems
SAP module : FI/CO 50
Customer benefits provided by interop between Microsoft BI,
.NET Framework and SAP
Customer can easily
set up user-friendly
UIs
(like Office and Web)
and deploy them onto
SharePoint
(Higher visualization and
utilization of SAP)

Customer can easily


Customer can minimize master/implement
dev/operation costs MS technologies by
with no coding themselves (instead of
MS BI and fully depending on
developer-friendly special technicians)
.NET, instead of ABAP which helps continuous
and flexible system
extensions

51
Microsoft's LOB integration (especially with
SQL Server Integration Services)
Microsoft has delivered LOB adapter tec
hnologies for years
ADO .NET, WCF, OLEDB
SAP, Oracle, DB2, IBM mainframe, Siebel

Especially, SQL Server Integration Servic
es can easily bring LOB data into Micros
ofts people ready world
Once the data comes to Microsoft, everyo
ne can access to it from their familiar Micr
osoft desktop (like Office) 52
"No coding" data extract from LOB systems with SQL Server Integration Services

Web Reporting
R/3 4.6c ~ (Table, Graph, Map etc)

Siebel 7.5 ~
Ad-hoc analysis on
Excel pivot table

Oracle 8.1.7 ~

Budget management
and KPI dashboard
DB2 (MVS,400,
6000,Win)

Collaboration
OS/390, z/OS, workplace
OS/400, i5/OS 53
"No coding" data extract from LOB systems with SQL Server Integration Services

Host,
DB2 AS/400
Supported LOB R/3 4.6c (non- 7.5, 7.7, 7.8, 8.0 8i (8.1.7), (DB2MVS) v6 and later (IBM mainframe)
applications server unicode), 9i R1 (9.0.1), (DB2400) v5R1 and MVS, OS/390, z/OS
versions R/3 4.7 9i R2 (9.2.0), later (IBM AS/400)
(non-unicode, unicode), 10g R1 (10.1.0), (DB2AIX) v7.1 and OS/400, i5/OS
ERP 2004 10g R2 (10.2.0), later
(non-unicode, unicode), 11g R1 (11.1.0) (DB2NT) v7.1 and later

ERP 6.0
(non-unicode, unicode)

Required MS products in BizTalk Adapter Pack BizTalk Adapter Pack None (Free) SQL Server 2005 Host Integration Server
addition to SQL Server 1.0 1.0 Enterprise Edition 2006 (BizTalk Server
Integration Services (standard functionality) 2006 R2)
or Host Integration
Server 2006 (BizTalk
Server 2006 R2)

LOB client modules .NET Framework Data .NET Framework Data .NET Framework Data OLE DB provider for .NET Framework Data
provided by Microsoft provider for SAP provider for Siebel, provider for Oracle DB2 (SQL2005) or Provider for Host Files
Business Suite, WCF WCF LOB Adapter .NET Framework Data
LOB Adapter provider for DB2
(HIS2006)

Supported access (1) Select query on SAP (1) Select query on (1) Select/Update/ (1) Select/Update/ (IBM mainframe)
methods cluster/pool/ Siebel business Insert/Delete on Oracle Insert/Delete on Data access to SAM,
transparent tables, components tables/views DB2 tables/views VSAM, PDSE, PDS data
views (2) Execution of Siebel (2) Execution of Oracle (2) Execution of sets
(2) Execution of Services stored procedures DB2 stored procedures (IBM AS/400)
RFC/BAPI Data access to AS/400
files, AS/36 files

LOB client modules to set RFCSDK Siebel web client Oracle client None (bundled in MS None (bundled in MS
up additionally 6.40/7.00/7.10 unicode 7.5/7.7/7.8/8.0 8.1.7/9.0.1/9.2.0/ product) product)
(provided by LOB 10.1.0/10.2.0/11.1.0
vendors)

Application protocol RFC/tRFC/qRFC COM (on TCP/IP) IPC, Named Pipes, TCP/IP TCP/IP,
between Microsoft and (on TCP/IP) SDP, TCP/IP, or APPC on SNA LU6.2
LOB applicaitons TCP/IP with SSL APPC on SNA LU6.2
(with HIS2006)

54
55

You might also like