Wp sap integration kartik

1,133 views
1,072 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,133
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Wp sap integration kartik

  1. 1. WHITEPAPERIntegrating Salesforce.comApplications and SAP
  2. 2. WHITEPAPERContentsIntroduction ............................................................................................................................................ 2Integration: Easier than Ever. .................................................................................................................. 2 .Multitenancy and Integration...........................................................................................................................3Integration as a Service.....................................................................................................................................3Productized Integrations..................................................................................................................................4 .Three Paths to SAP Integration................................................................................................................ 4Force.com Native Connector . .........................................................................................................................5Integration Middleware . .................................................................................................................................5Custom Integrations.........................................................................................................................................6Choosing Your Integration’s Architecture................................................................................................. 7Overview of SAP/Force.com Integration Technologies..................................................................................7 .Presentation-Layer Integration........................................................................................................................7 . SAP Presentation-Layer Capabilities........................................................................................................... 8 Force.com Presentation-Layer Capabilities................................................................................................... 8Application-Layer Integration.........................................................................................................................9 . SAP Application-Layer Capabilities............................................................................................................ 9 . Force.com Application-Layer Capabilities..................................................................................................... 9Data-Layer Integration. .................................................................................................................................10 . SAP Data-Layer Capabilities.................................................................................................................... 11 Force.com Data-Layer Capabilities............................................................................................................ 11The Semantics of Integration: Optimizing the End-to-End Process........................................................11Customer Examples................................................................................................................................12Summary................................................................................................................................................13Integrating Salesforce.com Applications and SAP 1
  3. 3. WHITEPAPERIntroductionMany people use salesforce.com’s solutions because of the rapid time to value, ease of use,consistent performance, and scalability inherent in the software-as-a-service (SaaS) model. Butfew people use salesforce.com applications in isolation. That’s why all applications from salesforce.comwere designed from the beginning to run on the Force.com platform. The Force.com platform isthe underlying foundation of salesforce.com’s service and provides all the tools needed to integratewith external applications and environments. It lets Salesforce CRM applications, Force.comcustomer applications, or native partner applications participate as part of larger end-to-endbusiness processes that involve other business applications such as SAP, the most widely usedenterprise resource planning (ERP) solution in the world.Applications that run on the Force.com platform, such as Salesforce CRM, have proven to bean excellent way to get critical data from SAP R/3, SAP ERP, and other SAP Business Suiteapplications into the hands of a much larger user audience. For example, by integrating data lockedin an SAP system—including invoices, orders, products, pricing, and shipping data—with the easy-to-use, high-performance applications of Salesforce CRM, customer-facing employees such assales executives, call center representatives, and marketing professionals gain a more complete viewof the customers they work with every day. The result is increased user adoption, more effectivecustomer interactions, and higher overall customer satisfaction and retention.For companies seeking to combine applications that run on Force.com and SAP applicationswithin the same landscape, the news is good. Both salesforce.com and SAP provide many methodsfor making their software work together. This is true for SAP R/3 users who rely on remotefunction calls (RFCs), business application programming interfaces (BAPIs), or iDocs as wellas for users of SAP ERP who use SAP NetWeaver–based integration techniques or SAP’senterprise services.For customers, the basic question is this: How can we achieve the integration we want at thelowest cost with the lowest risk in the shortest amount of time? This paper gives an overview of thebest ways to integrate SAP applications successfully with salesforce.com applications running onthe Force.com platform. It provides information about flexible choices, real customer examples, andbest practices based on years of experience and hundreds of successful customer implementations.It challenges the assumption that just because you’re using SAP in the back office, it is the logicalchoice for the front office as well.Note on SAP terminology: SAP R/3 represents the bulk of SAP’s installed base. In 2002, SAPcreated a new version of its ERP application—called SAP ERP—that is based on its services-based architecture, the SAP NetWeaver platform. This platform includes the tools that formthe application’s foundation and toolkits for new development and integration. The SAPBusiness Suite consists of SAP ERP and applications such as SAP CRM, SAP SCM, and SAPSRM—all of which are based on SAP NetWeaver.In this paper, “SAP R/3” refers to the version used by most SAP users, and “SAP ERP” refers tothe version based on SAP NetWeaver. SAP’s middleware, now called “SAP NetWeaver ProcessIntegration,” is still commonly referred to by its earlier name, “SAP Exchange Infrastructure”or simply “SAP XI.” SAP Web services are referred to as “enterprise services.”Integration: Easier than EverHistorically, integration has been an IT headache. Vendors didn’t build their solutions to interactwith external applications, so integration often meant digging into each vendor’s proprietaryapplication programming interfaces (APIs) or underlying data structures and building customintegrations. For the earliest generation of SAP R/3 users, almost every integration was essentiallya custom ABAP program that was difficult to change and even harder to upgrade.Today, companies seeking to integrate applications have many choices for sharing data, movingit back and forth, and letting processes flow from one system to another. Over the last 10 years,application providers—including SAP and salesforce.com—have dedicated significant resourcesto ensuring their applications and platforms can communicate with one another. Web services,service-oriented architectures (SOAs), and mashups have made integration simpler and more2 Integrating Salesforce.com Applications and SAP
  4. 4. WHITEPAPERpowerful. Now, the way you string together the many business applications that run your companymay determine your competitive differentiation in the marketplace.From an IT perspective, many companies like the idea of a single solution provider because theyassume integration will be easier with solutions from one vendor. Not surprisingly, SAP and otherlarge vendors encourage this viewpoint. The reality is that the industry is rapidly moving to SOAsthat are—by definition—based on heterogeneous services designed to be more easily connectedand disconnected according to a customer’s business requirements. SAP, for example, has adoptedthe NetWeaver strategy to bring together the different technologies and solutions now sold underthe SAP brand. For these technologies—which are often based on differing data models, versions,logic, and user interfaces—NetWeaver provides a SOA-based middleware solution that facilitatescommunication via Web services. Just as SOA helps to integrate the SAP ecosystem, it enableseasier integration with external services, including salesforce.com applications.As we will show in this paper, integrating with applications from salesforce.com is often easier thanwith alternative solutions from a single vendor because of the Force.com platform’s multitenantarchitecture. In fact, more than two-thirds of all salesforce.com customers integrate with externalapplications ranging from ERP packages and desktop productivity tools such as MicrosoftOutlook and Lotus Notes to custom applications built on a variety of modern and legacytechnologies. Today, the Force.com API supports more than 2 billion integration transactions permonth. This number represents more than 57 percent of all salesforce.com traffic.The good news for IT professionals is that integration has never been easier. What used to takemonths—and cost hundreds of thousands of dollars—can now be accomplished in weeks for afraction of the cost. Integration no longer has to mean custom development, broken upgrades, andlong, complex implementations. Instead, multiple integration options are available to address anycustomer’s specific needs.Multitenancy and IntegrationWhat makes integration with the Force.com platform particularly easy—both initially and interms of ongoing maintenance—is its multitenant architecture. Perhaps the best way to understandmultitenancy is to think of an office building. Everyone shares common aspects of the facilitysuch as the lobby, elevators, and building security. Despite this sharing, each office is private andfurnished according to the occupant’s business needs. The result is shared services that providegreater economies of scale and deliver new services more rapidly to the entire community.The word “multitenancy” obscures the fact that the value is created not by having multiple tenants,but by having a single, shared infrastructure. Multitenancy and the SaaS model eliminate time-consuming tasks from the process of delivering, managing, and integrating software. Customerscan focus critical resources on creating a better product, with faster cycles of innovation, instead ofmanaging the complexity of many different versions to support a vast installed base.The benefits of a multitenant architecture apply to integration as well. Just as Amazon.comand Google expose and manage multitenant APIs for their customers, Force.com includes amultitenant, platform-based API to support all integration traffic. This SOAP-based API providesa powerful and consistent integration experience to all salesforce.com customers. In fact, it hasbecome one of the most heavily used business APIs in the world.Integration as a ServiceWith a multitenant, platform-based API, Force.com ensures integrations don’t “break.” Allintegration touch points and service volumes are proactively tested in each upgrade cycle.Integration traffic is monitored and tuned in real time to provide the highest levels of performanceand security. Automated testing routines are run at regular intervals to ensure that all operationsand system changes are fully compatible with existing integrations. As a result, both the initialintegration and its continued maintenance are simplified, something on-premise integrationstypically can’t achieve because they have to support multiple versions and complex migrationprocedures when it comes to updates.The ability to integrate with existing systems protects previous investments, and integratingwith evolving technologies ensures innovation. With salesforce.com, you get both protection andIntegrating Salesforce.com Applications and SAP 3
  5. 5. WHITEPAPERinnovation. Providing integration asa service as part of salesforce.com’sForce.com platform gives customersthe best of all worlds.Productized IntegrationsIntegrations between popularapplications such as SalesforceCRM and SAP are increasinglyoffered as productized integrations.In productized integrations, theintegration is delivered as a prebuiltand configurable solution thatcan be deployed, modified, andupgraded rapidly, with minimal risk. Figure 1: The Force.com platform lets you build apps in weeks, not months,Productized integrations cover the with a complete application development and delivery infrastructure.most common integration designpatterns and business processes that span applications. Productized integrations typically includeprebuilt data mappings, transformations, and process orchestrations. Such integrations may comein the form of integration appliances, packaged applications, connectors, and predefined processflows. They are either provided by the application vendors or by one of many integration partnersthat specialize in SAP and salesforce.com integration.Following are some examples of productized integrations:::: Cast Iron provides prebuilt integrated processes with its Process Integration Packs for SAP and Salesforce CRM.::: Informatica provides prebuilt connectors for Salesforce CRM and all major versions of SAP.::: Salesforce-to-SAP Enterprise Mashups from SGC are prebuilt mashups of live SAP data in Salesforce CRM, including customer orders, invoices, and credit exposure.::: smartInteract from menticorp AG offers deep integration scenarios built on SAP XI and NetWeaver, including account and product master data management, unified customer views, and streamlined quote and order management.Three Paths to SAP IntegrationSalesforce.com provides five ways to integrate with other applications. Most SAP customers findthat three of those five ways solve theirintegration needs:::: Use the Force.com native connector. This productized integration from salesforce.com provides one of the most common integrations between SAP R/3 applications and Salesforce CRM: customer-master synchronization.::: Use an integration middleware Figure 2: The five ways to integrate with salesforce.com. solution. Force.com works with all major middleware solutions, including BEA, Cast Iron, IBM WebSphere, Informatica, Oracle Fusion Middleware, SAP NetWeaver, TIBCO, and many others. The Integration category on the Force.com AppExchange includes more than 40 certified middleware solutions, many with specific Salesforce CRM connectors.::: Use the Force.com API and a variety of innovative development tools to build the integrations you need. Salesforce.com provides toolkits for the most common programming languages— including Java, .NET, Ruby on Rails, and PHP—to give programmers the flexibility to build any integration.4 Integrating Salesforce.com Applications and SAP
  6. 6. WHITEPAPERForce.com Native ConnectorForce.com Connect for SAP is a productized integration that synchronizes customer data betweenSAP R/3 and Salesforce CRM. It is deployed on premise together with the SAP system. Theconnector, which maintains a cross-reference of synchronized objects in both systems, includesan administrative console for monitoring the flow of data and offers a flexible configurationmechanism for mapping and transforming data based on Extensible Stylesheet Language (XSL). Figure 3: Force.com Connect for SAP provides packaged SAP and salesforce.com integration.This native connector synchronizes Salesforce CRM account records with the customer recordsstored in SAP R/3. When changes occur on either end, the information automatically flows backand forth. The connector includes the most commonly used semantic transformations so thatall mappings from the Salesforce record structure to the SAP structure are available out of thebox. The connector keeps a cross reference of the records, which makes it easy to find an SAPR/3 customer record associated with a particular Salesforce customer or account. And with theadministrator console, you can observe the activity flowing through the connector.The native connector is a great fit for companies looking for a single-vendor solution that providesone of the most common integration needs: fast customer-master synchronization. Companieshave found that the native connector can be implemented quickly—in anywhere from a few daysto 2 or 3 weeks—to jump-start an integration process.Integration MiddlewareIntegration middleware is one of the most common integration approaches today. Most customersalready have one or more middleware solutions in house, which may include SAP NetWeaver oranother middleware platform such as BEA WebLogic, IBM WebSphere, Informatica, or TIBCO.The Force.com platform works with all major middleware solutions, with more than 80 certifiedsolutions available through the AppExchange. Middleware provides prebuilt connectivity toall major business applications, including those for SAP and salesforce.com. Many middlewaresolutions also provide packaged integration processes such as customer- and product-mastersynchronization or quote-to-order management.Integration middleware capabilities generally include functions for creating, sending, receiving, androuting structured and unstructured data; XML messages; inline translations; user interface (UI)development frameworks; event infrastructure; multichannel alerts; and support for long-runningtransactions. Most middleware solutions provide an environment that includes embedded logic,business rules, and approvals to orchestrate the flow of an application process across a set of Webservices. Recently, many middleware providers have begun providing cloud-based solutions.Integrating Salesforce.com Applications and SAP 5
  7. 7. WHITEPAPERThese solutions are often a fraction of the cost of traditional on-premise solutions and providerapid implementation and seamless upgrades of the SaaS model.Although there are hundreds of integration vendors, many SAP customers choose to explore theintegration options available within their SAP implementation. SAP has long recognized theneed for moving data between applications and has developed several generations of technologiesthat perform integration tasks. For SAP R/3 users, SAP’s iDocs technology can be used to passinformation back and forth using electronic data exchange (EDI) techniques, which predatedthe world of Web services. Programming with BAPIs and RFCs is another choice for creatingintegration with the SAP R/3 domain.SAP XI middleware made integration based on XML messages and Web services possible,particularly for complicated, high-volume, long-running integrations based on XML messages.In the past, SAP also incorporated functionality from Informatica and webMethods to assistin integration. SAP’s enterprise services are Web services that replace BAPIs and RFCs as theapproved way of accessing application data and functionality. However, even though enterpriseservices are the preferred method of communicating with SAP ERP, it is still possible to useBAPIs and RFCs as well.In addition, SAP offers several options for orchestrating the flow of an application across a set ofWeb services, including composite applications, guided procedures, and workflows. Of course, SAPNetWeaver Business Intelligence (BI), the data warehouse component of SAP NetWeaver, alsoplays an important role in data integration.Custom IntegrationsFrequently, companies decide that the best way to create an integration is to build it using in-housedevelopment tools, APIs, Web services, and mashups. These companies generally have developerswho are highly skilled in specific languages or development techniques as well as resources withintheir IT organizations that can be dedicated to the integration’s implementation and ongoingmaintenance.The Force.com platform supports all major development environments and tools—including J2EE,.NET, AJAX, Ruby on Rails, and PHP—for building custom integrations that interact directlywith data and functions that run on Force.com via the Force.com API. The equivalent accessmethod in the SAP R/3 world consists of BAPIs and RFCs, which are guaranteed to remain stablefrom version to version. Each BAPI provides access to an object inside the SAP application.SAP provides several technologies for custom development. The ABAP Workbench supportsprogramming in ABAP, SAP’s fourth-generation language, which can be used to develop for bothSAP R/3 and SAP ERP. SAP NetWeaver Developer Studio supports Java development, which canbe used to develop for SAP ERP and later. And the SAP NetWeaver Composition Environment(CE) lets developers build composite applications.However, you can also create integrations that run natively on the Force.com platform. Force.comApex Code, salesforce.com’s programming language, lets customers directly consume external Webservices that expose SAP data and/or functionality. They can also use Apex to create custom Webservices that can be consumed directly by SAP development environments. Freed from client-side considerations, developers can enable intelligent integrations with existing applications thatenforce business logic and rules such as data validation as part of complex business processes suchas inventory checking and order fulfillment. Such application integrations, which are 100 percentmultitenant and encapsulated to protect customer implementations against faulty code, will beautomatically upgraded.Mashups are an innovative and quick way to create custom integrations. Mashups providesynchronous presentation-layer integration that doesn’t require moving data into the Force.comdatabase. With mashups, SAP screens and views can be exposed within the salesforce.comapplication user interface as either custom links or Visualforce components. There are severalbenefits to mashups, including synchronous integration, rapid implementation, and the ability toexpose sensitive data to the user without storing it outside your firewall. Mashups often are used in6 Integrating Salesforce.com Applications and SAP
  8. 8. WHITEPAPERparallel with traditional data integration or middleware solutions to support reporting and analyticswithin salesforce.com applications.Choosing Your Integration’s ArchitectureThe three ways to integrate SAP and salesforce.com applications explain the high-level optionswhen you’re deciding how to source an integration. But that’s only part of the story. Because eachintegration solution can take place at different layers of an application—the presentation layer, theapplication layer, or the data layer—you also need to consider which technical layer makes sense foryour integration needs.Data-layer integrations are still the most common and most widely understood form of integration,especially among SAP customers familiar with SAP master and transactional data as well asits underlying structure. Application-layer integration has gained momentum in recent yearsas customers seek synchronous integration transactions facilitated by access to more modernapplication APIs, such as the SAP’s enterprise services. And presentation-layer integration, alsoknown as mashups or composite integration, is becoming increasingly popular due to its ease ofdeployment and rapid time to value. As SAP user interfaces have moved to the browser, displayingthem in other environments—such as a salesforce.com application user interfaces—has becomequite simple.Choosing the appropriate integration technology layer is an important decision that can affect thecost, speed, and overall performance of your integration. To understand which layer is right for you,it is important to know what options are provided by each vendor at each layer.Overview of SAP/Force.com Integration TechnologiesBoth SAP and Force.com provide integration technologies that make integration across the threetraditional application layers possible: Layer SAP Technologies Force.com Technologies Presentation layer • SAP Enterprise Portal • Mashups • AP NetWeaver Composition S Environment • UI screens based on WebDynpro Application layer • SAP APIs (RFCs and BAPIs) Force.com API • iDocs • Force.com Connect for SAP • nterprise services (SAP ERP and E • Certified Middleware later) • Force.com Callouts/SOA • ustom Web services created C • Force.com Data Loader with SAP NetWeaver • Real-Time Outbound Messaging Data layer Direct access to underlying database (not recommended by SAP)Presentation-Layer IntegrationIntegration at the presentation layer means displaying data from one application inside theuser interface of another. Such integrations started when portal technologies such as SAP’siViews (similar to portlets, which display data from various sources in a portion of the screen)made it possible to create new interfaces from data gathered from different applications. Now,presentation-layer integration is usually achieved by creating mashups that display data fromvarious sources, frequently by using some sort of UI widget framework.Mashups can use Web services to reach out and grab data from remote applications. Moreadvanced mashups can write data back to the remote application as well. Mashups can be insertedwherever needed to provide access to data. Mashups are gaining popularity because they makequick access to data from many sources possible. Displaying data is easier than moving largeamounts of data between applications and helps address certain compliance issues.Integrating Salesforce.com Applications and SAP 7
  9. 9. WHITEPAPERSAP Presentation-Layer CapabilitiesSAP UIs are not as open and configurableas those of Force.com, so developers usepresentation-layer integration less oftenthan application- or data-layer integration.However, SAP applications, includingSAP R/3 and SAP ERP, can participate inpresentation-layer integrations in three ways:::: The SAP Enterprise Portal, which can access data from BAPIs, through SAP enterprise services, can be used to access external data and combine it in a customized interface. Most SAP applications are based on the portal, which lets users customize their interfaces with iViews (portlets). The portal technologies, which SAP acquired through the Top Tier acquisition, can be used to create user interfaces for both SAP R/3 and SAP ERP. Figure 4: With mashups you can display SAP data in a::: Composite Applications (CE) can salesforce.com user interface. be used by SAP ERP users (only) to achieve integration. SAP CE can use a visual programming environment for creating UIs that incorporate Web services and data from various sources. Although these interfaces are implemented at runtime using SAP’s WebDynpro, they are much easier to create than programming them by hand in WebDynpro. One example of a composite application is Duet, an integration between the SAP Business Suite and Microsoft Office. ::: UI Customization is the most traditional way to create UI screens. This approach is based on WebDynpro, using SAP NetWeaver Developer Studio for Java or the ABAP Workbench for SAP’s ABAP language. Other UI techniques you can use include ASP, JSP, or SAP’s Business Server Pages (BSPs).To summarize: Java-based UI development is only available for SAP ERP customers, WebDynproworks with both SAP R/3 and SAP ERP, and BSPs work with SAP R/3 only. UIs created withany of these technologies can incorporate Force.com functionality by using Web services tocommunicate with the Force.com API. The SAP NetWeaver Web Application Server and SAPXI can be used to create Web services based on RFCs and BAPIs. For versions beginning withSAP ERP 2005, SAP offers a productized collection of prebuilt Web services that are stored andavailable in the Enterprise Services Repository and Registry.Force.com Presentation-Layer CapabilitiesMashups are a popular way to integrate salesforce.com applications with external applicationsor services. These presentation-layer integrations display external data within salesforce.comapplication screens, either as links or as custom buttons.Mashups can be used to create widgets that access data in other applications and plug it intosalesforce.com application screens. Most mashups are now created with Visualforce, a full-function UI development environment from salesforce.com. You can use Visualforce to tailor anapplication’s look-and-feel to any device and its behavior to specific logical patterns.With Visualforce, you can create mashups that access data from other applications or services—including SAP applications—and display it in salesforce.com application screens. This technique isparticularly useful if you want to provide access to data that is either too large or sensitive to storein the Force.com database. You can use mashups to check pricing, confirm product availability,check credit status, and many other such tasks by accessing SAP applications. For example, onesalesforce.com customer uses mashups to give sales reps access to each client’s financial trade data.8 Integrating Salesforce.com Applications and SAP
  10. 10. WHITEPAPERAlthough the client’s account balances and summary statements are integrated using traditionaldata integration techniques, individual trades can be viewed in a mashup from within SalesforceCRM, in real time.Application-Layer IntegrationApplication-layer integrations connect applications by using APIs. Instead of accessing thedata directly, APIs provide a layer of abstraction and a set of rules that govern how informationis presented and shared with external applications. Application integration has become muchmore common with Web services and the widespread support for SOAs. Most modern businessapplications, including those from both salesforce.com and SAP, now provide documented APIsto support such integrations. For example, the Force.com API is based on Web services, and SAPsupports Web services through its SAP NetWeaver middleware.Application-layer integrations often send and receive XML messages. Messages can be sent andreceived synchronously, meaning the sender waits for a response, or asynchronously, meaning thesender sends the message to one or more recipients and continues without a response. A middlewaresolution is often used to orchestrate the messaging traffic; however, middleware is not required.SAP Application-Layer CapabilitiesSAP R/3 and SAP ERP 2005 and later versions participate in application-layer integrations in thefollowing ways:::: SAP XI is the SAP NetWeaver integration broker. SAP XI lets developers create complex integrations based on XML messages. SAP XI, which can send and receive XML messages using Web services calls, includes facilities for creating adapters so applications can communicate with XML messages. XI can also route XML messages in complex ways, generate alerts and events, and perform actions based on message flow. These capabilities make XI useful in implementing long-running transactions.::: SAP APIs such as RFCs and BAPIs are the most common APIs for R/3 customers. RFCs provide the lowest-level access to SAP applications and let programmers communicate with the objects inside an SAP application. Each important part of an SAP application usually includes a set of associated RFCs. BAPIs are simply RFCs that are so important that SAP has agreed they will not change, so programmers don’t have to update their code frequently.::: iDocs are pre-XML integration documents used for EDI-style data exchange. iDocs are similar to XML messages in that they use a special-purpose format. Although some developers consider iDocs an old technology, thousands of successful integrations are based on iDocs. iDocs remain a powerful tool for integration, especially when iDoc messages have already been created and are ready to use.::: SAP also provides numerous enterprise services that expose SAP application functionality as Web services for SAP ERP and other SAP Business Suite applications. Enterprise services are not available for SAP R/3.::: SAP provides several ways to model and run business processes across multiple applications. Current modeling tools include the SAP Solution Manager, ARIS modeling, XI Process Composer, and Visual Composer.Force.com Application-Layer CapabilitiesAll integration with salesforce.com applications goes through the Force.com API. Severaltechnologies are designed to work together with the API to support different types of integration.The API provides complete access to a customer’s data, including both standard objects and anycustom objects created by the customer. All integration traffic with salesforce.com applicationscommunicates with the Force.com API as SOAP calls. Customers can generate a customer-specificWeb Services Definition Language (WSDL) from within the application. The WSDL defines thedata and metadata within a particular Salesforce customer or partner org.The Force.com API can be called from a wide variety of client-side languages, including Java,.NET, PHP, Ruby on Rails, and Perl. Most middleware solutions now offer salesforce.comapplication connectors that are certified with the Force.com API. As an application API, itIntegrating Salesforce.com Applications and SAP 9
  11. 11. WHITEPAPERautomatically enforces the application’s security and sharing rules and works with all major single-authentication solutions.Several additional integration capabilities are provided with the Force.com platform and worktogether with the Force.com API:::: Callouts let customers invoke any external Web service, including services made available by SAP applications.::: Custom Web services make it possible to create new Web services that can be invoked by external programs. Customers can create custom Web services with Force.com and expose them to the Web via the Force.com API.::: Real-time outbound messaging makes it possible to use Web services to send messages containing alerts and other notifications to applications and receive back messages acknowledging receipt. With real-time outbound messaging, Force.com can immediately alert external applications or services when an event occurs within a salesforce.com application. That event can proactively trigger a process flow, request information, or notify a key user.Data-Layer IntegrationData-layer integration generally refers to moving data back and forth between the databases of twoapplications, either in realtime or as a nightly batch.Because salesforce.comdoes not provide directaccess to the underlyingdatabase, all data-layerintegration goes throughthe Force.com API.Data-layer integrationbetween this API and acustomer’s on-premisedatabase is a common formof integration because it isboth well known andcost-effective.Although SAP customerscan access the underlyingdatabase within their SAP Figure 5: An example of data-layer mapping from the Force.com connector for SAP.implementation, SAP doesnot recommend this approach. As noted earlier, SAP provides access to business data via APIs.Therefore, data integration with both SAP and salesforce.com applications generally occurs at theapplication level. Common data-layer integration use cases include initial data migration, ongoingreplication, and data synchronization.With data-layer integration, data is moved either as a one-way flow or as a bidirectional flowin which changes made on either side update the other side. For example, many customers usedata-layer integration to move key SAP data—such as price lists, invoices, order status, or newaccounts—from the SAP R/3 system to a set of objects in Salesforce CRM to give customer-facing employees quick access to such information. Data quality checks are frequently part of suchintegrations to reduce data duplication and to enforce data standards against external formats.Common quality checks include zip codes, phones numbers, or addresses.10 Integrating Salesforce.com Applications and SAP
  12. 12. WHITEPAPERSAP Data-Layer CapabilitiesSAP does not provide direct access to its database; instead, data must be accessed usingRFCs, BAPIs, iDocs, or enterprise services. However, SAP does enable the replication andsynchronization of master data for data-layer integration in the following ways:::: SAP Business Information Warehouse (BI) includes a data warehouse that lets customers integrate data from multiple sources as well as online analytical processing (OLAP). SAP BI also provides reporting functionality. Its open hub services enable bulk data transfers and changes. With SAP BI, customers can move data from applications to data marts that can then send data back and forth between applications. SAP BI includes many adapters for both SAP and third-party applications. There is a thriving community of vendors that sell and support adapters for all sorts of applications, including those from salesforce.com.::: SAP Master Data Management (MDM) lets customers synchronize master data between various applications, often in concert with SAP XI. Customers can use SAP MDM to create a single central repository of data that can be broadcast to each application. As an alternative, one application can be the master repository and the other applications can be the slaves. Another option is to use SAP MDM to manage a back-and-forth conversation about any changes between two applications that share data; for example, to prevent data collisions where data is changed simultaneously in both applications.::: The SOA functionality of SAP NetWeaver provides additional ways for customers to change data using enterprise services. Because the creation of these services is a work in progress, SAP customers often find they still need to use RFCs, BAPIs, or Web services to create, update, or delete data elements in SAP.Force.com Data-Layer CapabilitiesThe Force.com platform offers several mechanisms to support data-layer integration with SAP.As with application integration, data is shared with external applications via the Force.com API.Salesforce.com provides a free, general-purpose data replication tool to support common dataintegration requirements and a native connector for synchronizing account data with SAP R/3.::: The Force.com Data Loader moves data in and out of salesforce.com applications in bulk. The Data Loader can handle millions of records and enforces rules for data quality. The Data Loader includes wizards and methods of storing maps for data formats as well as a command- line interface that can be used with scripting languages.::: Force.com Connect for SAP is the productized integration solution from salesforce.com for integrating customer-master information.The Semantics of Integration: Optimizing the End-to-End ProcessThe three ways of integrating with SAP and methods for integrating the various technology layersare primarily concerned with the form of the integration; that is, the mechanisms for movingdata and invoking application functionality. End-to-end process integration, which is aboutthe meaning of information, addresses the value applications can create by automating businessprocesses. Process integration can use any of the integration approaches and technologies toachieve its goals.For example, in many companies the initial data about a customer is gathered in Salesforce CRM by amarketing executive or telesales representative. The lead may come from Google AdWords or a directemail marketing campaign. As the lead progresses through the sales cycle, it becomes an accountwith an associated order. At this point, the customer information may need to flow from SalesforceCRM to SAP R/3 or SAP ERP so the order can be processed and the customer billed. Perhaps theorder information also must be transferred to a supply chain system for distribution, and order-statusinformation may flow back from SAP R/3 to the Salesforce CRM call center solution.In such cases, the end-to-end process is larger than the tasks performed by any single application.The goal of an integrated end-to-end process is to overcome the arbitrary boundaries of theapplications involved to put the needs of the people carrying out the business process first. In aIntegrating Salesforce.com Applications and SAP 11
  13. 13. WHITEPAPERsuccessful end-to-end process, every person at every step has the information he or she needs nomatter where the data resides and how it must be moved and transformed.Figure 6 shows the most common ways information flows back and forth between SalesforceCRM and SAP R/3 toachieve process integration.As Figure 6 illustrates, thedata flow in end-to-endprocess integrations goes inboth directions. Here area few ways that SAP andSalesforce CRM businessprocesses commonly worktogether:::: When a customer is created in Salesforce CRM, that customer can be added automatically to the customer-master data in SAP R/3, or vice versa. As updates are made Figure 6: Common process integrations between Salesforce CRM and SAP R/3. to customer records on either side, the changes are synchronized.::: Invoice or order history, as well as credit information from SAP or other sources, can be made available in Salesforce CRM either in real time or in batch mode.::: Orders can be created in Salesforce CRM with the assistance of available-to-promise checks and transferred to SAP R/3 for fulfillment. Changes to the orders in SAP R/3 may then be synchronized back to Salesforce CRM.::: Product catalogs and price books from SAP R/3 can be made available in Salesforce CRM to support the creation of a more complete order system or advanced product configuration.These are just a few of the information flows that support end-to-end CRM processes such asopportunity-to-order, order-to-cash, and procure-to-pay. The key to successfully creating suchintegrations is first to understand the needs of the people at each stage and then to choose theintegration mechanism best suited to the task.For example:::: When SAP information must be made available on a read-only basis in Salesforce CRM applications with minimal implementation time, mashups may be a good choice. The data can show up in Salesforce CRM through a mashup without actually having to be moved.::: Productized integrations such as Force.com Connect for SAP or Cast Iron can be used to enable the most common integration design patterns, with minimal risk and with room to scale.::: Salesforce CRM can be easily integrated using SAP’s NetWeaver middleware solution, where SAP XI acts as the traffic cop moving data between two, three, or more applications as needed to serve the needs of the end-to-end process.Whatever the needs of a specific business, it is likely that those needs can be met with one of themany integration options between salesforce.com and SAP.Customer ExamplesMany of salesforce.com’s customers have used the SAP and salesforce.com technologies discussedin this paper to successfully integrate their businesses. For the stories of 50 customers thatintegrated to a wide variety of business endpoints, including SAP ERP, see the book, Integration12 Integrating Salesforce.com Applications and SAP
  14. 14. WHITEPAPERSuccess on Demand with Salesforce.com. Below are some examples of customers that used integrationwith SAP R/3 to maximize their Salesforce CRM implementations.::: Analog Devices, which runs its back-end systems on SAP R/3, deployed Salesforce CRM to more than 800 users around the globe. The company integrated data from its SAP system, which serves as the master source of customer and product data, to simplify the process of creating and tracking new sales opportunities and eliminate duplicate data entry. To complete this implementation, the company used WebMethods for EAI integration middleware. Analog Devices now has a new level of visibility into its sales pipeline.::: KONE, a Finland-based provider of elevators and escalators, deployed Salesforce CRM to more than 2,000 users in 43 countries. Using the builder for the Force.com platform, the company integrated account and equipment data between Salesforce CRM and its SAP systems. The first phase included synchronizing information in the SAP system about customers, products, and contracts. The second phase included the systems for prospect tendering, order processing, and customer billing. Salesforce CRM integrates seamlessly with the company’s back office and scales to multiple time zones, geographies, and currencies.::: Magma Design Automation, developer of software for electronic design automation (EDA), uses Salesforce CRM solutions for SFA and customer support along with SAP as its back- office data solution. The company deployed Cast Iron Systems’ plug-and-play appliance for SAP and salesforce.com application integration from the Force.com AppExchange marketplace to link its back-office SAP data to data residing in Salesforce CRM. Magma now has far greater pipeline and business visibility.::: Sanofi Pasteur MSD, a U.K.-based specialist vaccines company, uses SAP for its back-office order management system. Using the builder for the Force.com platform, the company integrated SAP with Salesforce CRM. A nightly feed from SAP to Salesforce CRM means that sales data is always up to date and continuously available. When sales representatives need to order advance products (such as flu vaccines that must be requested months in advance), they simply click the Order tab in Salesforce CRM, which provides a direct link to the SAP order system. Orders are then automatically uploaded to the SAP system and Salesforce CRM simultaneously.SummarySAP’s collection of business applications—including SAP R/3 and the SAP Business Suite—havebeen adopted by thousands of companies around the world. Some of those companies rely on SAPfor every need and find substitutes only when SAP solutions fall short.Either by choice or because of mergers, however, many companies end up with a heterogeneousenvironment that includes applications from different vendors. The rise of Web services standardsand productized integrations makes running such a heterogeneous environment possible. Fora long time, SAP made the phrase “best of breed” sound like a dangerous choice. Now, thatperception is changing as companies realize integration is not as difficult or expensive as it oncewas and seek the best solutions.The good news for companies that use applications that run on the Force.com platform—orare considering bringing it into the mix—is that there are many integration approaches andtechnologies to choose from. Force.com was designed from the start to integrate with any Webservices–enabled application or solution. SAP has been rapidly service-enabling its products formore than 10 years.The Force.com API is both proven and easy to work with, supporting nearly 2 billion API callsper month. SAP customers can use salesforce.com’s native connector for SAP or native SAPintegration technologies such as SAP NetWeaver. Finally, more than 40 third-party middlewaresolutions from industry leaders are available on the Force.com AppExchange, including Cast Iron,Informatica, and Software AG (webMethods). All provide certified connectors to various versionsof SAP.Integrating Salesforce.com Applications and SAP 13
  15. 15. Whatever solutions you may already have and however your needs evolve, salesforce.com can work within your SAP environment. That means you can leverage your existing investments, unlock the data trapped in the back office, and make the most of all your applications without compromising performance, ease of use, or functionality.For More InformationContact your account executive to learnhow we can help you accelerate yourCRM success.Corporate Headquarters Latin America Japan Asia/Pacific Europe, Middle East AfricaThe Landmark @ One Market +1-415-536-4606 +81-3-5785-8201 +65-6302-5700 +4121-6953700Suite 300San Francisco, CA, 94105United States1-800-NO-SOFTWAREwww.salesforce.com Copyright ©2008, salesforce.com, inc. All rights reserved. Salesforce.com and the “no software” logo are registered trademarks of salesforce.com, inc., and salesforce.com owns other registered and unregistered trademarks. Other names used herein may be trademarks of their respective owners. WP_SAPIntegration_110708

×