Insert Presentation Title


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Questions.
  • Insert Presentation Title

    1. 1. Developing Applications with the SAP .Net PDK and .Net Connector Matt Schababerle Lenny Terris Senior Architect Senior Consultant
    2. 2. Learning Points <ul><li>Understand the capabilities of the .Net PDK and .Net Connector </li></ul><ul><li>Learn how to leverage SAP and Microsoft tools in an SOA architecture </li></ul><ul><li>Lessons learned using the .Net Connector and .Net PDK </li></ul>
    3. 3. Agenda <ul><li>SAP – Microsoft Interoperability Overview </li></ul><ul><li>.Net PDK Architecture & Features </li></ul><ul><li>.Net Connector Architecture & Features </li></ul><ul><li>Demonstration Scenario </li></ul><ul><li>Demonstration </li></ul><ul><li>Lessons Learned </li></ul>
    4. 4. SAP – Microsoft Interoperability Overview
    5. 5. SAP / Microsoft Interoperability History <ul><li>SAP and Microsoft have been integration partners for over 10 years, starting with the first release of R/3 on Windows NT in 1994. </li></ul><ul><li>The partnership has deepened over the years as Microsoft / SAP usage has increased. </li></ul><ul><li>Over half of all SAP installations, approximately 58,000 have occurred on the Windows platform </li></ul><ul><li>One quarter of all SAP installations occur on MS SQL Server </li></ul><ul><li>Microsoft has been running SAP R/3 as its ERP system since 1995 and has also implemented BW, APO, GTS, and SCEM </li></ul><ul><li>SAP Development staff is co-located with SQL development team in Redmond </li></ul>
    6. 6. SAP / Microsoft Interoperability Timeline <ul><li>Over time, SAP has increasingly recognized the need for customers to integrate their Microsoft applications into their SAP environment. </li></ul><ul><li>April 1994 – First R/3 release for Windows NT </li></ul><ul><li>August 1995 – SQL Server Support. </li></ul><ul><li>January 1997 – Integration with MS Exchange </li></ul><ul><li>October 1997 – DCOM Support </li></ul><ul><li>Feb 2000 – / Windows 2000 Launch </li></ul><ul><li>April 2003 – SAP Support for Windows Server 2003 </li></ul><ul><li>May 2004 – SAP Netweaver / Microsoft .Net Interoperability announcement </li></ul><ul><li>April 2005 – SAP and Microsoft announce Mendocino Initiative </li></ul>
    7. 7. SAP Netweaver / Microsoft Interoperability Overview <ul><li>Recognizing that it’s customers have made investments in other technology solutions, SAP has chosen to partner with IBM and Microsoft to develop interoperability solutions. </li></ul><ul><li>Microsoft and SAP have similar applications and interoperability options at every level of the Netweaver stack. </li></ul>SAP NetWeaver™ Composite Application Framework PEOPLE INTEGRATION Multichannel access Portal Collaboration INFORMATION INTEGRATION Bus. Intelligence Master Data Mgmt Knowledge Mgmt PROCESS INTEGRATION Integration Broker Business Process Mgmt APPLICATION PLATFORM J2EE DB and OS Abstraction ABAP Lifecycle Management …
    8. 8. Why Use the .Net Toolkits ? <ul><li>SAP Customers have heavily invested in Windows-based infrastructure and training for their personnel </li></ul><ul><li>Many customers have developed custom applications, sometimes mission critical, that can benefit from integration with SAP applications </li></ul><ul><li>These customers want to leverage their SAP and .Net Investments by integrating the two environments </li></ul><ul><li>Combining .Net and SAP application development allows customers to combine the best of both worlds </li></ul>
    9. 9. SAP Netweaver IT Practices & Scenarios .Net PDK & Connector
    10. 10. .Net PDK Architecture & Features
    11. 11. .Net PDK Architecture <ul><li>.Net Components are developed in Visual Studio 2003 using the SAP .Net PDK Add-in and deployed to SAP Netweaver Portal </li></ul><ul><li>Portal Runtime for .Net enables .Net components to communicate with other Portal components and external systems </li></ul>Runtime
    12. 12. .Net PDK Features <ul><ul><li>Fully integrated with Visual Studio 2003 </li></ul></ul><ul><ul><li>Hot deploy & preview components directly in the portal from Visual Studio </li></ul></ul><ul><ul><li>Debug components on local machine </li></ul></ul><ul><ul><li>Supports Team development on single shared portal </li></ul></ul><ul><ul><li>Help Files integrated into Visual Studio Help </li></ul></ul><ul><ul><li>Project template for portal applications in Visual Studio </li></ul></ul><ul><ul><li>Portal Component and System Templates </li></ul></ul><ul><ul><li>SAP .Net UI controls inherit portal look & feel (Expanded in version 2.0) </li></ul></ul><ul><ul><li>Design portal pages directly in Visual Studio (New in Version 2.0) </li></ul></ul><ul><ul><li>Portal Style Designer extends portal styles to non-SAP UI components (New in Version 2.0) </li></ul></ul><ul><ul><li>Object Based Navigation features supported (New in Version 2.0) </li></ul></ul><ul><ul><li>Multiple options for deploying .Net Applications to the portal (Enhanced in Version 2.0) </li></ul></ul>
    13. 13. .Net PDK Installation & Configuration <ul><li>Use Setup Wizard to install portal add-in for Visual Studio </li></ul><ul><li>Install Portal runtime for .Net </li></ul><ul><li>Install Java - .Net interoperability components using SDM </li></ul>Installation Configuration <ul><li>Assign Logon Account to Portal Runtime for .Net Service </li></ul><ul><ul><li>Define Server in Microsoft Management Console (MMC) </li></ul></ul><ul><ul><li>Configure .Net Portal Services in Enterprise Portal </li></ul></ul><ul><li>See OSS Central Installation Note 800842 for installation details </li></ul><ul><li>OSS Notes 846408 (v1.0 Patch 3) and 898153 (v2.0) have installation validation tools attached to the notes as zip files </li></ul>
    14. 14. .Net PDK Visual Studio Interface
    15. 15. .Net Connector Architecture & Features
    16. 16. .Net Connector High Level Architecture
    17. 17. .Net Connector Features <ul><li>The .Net Connector and Proxy Wizard allow you to: </li></ul><ul><li>Write .NET Windows and Web form applications that access SAP remote enabled functions (RFC) </li></ul><ul><li>• Create client applications for the SAP server using either RFCs or HTTP/SOAP/XML (outside-in) </li></ul><ul><li>• Develop RFC server applications that run in a .NET environment and can be implemented from within the SAP System (inside-out) </li></ul><ul><li>Development Can take place entirely within Visual Studio </li></ul><ul><li>• Use the Proxy Wizard integrated in Microsoft Visual Studio .NET to generate proxy objects that are easy to use </li></ul><ul><li>• Use any common programming language that has full access to the Microsoft .NET Framework </li></ul><ul><li>• Use IntelliSense help in Microsoft Visual Studio .NET through strongly typed data models and method signatures </li></ul><ul><li>• Bind SAP tables and structures to Windows and Web form controls (DataBinding) </li></ul><ul><li>• Use security authentication methods such as Single Sign-on, Kerberos, and Microsoft Passport </li></ul><ul><li>The .Net Connector is also packages as the Microsoft Biztalk SAP Adapter. This provides a smooth development path for customers implementing Biztalk with previous .Net Connector experience </li></ul>
    18. 18. Installation & Configuration – SAP Connector <ul><li>Prerequisites: </li></ul><ul><li>Microsoft Visual Studio .NET 2003 </li></ul><ul><li>Java Runtime Environment (JRE) 1.3 or later </li></ul><ul><ul><li>Required for proxy generation </li></ul></ul><ul><ul><ul><li>Not needed once proxies have been generated </li></ul></ul></ul><ul><ul><li>If you are using a Java VM other than the Sun Java VM version 1.3 (including newer Sun Java VM versions) you must have a registry entry pointing to your Java VM like the following: </li></ul></ul><ul><ul><ul><li>[HKEY_LOCAL_MACHINESOFTWAREJavaSoft] </li></ul></ul></ul><ul><ul><ul><li>[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment] </li></ul></ul></ul><ul><ul><ul><ul><li>“ CurrentVersion”=“1.3” </li></ul></ul></ul></ul><ul><ul><ul><li>[HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava Runtime Environment1.3] </li></ul></ul></ul><ul><ul><ul><ul><li>“ JavaHome”=“C:rogram FilesBMava13re” </li></ul></ul></ul></ul><ul><li>Installation Packages: </li></ul><ul><li>• SAP Connector for Microsoft .NET 1.03 Installation for Visual Studio 2003 </li></ul><ul><ul><li>Full version installation for development computers with Visual Studio .Net 2003 </li></ul></ul><ul><li>SAP Connector for Microsoft .NET 1.03 Runtime Installation </li></ul><ul><ul><li>Runtime installation for deployment computers </li></ul></ul>
    19. 19. Installation & Configuration – BizTalk Adapter for mySAP v2.0 <ul><li>Prerequisites: </li></ul><ul><li>Microsoft Visual Studio .NET 2005 </li></ul><ul><li>Microsoft BizTalk Server 2006 </li></ul><ul><ul><li>Including all BTS 2006 prerequisites </li></ul></ul><ul><li>SAP .NET Connector version 1.0.3 </li></ul><ul><ul><li>Newer versions of the SAP .NET Connector have been released but at the time of this presentation, the Adapter is dependent on this specific version of the SAP .NET Connector </li></ul></ul><ul><li>Installation Packages: </li></ul><ul><li>Microsoft BizTalk Adapter v2.0 for mySAP Business Suite </li></ul><ul><li>Microsoft BizTalk Adapter v2.0 for mySAP Business Suite Service Pack CTP </li></ul><ul><li>Configuration </li></ul><ul><li>Create a Send Port in BizTalk that uses the SAP Adapter </li></ul><ul><ul><li>Provide SAP Connection information: such as Client, System ID, etc. </li></ul></ul><ul><ul><li>Use XMLTransmit and XMLReceive Pipelines </li></ul></ul>
    20. 20. Demonstration Scenario
    21. 21. Scenario Background: <ul><li> A Hitachi Consulting customer was interested in developing a proof of concept to demonstrate the benefits of a custom user interface for casual SAP users. The scope of the project included: </li></ul><ul><ul><ul><li>Developing a user interface for purchase requisition approval and goods receipts </li></ul></ul></ul><ul><ul><ul><li>Deploying the solution to the customer’s SharePoint portal environment </li></ul></ul></ul><ul><ul><ul><li>Developing an alerting mechanism to notify users of purchase requisitions awaiting their approval </li></ul></ul></ul><ul><li> The solution was developed using Visual Studio 2003, SharePoint Portal Server, Biztalk Server 2006 with the SAP .Net Connector, and SAP R/3 Enterprise 4.7 </li></ul><ul><ul><ul><li>User Interface developed in Visual Studio and deployed to SharePoint environment </li></ul></ul></ul><ul><ul><ul><li>SAP Integration developed using Biztalk Orchestrations and SAP .Net connector to communicate with SAP BAPI’s </li></ul></ul></ul><ul><ul><ul><li>Alerting mechanism developed using Windows Workflow Foundation </li></ul></ul></ul>
    22. 22. Scenario Background Continued: <ul><li> After delivering the proof of concept to the customer, Hitachi Consulting redeployed the user interface from SharePoint to Enterprise Portal for demonstration purposes using the SAP .Net PDK. This allows a side by side comparison of the two user interfaces supporting the same process. It also demonstrates the flexibility and reusability of components developed in a Services Oriented Architecture framework. </li></ul><ul><li> Today’s demonstration will have 3 parts: </li></ul><ul><ul><ul><li>Demonstrate SharePoint Portal Interface </li></ul></ul></ul><ul><ul><ul><li>Demonstrate Enterprise Portal Interface </li></ul></ul></ul><ul><ul><ul><li>Demonstrate process for developing and deploying components to the Enterprise Portal environment. </li></ul></ul></ul>
    23. 23. Solution Architecture 1 <ul><li>Presentation layer, business logic, and data persistence are separated. </li></ul><ul><li>Process integration is accomplished using MS Biztalk Orchestrations and Windows Workflow foundation. </li></ul><ul><li>Communication with SAP via RFC’s or Web Services facilitated by SAP .Net Connector </li></ul><ul><li>Services Oriented Architecture Solution </li></ul>BizTalk Server 2006 Data Layer Users Presentation Layer Operational Mgmt Exception Management Configuration Notification Security Authentication Authorization BizTalk Adapter for mySAP Purchase Delivery Receiver Common Data Model SAP R / 3 ( Oracle or SQL ) SAP Interface ( SAP . NET Connector , SAP Application Server ) Purchase Requisition Approver Service Layer ASP . NET Application ( Web Services ) Windows SharePoint Portal Server Orchestration BizTalk Adapter for SOAP GetPurchReqs GetPOs ApprovePurchReq GetPODetail POGoodsReceipt GetPurchReqDet Purch . Req . List Webpart Purch . Req . Detail Webpart Purch . Order List Webpart Purch . Order Detail Webpart BizTalk Enterprise SSO
    24. 24. Solution Architecture 2 <ul><li>SAP Enterprise Portal is substituted for SharePoint </li></ul><ul><li>Portal executes .net applications via Portal Runtime for .Net </li></ul><ul><li>Separation of presentation layer from business logic, combined with .Net interoperability tools, allows substitution of components without major redevelopment effort. </li></ul><ul><li>Services Oriented Architecture Solution </li></ul>BizTalk Server 2006 Data Layer Users Presentation Layer Operational Mgmt Exception Management Configuration Notification Security Authentication Authorization BizTalk Adapter for mySAP Purchase Delivery Receiver Common Data Model SAP R / 3 ( Oracle or SQL ) SAP Interface ( SAP . NET Connector , SAP Application Server ) Purchase Requisition Approver Service Layer ASP . NET Application ( Web Services ) SAP Enterprise Portal Server Orchestration BizTalk Adapter for SOAP GetPurchReqs GetPOs ApprovePurchReq GetPODetail POGoodsReceipt GetPurchReqDet Purch . Req . List iView Purch . Req . Detail iView Purch . Order List iView Purch . Order Detail iView BizTalk Enterprise SSO Portal Runtime for Microsoft .Net
    25. 25. Demonstration
    26. 26. Key Learnings <ul><li>The .Net PDK is very simple to install and well integrated with Visual Studio. Very small learning curve for experienced .Net Developers </li></ul><ul><li>Deployment of .net components to the portal is smooth and reliable </li></ul><ul><li>.Net developers using the PDK will benefit from training on the Enterprise Portal PCD and content administration. </li></ul><ul><li>Installation is the trickiest part of using the SAP Adapter, once configured using the SAP Adapter is relatively easy </li></ul><ul><ul><li>The SAP Adapter enables the generation of schemas based on RFCs </li></ul></ul><ul><ul><li>These schemas can then be used by BizTalk to generate messages to be sent to and received from SAP </li></ul></ul><ul><li>By default, each call to SAP is contained within its own transaction </li></ul><ul><ul><li>This is not conducive to calls that require a commit work to be submitted after successful submission – such as BAPI_GOODSMVT_CREATE </li></ul></ul><ul><ul><li>It is possible to manipulate the transaction through message headers within a BizTalk Orchestration </li></ul></ul><ul><li>The SAP Adapter is a little finicky and can sometimes produce errors that are not very helpful </li></ul>
    27. 27. Q & A Matt Schababerle Senior Architect Hitachi Consulting Direct: 713.458.5029 Mobile: 281.772.3604 [email_address] Inspiring your next success! ®
    28. 28. Additional Resources <ul><li>SAP Developer Network </li></ul><ul><li> </li></ul><ul><li>SAP Marketplace </li></ul><ul><li> (requires login) </li></ul><ul><li>PDK Menu Path: SAP Netweaver ->Netweaver in detail -> People Integration -> Portal -> Portal In Detail </li></ul><ul><li>. Net Connector menu Path: SAP Netweaver ->Netweaver in detail -> Application Platform -> Connectivity -> Connectors </li></ul><ul><li>Microsoft-SAP </li></ul><ul><li> </li></ul>
    29. 29. 1608 Session Code: