Microsoft Corporation SAP-Microsoft Competence Center (Tokyo) 1 Although plenty of business data has been stocked in SAP for years, there’s no drastic ways to allow all employees to access/visualize these data.. If subsystem integrations (for data visualization or UI extension) are implemented with legacy ABAP add-ons, the dev/operation costs get extremely expensive .. Once the system becomes a black box, it’s not easy to continuously extend the systems with flexibility .. 2 SAP for limited users SAP for everyone Microsoft’s SAP interoperability solutions 3 SSO with Active Directory SAP Enterprise services call Metadata distribution Web Services SAP workflow call SAP Enter prise services Document library Human Workflow タ ス ク RFC/ BAPI タ ス ク タ ス ク タ ス ク データ フロー タスク BizTalk Adapter Pack RFC/ BAPI SAP table レポー reporting ティング タ ス ク タ ス ク OLAP cube RFC/ BAPI Business logics タ ス ク Portal Duet addon RFC/ BAPI DB, LOB interop Workflows Web applications Duet addon Mailing though Exchange Server Data mart ETL タ ス ク SAP view タ ス ク タ ス ク データ フロー タスク 4 The most current way to call SAP business logics from external systems http://www.sdn.sap.com/irj/sdn/esworkplace Publishes SAP’s business logics as Web services Various vendors (including Microsoft) can technically connect in this way SAP increased # of services to 2,800 with their release of Enhancement Pack 3 Differences from their legacy BAPI/RFC Industry standard Web services instead of SAP’s proprietary 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 One of Microsoft’s 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, Oracle) A central hub between LOB and all Microsoft products Visual Studio, SQL Server Integration Services, BizTalk Server etc 66 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=‘VISA’, @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 1. SQL Server Business Intelligence integration (Entry level) 2. SQL Server 2005 Integration Services integration (Advanced 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) Ingetration 6. .NET application integration 7. SAP & Excel 2007 (Visual Studio Tools for Office) integration 8. SAP & SharePoint Server 2007 integration (Portal and Search) 8 (*) Setup details are described in SAP_03_SQL2k5_SSIS.ppt. Region info table (T005U) SAP R/3 SAP ERP Flat text file 9 (1) Definition of SAP connection (2) Design of data extract flow from SAP ERP (1) Data extract with OPENSQL (select query) e.g. : select KUNNR, LAND1, NAME1, REGIO, TELF1 from KNA1 WHERE NAME1 = ‘ABC*’ (2) BAPI/RFC execution e.g. : Exec RFC_CUSTOMER_GET @NAME1 = ‘*’, @KUNNR = ‘*’ (3) OPENSQL (select) or BAPI/RFC execution 10 11 Table, View BAPI RFC Web Reporting (Table, Graph, Map etc) 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 system tables like CDPOS, in which 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. Budget management and KPI dashboard Collaboration workplace 12 13 14 15 16 17 18 19 Table, View BAPI RFC Web Reporting (Table, Graph, Map etc) 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 21 22 SQL Server 2005 Analysis Services, Excel 2007 23 SQL Server 2005 Analysis Services, Excel 2007 24 SQL Server 2005 Analysis Services, SharePoint Server 2007 25 Table, View BAPI RFC Web Reporting (Table, Graph, Map etc) 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 http://www.dundas.com/products/index.aspx 27 28 29 30 Table, View BAPI RFC Web Reporting (Table, Graph, Map etc) 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 SAP_11_PPS2k7_Monitoring.ppt. Collaboration workplace 31 SQL Server 2005 Analysis Services, PerformancePoint Server 2007, Excel 2007 32 SQL Server 2005 Analysis Services, SharePoint Server 2007, PerformancePoint Server 2007 33 Console application Table, View BAPI RFC SAP R/3 SAP ERP Web application XML Web Services (*) Setup details are described in SAP_07_VS2k5.ppt 34 Demo – 6: screenshots (Console app) Visual Studio 35 … using (RfcClient rfcClient = new RfcClient("SAPBinding_Rfc")) { rfcClient.ClientCredentials.UserName.UserName = "SAP*"; rfcClient.ClientCredentials.UserName.Password = "06071992"; rfcClient.Open(); microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[] customers = new microsoft.lobservices.sap._2007._03.Types.Rfc.BRFCKNA1[0]; str = TextBox1.Text; rfcClient.RFC_CUSTOMER_GET(string.Empty, str, ref customers); … ASP .NET Web application (C#) 36 ・・・ 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 SAP kernel 4.x and later Table, View BAPI RFC SAP R/3 SAP ERP SAP kernel 6.x and later (*) Setup details are described in SAP_08_Excel2k7.ppt. 38 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 SAP kernel 4.x and later Table, View 1. Web parts 2. Enterprise Search 3. Excel services BAPI RFC Collaboration Workplace SAP R/3 SAP ERP SAP kernel 6.x and later (*) Setup details are described in SAP_09_SharePoint2k7_BDC.ppt. 40 41 ASP .NET Web Service (C#), SharePoint Server 2007 42 ASP .NET Web Service (C#), SharePoint Server 2007 43 Setup procedure is described in detail Setup on Microsoft products and on SAP applications 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 Development and Test SAP R/3, SAP ERP SAP Connection components (RFCSDK etc) SQL Server BI 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 32-bit development Please refer to SAP note 684106. 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.10 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.10 WCF LOB Adapter SDK (64-bit) Setup BizTalk Adapter Pack (32-bit) setup 46 (*) 2. Custom RFC setup on SAP systems SAP Server T-cd: STMS 47 (*) Check: Required authorizations for SAP user SAP Server T-cd: PFCG S_RFC S_TABU_DIS Z_EIP_TABL 48 MS Server 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.10 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.10 WCF LOB Adapter SDK (64-bit) Setup BizTalk Adapter Pack (64-bit) setup 49 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 partners 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 MS products : SQL Server 2005 Integration Services 50 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 minimize dev/operation costs with “no coding” MS BI and “developer-friendly” .NET, instead of ABAP Customer can easily master/implement MS technologies by themselves (instead of fully depending on special technicians) which helps continuous and flexible system extensions 51 Microsoft has delivered LOB adapter technologies for years ADO .NET, WCF, OLEDB … SAP, Oracle, DB2, IBM mainframe, Siebel … Especially, SQL Server Integration Services can easily bring LOB data into Microsoft’s people ready world Once the data comes to Microsoft, everyone can access to it from their familiar Microsoft desktop (like Office) 52 R/3 4.6c ~ Web Reporting (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) OS/390, z/OS, OS/400, i5/OS Collaboration workplace 53 DB2 Host, AS/400 Supported LOB applications server versions R/3 4.6c (non-unicode), R/3 4.7 (non-unicode, unicode), ERP 2004 (non-unicode, unicode), ERP 6.0 (non-unicode, unicode) 7.5, 7.7, 7.8, 8.0 8i (8.1.7), 9i R1 (9.0.1), 9i R2 (9.2.0), 10g R1 (10.1.0), 10g R2 (10.2.0), 11g R1 (11.1.0) (DB2MVS) v6 and later (DB2400) v5R1 and later (DB2AIX) v7.1 and later (DB2NT) v7.1 and later (IBM mainframe) MVS, OS/390, z/OS (IBM AS/400) OS/400, i5/OS Required MS products in addition to SQL Server Integration Services BizTalk Adapter Pack 1.0 BizTalk Adapter Pack 1.0 None (Free) SQL Server 2005 Enterprise Edition (standard functionality) or Host Integration Server 2006 (BizTalk Server 2006 R2) Host Integration Server 2006 (BizTalk Server 2006 R2) LOB client modules provided by Microsoft .NET Framework Data provider for SAP Business Suite, WCF LOB Adapter .NET Framework Data provider for Siebel, WCF LOB Adapter .NET Framework Data provider for Oracle OLE DB provider for DB2 (SQL2005) or .NET Framework Data provider for DB2 (HIS2006) .NET Framework Data Provider for Host Files Supported access methods (1) Select query on SAP cluster/pool/ transparent tables, views (2) Execution of RFC/BAPI (1) Select query on Siebel business components (2) Execution of Siebel Services (1) Select/Update/ Insert/Delete on Oracle tables/views (2) Execution of Oracle stored procedures (1) Select/Update/ Insert/Delete on DB2 tables/views (2) Execution of DB2 stored procedures (IBM mainframe) Data access to SAM, VSAM, PDSE, PDS data sets (IBM AS/400) Data access to AS/400 files, AS/36 files LOB client modules to set up additionally (provided by LOB vendors) RFCSDK 6.40/7.00/7.10 unicode Siebel web client 7.5/7.7/7.8/8.0 Oracle client 8.1.7/9.0.1/9.2.0/ 10.1.0/10.2.0/11.1.0 None (bundled in MS product) None (bundled in MS product) Application protocol between Microsoft and LOB applicaitons RFC/tRFC/qRFC (on TCP/IP) COM (on TCP/IP) IPC, Named Pipes, SDP, TCP/IP, TCP/IP with SSL TCP/IP or APPC on SNA LU6.2 (with HIS2006) TCP/IP, APPC on SNA LU6.2 54 55