BW Web Service

download BW Web Service

of 90

Transcript of BW Web Service

  • 8/6/2019 BW Web Service

    1/90

    SAP Net Weaver :Customer

    Conferenc e Cal lSAP NetWeaver Product Management

  • 8/6/2019 BW Web Service

    2/90

    SAP AG 2005, Title of Presentation / Speaker Name / 2

    Agenda

    Welcome and thanks for joining our call!

    Events update

    Topic of the Day:

    Web Services within SAP NetWeaver 2004s BI - Create,Discover, and Consume!

    Prakash Darji

    SAP NetWeaver RIG, SAP Labs, LLC

    Questions

    Customer issues/feedback

  • 8/6/2019 BW Web Service

    3/90

    SAP and ASUG once again team up to enhancethe SAP TechEd attendee experience.

    SAP TechEd 06 September 12 - 15

    The Venetian Congress Center

    Las Vegas

    Register today at www.sapteched.com/usa

    SAP Tec hEd and ASUG: Part ners i n Educ at ion

  • 8/6/2019 BW Web Service

    4/90

    ASUG Education Select from over 100 hours of focused educational content driven by SAP

    customers.

    Gain practical and technical know-how, real-world tips and techniques

    from fellow SAP users.

    ASUG Influence Shape the future of SAP product development and provide input on existing SAP solutions.

    ASUG Networking Join ASUG in the SDN Clubhouse to exchange ideas and best practices with fellow users and discuss hot topics affecting the industry.

    SAP Tec hEd and ASUG: Part ners in Educ at ionSAP TechEd 06 September 12 - 15 Las Vegas

    Vis i t www.sap teched .com/usa t o regis te r t oday!

  • 8/6/2019 BW Web Service

    5/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

  • 8/6/2019 BW Web Service

    6/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

  • 8/6/2019 BW Web Service

    7/90

    SAP AG 2005, Title of Presentation / Speaker Name / 7

    Learn ing Objec t ives

    The following questions will be answered:

    What are web services?

    How do you create web services?

    How do you consume web services?

    Why you should use web services?

    You will learn about web services within SAP NetWeaver 2004sBI

  • 8/6/2019 BW Web Service

    8/90

    SAP AG 2005, Title of Presentation / Speaker Name / 8

    SAP Business Ex plore r Sui t e

    SAP Business Explorer Suite (BEx)

    BEx Query Designer

    BEx Broadcaster

    BEx Web

    Analyzer

    BEx Web

    Application

    Designer

    MS Excel

    Add-in

    BEx

    Report

    Designer

    BEx Web BEx Analyzer

    BI Pattern

    SAP NetWeaver

    BI Info Provider3rd Party BI

    BI Consumer Services

    SAP NetWeaver

    Portal

  • 8/6/2019 BW Web Service

    9/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

  • 8/6/2019 BW Web Service

    10/90

    SAP AG 2005, Title of Presentation / Speaker Name / 10

    Web Serv ic es Def in i t ion

    Web services are

    Self-contained, self-describing, modular application functionalities

    Once deployed, applications and other Web services can bediscoveredanddirectly invokedviaservice requestsbased onopen standardsfor system interaction, independentof

    technical architecture

    What are Web services?

  • 8/6/2019 BW Web Service

    11/90

    SAP AG 2005, Title of Presentation / Speaker Name / 11

    Web Serv ic es and SAP BI Why Should You Care?

    Simply put, Web services enable SAP BI to expand itsfootprint and impact on your organization

    Areas where benefits occur:

    1. Extending use of SAP BIs integrated data beyond traditional users

    Leveraging existing developments and your data

    Integrating your data warehouse into your application infrastructure

    Increasing the value of your data warehouse deployments

    2. Provision of SAP BI features to other components and applications

    Facilitating easier access to data

    Enriching the developers toolkit

    Providing flexibility to developers

    What do Web services do for SAP BI?

  • 8/6/2019 BW Web Service

    12/90

    SAP AG 2005, Title of Presentation / Speaker Name / 12

    Web Serv ic es and SAP BI Why Should You Care?

  • 8/6/2019 BW Web Service

    13/90

    SAP AG 2005, Title of Presentation / Speaker Name / 13

    Serv ic e-Or ient ed Arc hi t ec t ure (SOA) Def in i t ion

  • 8/6/2019 BW Web Service

    14/90

    SAP AG 2005, Title of Presentation / Speaker Name / 14

    Ent erpr ise Serv ic es and Com posi t e Appl icat ionDef in i t ions

  • 8/6/2019 BW Web Service

    15/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

  • 8/6/2019 BW Web Service

    16/90

    SAP AG 2005, Title of Presentation / Speaker Name / 16

    Opt ions for Consuming BI Dat a w i t h Web Serv ic es

    There are 2 primary web services for consuming BI Data:

    1. XML for Analysis (XMLA)

    2. XML Query Result Set (query_view_data)

    Within BI, you can use web services to load BI data or consumeBI Data. In this discussion, we are going to discuss consuming

    BI Data.

  • 8/6/2019 BW Web Service

    17/90

    SAP AG 2005, Title of Presentation / Speaker Name / 17

    XMLA Mot iva t ion

    XML for Analysis (XMLA)

    Connection to third-party, front-end tools

    Development of customer-specific front-end tool, which passes XML-

    packaged Multi-Dimensional eXpressions (MDX) statements on to

    SAP BI and requests XML-formatted results

    Data interchange with other subsidiaries/companies/dashboards/etc.

    Implementation

    An ICF service is delivered pre-configured

    1:n Web Service to query ratio

    One service for all queries!

    MDX necessary for query processing for navigation step

    Web service uses existing SAP BI authorizations of specified user

  • 8/6/2019 BW Web Service

    18/90

    SAP AG 2005, Title of Presentation / Speaker Name / 18

    OLE DB for OLAP

    based on COM as

    protocol

    driver installation on

    clientsWindows platform only

    MDX as query language

    available since BW 1.2B

    OLAP BAPIs

    Business Application

    Programming interface

    based on RFC as

    protocol access library available

    on any SAP platform

    MDX as query language

    available since BW 2.0A

    XML for Analysis

    based on XML as

    exchange format

    based on HTTP/SOAP

    as protocol any platform

    MDX as query language

    available since BW 3.0A

    SAP BI Open Analysis I n t er fac es

  • 8/6/2019 BW Web Service

    19/90

    SAP AG 2005, Title of Presentation / Speaker Name / 19

    XML for Analys is (XMLA)

  • 8/6/2019 BW Web Service

    20/90

    SAP AG 2005, Title of Presentation / Speaker Name / 20

    XMLA Business Sc enar ios

    Beyond E-commerce, there is an even greater need to share information.

    Add value to your offering by providing self-service access.

    An electric utility

    company

    exposes its BI platform, socommercial and industrialcustomers can betterunderstand their powerconsumption and relatedcosts.

    A financial services

    company

    provides BI Web services, soauditors and regulators havean appropriate level ofvisibility into the company's

    dealings.

    A brokerage firmsupports BI Web services so

    institutional investors cananalyze (in amultidimensional way) theperformance of financialinstruments executedthrough the brokerage.

    Just-in-Time Inventory Consumer provides to a Supplier just-in-time

    inventory data reports exposed as Webservices.

    Metrics represented in the reports alert aboutlow inventory.

    The reports are interactive, so you drill into

    historic data, comparing today's fluctuation instock levels with corresponding days in otherweeks or months.

    Market/Environment data Nielsen and others offer their services in the

    yellow pages.

    Integration and consumption of such databecomes much easier without requiring a veryclose business relationship with such serviceproviders.

  • 8/6/2019 BW Web Service

    21/90

    SAP AG 2005, Title of Presentation / Speaker Name / 21

    XML for AnalysisProvider

    Implementation

    Client

    UI

    Clientfunctions

    Discover,Execute

    Calls

    XMLA Arch i t ec t u re

    Internet

    Or LAN

    Internet

    Or LAN Discover,

    ExecuteCall Server

    SO

    A

    P

    SO

    A

    P

    HT

    T

    P

    HT

    T

    P

    Discover

    Execute

    Data

    Any client (Windows, Linux,

    Macintosh) at any location

    Any server (Solaris, Linux,

    Windows) at any location

  • 8/6/2019 BW Web Service

    22/90

    SAP AG 2005, Title of Presentation / Speaker Name / 22

    1.1 XMLA Set up and Conf igurat ion

    Go to transaction SICF and choose execute to display all services

  • 8/6/2019 BW Web Service

    23/90

    SAP AG 2005, Title of Presentation / Speaker Name / 23

    1.2 XMLA Set up and Conf igurat ion

    Navigate to default_host/sap/bw/xml/soap/xmla and activate andtest the service

  • 8/6/2019 BW Web Service

    24/90

    SAP AG 2005, Title of Presentation / Speaker Name / 24

    1.3 XMLA Set up and Conf igurat ion

    Logon to the WebAS and ensure that the test succeeded (youshould see the WSDL file and have the path for this now!)

  • 8/6/2019 BW Web Service

    25/90

    SAP AG 2005, Title of Presentation / Speaker Name / 25

    XML Query Resu l t Set - Mot iva t ion

    XML query result set Simple access to query results as XML list output

    Development of customer-specific, front-end application reading SAP BI data

    Data interchange with other subsidiaries/companies/dashboards/etc.

    Implementation

    An ICF service must be created

    1:n Web Service to query ratio

    One service for all queries!

    No additional MDX necessary (only XMLA requires this), therefore no slicing-and-dicing navigation directly possible without Web API

    Simple input parameters: InfoProvider, Query or Query View, filters, setting anavigation status, etc.

    Support for WEB API commands available. Variables, Variants, or Filter Valueswould be specified via WEB API commands.

    Web Service uses existing SAP BI authorizations of specified user

  • 8/6/2019 BW Web Service

    26/90

    SAP AG 2005, Title of Presentation / Speaker Name / 26

    2.1 XML Query Resul t Set Set up and Conf igurat ion

    Go to SICF and activate this web service:/sap/bc/srt/rfc/sap/QUERY_VIEW_DATA

  • 8/6/2019 BW Web Service

    27/90

    SAP AG 2005, Title of Presentation / Speaker Name / 27

    2.2 XML Query Resul t Set Set up and Conf igurat ion

    Go to transaction WSCONFIG and enter service destinationQUERY_VIEW_DATA and enter variant query_view_data

    and hit enter. Currently, there are no released services so

    create a new service.

  • 8/6/2019 BW Web Service

    28/90

    SAP AG 2005, Title of Presentation / Speaker Name / 28

    2.3 XML Query Resul t Set Set up and Conf igurat ion

    Choose Save to release this web service.

  • 8/6/2019 BW Web Service

    29/90

    SAP AG 2005, Title of Presentation / Speaker Name / 29

    2.4 XML Query Resul t Set Set up and Conf igurat ion

    Choose ICF Details -> External Aliases

  • 8/6/2019 BW Web Service

    30/90

    SAP AG 2005, Title of Presentation / Speaker Name / 30

    2.5 XML Query Resul t Set Set up and Conf igurat ion

    Choose New to createa new external alias.

    Enter external alias

    /sap/bw/xml/soap/queryview

    and enter description

    SAP BI Web Service XML Result Set

  • 8/6/2019 BW Web Service

    31/90

    SAP AG 2005, Title of Presentation / Speaker Name / 31

    2.6 XML Query Resul t Set Set up and Conf igurat ion

    Specify your security and user ID on the Logon data tab.

  • 8/6/2019 BW Web Service

    32/90

    SAP AG 2005, Title of Presentation / Speaker Name / 32

    2.7 XML Query Resul t Set Set up and Conf igurat ion

    Specify /sap/bc/srt/rfc/sap/QUERY_VIEW_DATA under the TrgElement tab.

  • 8/6/2019 BW Web Service

    33/90

    SAP AG 2005, Title of Presentation / Speaker Name / 33

    2.8 XML Query Resul t Set Set up and Conf igurat ion

    Save your external alias.

  • 8/6/2019 BW Web Service

    34/90

    SAP AG 2005, Title of Presentation / Speaker Name / 34

    2.9 XML Query Resul t Set Set up and Conf igurat ion

    Go to transaction WSADMINGo to -> Administration Settings

    Ensure that the path to your J2EE is specified here and save this.

    2 10 XML Q R l S S d C f i i

  • 8/6/2019 BW Web Service

    35/90

    SAP AG 2005, Title of Presentation / Speaker Name / 35

    2.10 XML Query Resul t Set Set up and Conf igurat ion

    Find your web service and choose the Web service homepage

    2 11 XML Q R lt S t S t d C f i t i

  • 8/6/2019 BW Web Service

    36/90

    SAP AG 2005, Title of Presentation / Speaker Name / 36

    2.11 XML Query Resul t Set Set up and Conf igurat ion

    Login to your ABAP system from the Web Service Navigator

    2 12 XML Q R lt S t S t d C f i t i

  • 8/6/2019 BW Web Service

    37/90

    SAP AG 2005, Title of Presentation / Speaker Name / 37

    2.12 XML Query Resul t Set Set up and Conf igurat ion

    Choose Test -> GetQueryViewData to test this service.

    2 13 XML Query Resul t Set Set up and Conf igurat ion

  • 8/6/2019 BW Web Service

    38/90

    SAP AG 2005, Title of Presentation / Speaker Name / 38

    2.13 XML Query Resul t Set Set up and Conf igurat ion

    Enter and Infoprovider and Query and send the request to testthis web service.

    Note: Variables arent possible with this web service, so make

    sure the query you use a query without variables for this test.

    2 14 XML Query Resul t Set Set up and Conf igurat ion

  • 8/6/2019 BW Web Service

    39/90

    SAP AG 2005, Title of Presentation / Speaker Name / 39

    2.14 XML Query Resul t Set Set up and Conf igurat ion

    Ensure the request and response are successful.

    2 15 XML Query Resul t Set Set up and Conf igurat ion

  • 8/6/2019 BW Web Service

    40/90

    SAP AG 2005, Title of Presentation / Speaker Name / 40

    2.15 XML Query Resul t Set Set up and Conf igurat ion

    If you have issues, make sure you activate your Web Serviceand Interface in SE80

    2 16 XML Query Resul t Set Ex am ple of Fi l t e r Values

  • 8/6/2019 BW Web Service

    41/90

    SAP AG 2005, Title of Presentation / Speaker Name / 41

    2.16 XML Query Resul t Set Ex am ple o f Fi l t e r Va lues

    Here is an example of how to pass parameters for filter valuesusing WEB API commands. We are passing the

    FILTER_IOBJNM=0D_CHANNEL and FILTER_VALUE=3.

    2 17 XML Query Resul t Set Ex ample of Var iab le Values

  • 8/6/2019 BW Web Service

    42/90

    SAP AG 2005, Title of Presentation / Speaker Name / 42

    2.17 XML Query Resul t Set Ex ample o f Var iab le Values

    Here is an example of how to pass parameters for variablevalues using WEB API commands. In this case, we are using a

    selection option variable. We are passing the following

    parameters:

    VAR_NAME_1=DISTGOP

    VAR_OPERATOR_1=EQVAR_VALUE_LOW_EXT_1=3

    VAR_VALUE_HIGH_EXT_1=5

    Com par ing BI Web Serv ic es

  • 8/6/2019 BW Web Service

    43/90

    SAP AG 2005, Title of Presentation / Speaker Name / 43

    Com par ing BI Web Serv ic es

    BI Web Serv ice Com par ison

    XMLA QUERY_VIEW_DATA

    Conf igurat ion

    Main tenance

    An ICF serv ice is del ivere d

    pre-conf igured

    An ICF Serv ice m ust

    be c rea ted

    1:n Rat io 1 w eb serv i ce

    for a l l quer ies

    1 :n Rat io 1 w eb serv i ce

    for a l l quer ies

    CodingMDX Necessa ry for query

    process ing

    No addi t iona l MDX

    necessary

    Nav igat ionQuery Navigat ion St eps

    Possible v ia MDX

    Query Navigat ion St eps

    Possible v i a Web API

    Author izat ionsUses ex is t ing SAP BI

    Author izat ions

    Uses ex is t ing SAP BI

    Author izat ions

    St andards Mic rosof t s XMLA st andard SAP Propr ie t ary Form at

  • 8/6/2019 BW Web Service

    44/90

    Introduction

    Overview of Web Services and StandardsSAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.

    Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

    BAPIs?

  • 8/6/2019 BW Web Service

    45/90

    SAP AG 2005, Title of Presentation / Speaker Name / 45

    BAPI s?

    Common BAPIs you may want to use:

    1. BAPI to write to transactional cube2. BAPI to read and write BI documents on master data and

    transactional data

    3. BAPI to pull a report list

    You can create BAPIs to interact with your BI System.

    Creat ing Web Servi c es for BAPIs

  • 8/6/2019 BW Web Service

    46/90

    SAP AG 2005, Title of Presentation / Speaker Name / 46

    g

    Procedure:

    1. Create or identify Function Group

    2. Create RFC Enabled Function Module in ABAP System in your

    function group

    3. Create Web Service for the Function Group

    4. Test the Web Service

    Wrapping BAPIs in web services allow greater extensibility andflexibility

    1. Creat e or Ident i fy Func t ion Groups

  • 8/6/2019 BW Web Service

    47/90

    SAP AG 2005, Title of Presentation / Speaker Name / 47

    y p

    Go to transaction SE80 and choose or create a function group

    2. Creat e RFC enabled Func t ion Modules in your func t iongroup

  • 8/6/2019 BW Web Service

    48/90

    SAP AG 2005, Title of Presentation / Speaker Name / 48

    group

    Go to transaction SE80 and choose or create a function group

    3.1 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    49/90

    SAP AG 2005, Title of Presentation / Speaker Name / 49

    Right click on the Function Group and choose Create -> WebService

    3.2 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    50/90

    SAP AG 2005, Title of Presentation / Speaker Name / 50

    Choose Continue to start creating the web service with thewizard

    3.3 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    51/90

    SAP AG 2005, Title of Presentation / Speaker Name / 51

    Give your web service a technical name and description

    3.4 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    52/90

    SAP AG 2005, Title of Presentation / Speaker Name / 52

    Choose continue to use the function group youve defined

    3.5 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    53/90

    SAP AG 2005, Title of Presentation / Speaker Name / 53

    Choose all the function modules you want available in this

    WSDL definition and choose Continue.

    3.6 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    54/90

    SAP AG 2005, Title of Presentation / Speaker Name / 54

    Choose your authentication and release the service for runtime

    3.7 Creat e Web Serv ic e for your func t ion group

  • 8/6/2019 BW Web Service

    55/90

    SAP AG 2005, Title of Presentation / Speaker Name / 55

    Choose complete to create the web service!

    4.1 Test ing your w eb servic e

  • 8/6/2019 BW Web Service

    56/90

    SAP AG 2005, Title of Presentation / Speaker Name / 56

    Go to transaction WSADMIN

    Go to -> Administration Settings

    Ensure that the path to your J2EE is specified here and save this.

    4.2 Test ing your w eb servic e

  • 8/6/2019 BW Web Service

    57/90

    SAP AG 2005, Title of Presentation / Speaker Name / 57

    Find your web service and choose the Web service homepage

    4.3 Test ing your w eb servic e

  • 8/6/2019 BW Web Service

    58/90

    SAP AG 2005, Title of Presentation / Speaker Name / 58

    Login to your ABAP system from the Web Service Navigator

    4.4 Test ing your w eb servic e

  • 8/6/2019 BW Web Service

    59/90

    SAP AG 2005, Title of Presentation / Speaker Name / 59

    Choose your BAPI to test from this web service definition

    4.5 Ent er paramet ers and ensure suc c essfu l response

  • 8/6/2019 BW Web Service

    60/90

    SAP AG 2005, Title of Presentation / Speaker Name / 60

    Enter parameters and submit the request and ensure you have a

    successful HTTP response

  • 8/6/2019 BW Web Service

    61/90

    Introduction

    Overview of Web Services and StandardsSAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.

    Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

    Consuming BI Dat a in Appl icat ions

  • 8/6/2019 BW Web Service

    62/90

    SAP AG 2005, Title of Presentation / Speaker Name / 62

    In this section, well consume the BI Web Services with these

    tools:

    1. Visual Composer SAP Modeling Tool to build xApps

    Consume BI Data via XMLA web service

    Consume BI Data via query_view_data web service

    Consume BI Data via direct Web API Connection

    2. XML for Analysis Tool Standalone application to consume

    xmla web service

    Consumer BI Data via XMLA web service

    There are many applications that can consume web services.

    Consum ing BI Dat a v ia XMLA w i t h V isua l Com poser

  • 8/6/2019 BW Web Service

    63/90

    SAP AG 2005, Title of Presentation / Speaker Name / 63

    For Visual Composer to connect to an XMLA connection, this

    XMLA web service needs to be mapped as a system on the

    SAP NetWeaver Portal.

    Visual Composer can connect to multiple applications and web

    services

    MDXTEST

  • 8/6/2019 BW Web Service

    64/90

    SAP AG 2005, Title of Presentation / Speaker Name / 64

    Transaction MDXTEST allows you to test your MDX Statements!

    1.1 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    65/90

    SAP AG 2005, Title of Presentation / Speaker Name / 65

    Login to the NetWeaver Portal

    and create a new system from the PAR

    Choose

    com.sap.portal.systems.bi

    1.2 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    66/90

    SAP AG 2005, Title of Presentation / Speaker Name / 66

    Choose

    the SAP_BI_XMLA

    system

    Specify the system name

    1.3 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    67/90

    SAP AG 2005, Title of Presentation / Speaker Name / 67

    Create the BI XMLA System within the Portal

    Specify the connection properties, user

    management, and System Alias.

    1.4 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    68/90

    SAP AG 2005, Title of Presentation / Speaker Name / 68

    Test the Connection

    1. Navigate back to the

    System Config area.

    2. Choose the BI XMLASystem created

    3. Navigate to the

    Connection Tests area

    4. Choose the Test

    Button

    5. You are done!

    1.5 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    69/90

    SAP AG 2005, Title of Presentation / Speaker Name / 69

    Verify Data is being retrieved1. Login to the Visual Composer Storyboard

    2. Execute the BI Content Wizard and select the

    XMLA system created.

    3. Choose a Template

    4. Configure the template with your desired

    settings

    5. Choose Finish

    1.6 Set up - Consuming BI Dat a v ia XMLA w i t h V isua lComposer

  • 8/6/2019 BW Web Service

    70/90

    SAP AG 2005, Title of Presentation / Speaker Name / 70

    Verify Data is being retrieved6. Execute the Generate Flash

    Button

    7. Deploy the iView

    8. Verify Data was retrieved.

    2.1 Connec t ion w i t h in 3 rd Part y Tool

    In this example we will use the XML for Analysis Tool that is

  • 8/6/2019 BW Web Service

    71/90

    SAP AG 2005, Title of Presentation / Speaker Name / 71

    In this example, we will use the XML for Analysis Tool that is

    free on SDN to demonstrate consuming BI Data via a web

    service with a 3rd party tool

    2.2 Connec t ion w i t h in 3 rd Part y Tool

    Here is an example of a 3rd Party Javascript/HTML application

  • 8/6/2019 BW Web Service

    72/90

    SAP AG 2005, Title of Presentation / Speaker Name / 72

    Here is an example of a 3rd Party Javascript/HTML application

    that consumes BI data through the xmla web service.

    2.3 Connec t ion w i t h in 3 rd Part y Tool

    Sample tool is available on SDN!

  • 8/6/2019 BW Web Service

    73/90

    SAP AG 2005, Title of Presentation / Speaker Name / 73

    Sample tool is available on SDN!

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/li

    brary/downloads/tools/XML%20for%20Analysis%20Client%20Sample%20Do

    wnload.abst

  • 8/6/2019 BW Web Service

    74/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.

    Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

    Consum ing BI BAPI based Web Serv ic e

    Within Visual Composer you can consume your custom web

  • 8/6/2019 BW Web Service

    75/90

    SAP AG 2005, Title of Presentation / Speaker Name / 75

    Within Visual Composer, you can consume your custom web

    services as well (see section on building web services offBAPIs)!!!

    Steps:

    1. Create Web Service in source system (BI or ERP)

    See section on creating these web services (earlier in this

    presentation)

    2. Map Web Service Destination on the SAP NetWeaver Portal

    3. Use Web Service in Visual Composer Model!

    2.1 Creat e Web Serv ic e Syst em on SAP Net WeaverPorta l

    Create New System (from Template)

  • 8/6/2019 BW Web Service

    76/90

    SAP AG 2005, Title of Presentation / Speaker Name / 76

    Create New System (from Template)

    Choose Web Service System using

    WSDL URL

    2.2 Creat e Web Serv ic e Syst em on SAP Net WeaverPorta l

    Name your system

  • 8/6/2019 BW Web Service

    77/90

    SAP AG 2005, Title of Presentation / Speaker Name / 77

    Name your system

    Set your WSDL Destination for your custom web service

    2.3 Creat e Web Serv ic e Syst em on SAP Net WeaverPorta l

    Set your user

  • 8/6/2019 BW Web Service

    78/90

    SAP AG 2005, Title of Presentation / Speaker Name / 78

    y

    Management

    Create and save a system alias for your system

    2.4 Creat e Web Serv ic e Syst em on SAP Net WeaverPorta l

    Test and ensure successful connection!!!

  • 8/6/2019 BW Web Service

    79/90

    SAP AG 2005, Title of Presentation / Speaker Name / 79

    2.5 Creat e Web Serv ic e Syst em on SAP Net WeaverPorta l

    Use your web service system within VC!!!

  • 8/6/2019 BW Web Service

    80/90

    SAP AG 2005, Title of Presentation / Speaker Name / 80

    y y

  • 8/6/2019 BW Web Service

    81/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.

    Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

    BPX Model ing w it h in E-SOA

    See this BLOG on SDN:

  • 8/6/2019 BW Web Service

    82/90

    SAP AG 2005, Title of Presentation / Speaker Name / 82

    https://weblogs.sdn.sap.com/pub/wlg/3933

    This BLOG discusses looking at consuming multiple services!

    1. Service from freight vendors that are available

    2. Service for Mileage

    Google Maps Mappoint

    3. Service from SAP NetWeaver Master Data Management

    Master data for your customers

    Shipfrom and Shipto Cities4. Services for BI/ERP Data

    Transactions from SAP R/3 Transactions from SAP NetWeaver BI

  • 8/6/2019 BW Web Service

    83/90

    Introduction

    Overview of Web Services and Standards

    SAP BI Web Service for Queries

    Creating BI Web Services for BAPIs

    Consuming Other Web Services within Applic.

    Consuming BI Web Services within Applications

    Service Oriented Architecture Scenarios

    Summary

    Summary

    You should know

  • 8/6/2019 BW Web Service

    84/90

    SAP AG 2005, Title of Presentation / Speaker Name / 84

    What are web services?

    Self-contained, self-describing, modular application functionalities, oncedeployed, applications and other Web services can be discovered and

    directly invoked via service requests based on open standards for systeminteraction, independent of technical architecture

    How do you create web services within BI?

    Build Web Services from RFC Enabled Function Modules

    How do you consume SAP Delivered BI web services? XMLA

    QUERY_VIEW_DATA

    Why you should use web services?

    E-SOA

    Summ ary Add i t iona l In fo rmat ion

    Common Links

  • 8/6/2019 BW Web Service

    85/90

    SAP AG 2005, Title of Presentation / Speaker Name / 85

    Online Help:

    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542

    e10000000a1550b0/frameset.htm

    Example of JAVA Based Web Service: http://help.sap.com/saphelp_nw04/helpdata/en/81/12703e5da3e94

    6e10000000a114084/frameset.htm

    Example of ABAP Based Web Service:

    http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4

    d92b2fe7935556b4c/frameset.htm

    Consuming a Web Service via a BSP

    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012

    BLOG Series on Web Services by Scott Cairncross

    https://weblogs.sdn.sap.com/pub/wlg/4174

  • 8/6/2019 BW Web Service

    86/90

    Appendix

    Sourc e Code for Sam ple appl ic at ion

    Heres a simple MDX tool I put together based off the XML

    A l i l

  • 8/6/2019 BW Web Service

    87/90

    SAP AG 2005, Title of Presentation / Speaker Name / 87

    Simple MDX Tool

    Analysis example

    Do You Have Ot her

  • 8/6/2019 BW Web Service

    88/90

    SAP AG 2005, Title of Presentation / Speaker Name / 88

    - Ques t i ons- Issues- Feedback

    Next Ca l l

    Pl j i i

  • 8/6/2019 BW Web Service

    89/90

    SAP AG 2005, Title of Presentation / Speaker Name / 89

    Please join us again onAugust 31, 2006 at 11 AM EST.

    We will continue our Web Services

    series of webinars with:

    Consuming a BI Web Service viathe Portal

    As always, a replay of this call and

    the presentation material will be

    available at

    http://service.sap.com/nw-cc in a few

    days.

    Also, we will request a few momentsof your time to fill out a survey. Your

    input is invaluable!Universal Data Integration

  • 8/6/2019 BW Web Service

    90/90