WDJ - Application to execute MDX query using the BI Java SDK

Size: px
Start display at page:

Download "WDJ - Application to execute MDX query using the BI Java SDK"

Transcription

1 WDJ - Application to execute MDX query using the BI Java SDK Applies to: This document and the presented code example rely upon SAP NWDS v (Web Dynpro Java), SAP WAS 6.40 SP16, BI Java SDK SP15, BW 3.5. Summary This document provides detailed instructions on how to use the BI Java SDK and its BI Java Connectors in a Web Dynpro Application. It contains step-by-step instructions for adding the required library references required to use the BI Java SDK, and for establishing a connection using the BI XMLA Connector in the Web Dynpro and J2EE environment (Managed environment of the J2EE Server). Author(s): Ashwin Bhat Company: L&T Infotech, Mumbai, India Created on: 16 March 2007 Author Bio Ashwin Bhat is a SAP technical consultant working with L&T Infotech, Mumbai, India. His SAP experience of over 2 and a half years spans various technologies such as BW, ABAP and Web Dynpro for Java SAP AG 1

2 Table of Contents Applies to:... 1 Summary... 1 Author Bio... 1 Introduction... 3 How to develop a Web Dynpro Application for use in a managed enviornment... 5 Pre-Requisites:... 5 Step by Step Solution... 6 Prepare the System... 6 Create the Web Dynpro Application... 9 Add the BI Java SDK libraries for compilation: Add the library reference Add the sharing reference Application Layout and Implementation Related Content Disclaimer and Liability Notice SAP AG 2

3 Introduction This document provides detailed instructions on how to use the BI Java SDK and its BI Java Connectors in a Web Dynpro Application. It contains step-by-step instructions for adding the required library references required to use the BI Java SDK, and for establishing a connection using one of the BI Java Connectors (BI XMLA Connector) in the Web Dynpro and J2EE environment (Managed environment of the J2EE Server). This Web Dynpro application can be used to execute MDX queries against the SAP BW System. BI Java SDK 1 With the BI Java SDK, you can build analytical applications that access, manipulate, and display both multidimensional (Online Analytical Processing, or OLAP) and tabular (relational) data. The BI Java SDK consists of a Java application programming interface (API) in Java class libraries, documentation, and examples. The applications you create can access, manipulate, and display OLAP and relational data from diverse data sources. BI Java Connectors 2 The BI Java Connectors are a group of four JCA (J2EE Connector Architecture)-compliant resource adapters that implement the BI Java SDK's APIs and allow you to connect the applications you build with the SDK to heterogeneous data sources. They may be deployed onto SAP NetWeaver's J2EE Web Application Server. The BI Java SDK contains the JAR files you need to develop applications using any of the BI Java Connectors and to use them in an unmanaged scenario, but to use your application with a data source in the managed environment of the J2EE server, you need to deploy the appropriate BI Java Connector onto your WAS. Four connectors are available: BI JDBC Connector, for connecting to relational JDBC data sources. Implements the SDK s relational APIs. BI ODBO Connector, for connecting to OLE DB for OLAP-compliant data sources. Implements the SDK s OLAP APIs BI SAP Query Connector, for connecting to data from SAP operational applications. Implements the SDK s relational APIs. BI XMLA Connector, for connecting to XMLA-compliant data providers such as SAP s BW. Implements the SDK s OLAP APIs. To learn more about the BI Java Connectors refer to the following link. BI Java Connectors 2007 SAP AG 3

4 MDX Query MDX (multi-dimensional expressions) is a language developed by Microsoft for queries using multidimensional data. MDX is to OLAP as SQL is to relational databases. Visit the following weblog on SDN for more information on MDX Queries. Quick help in creating MDX statement The transaction MDXTEST in the BW system can be used to generate/execute MDX queries against a data source. Note: Parts of this document have been compiled using the following sources: BI Java SDK Documentation Details on Documentation, Business scenario, Examples, Connectors, Installation, Release notes. How To Use the BI Java SDK in a Web Dynpro Application Available in the BI Java SDK Documentation as a How-To Guide SAP AG 4

5 How to develop a Web Dynpro Application for use in a managed enviornment We use the BI Java SDK to custom build the Web Dynpro application and establish the connection with the BI XMLA Connector. This example will demonstrate how to connect to a BW system using the BI XMLA Connector, execute an MDX Query input by the user and render the result set in a web page. Pre-Requisites: SAP NetWeaver Developer Studio (NWDS) installed on your system You have access to the SAP J2EE engine. BI Java SDK: Copy the following link into your browser to download the BI Java SDK available on SDN on software/sap Business Intelligence Java Software Development Kit Download.abst BI XMLA Connector deployed on the WAS The BI XMLA Connector is deployed to the Web Application Server by default with the BW 3.5 installer. Refer to the following link if you have not selected this connector for installation or to manually deploy the resource adapter archive onto the Web Application Server. It contains details about system requirements, connection properties, deployment procedure etc. SAP BI XMLA Connector 2007 SAP AG 5

6 Step by Step Solution Prepare the System 3 To prepare the system, you first look up the JNDI name of your connector in the J2EE Visual Administrator, and then configure the connection properties. Use the J2EE Visual Administrator to determine the JNDI name of the BI XMLA connector: 1. Select <server node> Services JNDI Registry. On the Runtime tab, in the registry list, locate deployedadapters SDK_XMLA shareable SDK_XMLA. This path, from the root to the SDK_XMLA leaf node, indicates the fully qualified JNDI name of the BI XMLA Connector, which is: deployedadapters/sdk_xmla/shareable/sdk_xmla SAP AG 6

7 Configure the connection properties using the J2EE Visual Administrator: 2. Select the server node, and choose <server node> Services Connector Container. 3. Locate and double-click the entry for the BI XMLA Connector, sap.com/com.sap.ip.bi.sdk.dac.connector.xmla.bi_sdk_xmla, to open the connector definition SAP AG 7

8 4. Select Managed Connection Factory Properties, and set the required connection properties as shown below. Connection Properties Property Name Description Examples UserName Data source username (your username) Password Data source password (your password) Language Two-letter abbreviation of language. Determines logon language for BW systems, and specifies the language of exceptions evoked on the BI Java SDK layer. Optional. EN = English DE = German URL Server URL BW XMLA provider -- DataSource Server URL Local Analysis Server Statefulness Statefulness support. Optional. Default is false true or false Statefulness = true works properly only in the J2EE engine version SP Stack 12 or greater. * Note: To find the URL of a BW XMLA provider: For a BW system, start transaction SE37 and execute the function module RSBB_URL_PREFIX_GET. Use the following values for the import parameters of the function module: I_HANDLERCLASS = CL_RSR_MDX_SOAP_HANDLER I_PROTOCOL = HTTP I_MESSAGESERVER = The URL takes the following form: */sap/bw/xml/soap/xmla. 5. Save the settings SAP AG 8

9 Create the Web Dynpro Application In the SAP NetWeaver Developer Studio, create a new Development Component (DC). Create an Application, Component, Window with a Viewset and 2 views in this DC. (Refer to SAP tutorials on how to create WD applications if required) We will develop the UI and implement the code later. Component Name BI_MDXComp Views Name OutBound plug SelectionView ToResultOut Name Inbound Plug ResultView FromSelectionIn 2007 SAP AG 9

10 Window Name BI_MDXCompWindow Viewset Name Default BI_MDXViewset true Columns 1 Rows 2 Type Grid Layout Applications Name BI_MDXApp 2007 SAP AG 10

11 To use the BI Java SDK to create a Web Dynpro application, you need to add the BI Java SDK libraries for compilation, library references and a sharing reference: Add the BI Java SDK libraries for compilation: To do this go to the DC in the Web Dynpro Explorer view of the Web Dynpro perspective and right click on the Used DCs under <DC name> -> DC MetaData > DC Definition as shown. In the context menu of Used DCs, select Add Used DC. In the dialog, expand Local Development, and from the contained Software components select each of the following components by highlighting and clicking finish: From BI_UDI: bi/mmr/cwm_1.0_source bi/sdk/core bi/sdkresultset From SAP-JEE: j2eeca From SAP_JTECHS: tc/conn/connectorframework 2007 SAP AG 11

12 The components will get added as shown SAP AG 12

13 Add the library reference In the Web Dynpro Explorer view of the Web Dynpro perspective, select your Web Dynpro DC, right-click, and choose Properties from the context menu. To add the library references, select Web Dynpro References, and select the Library references tab. Add the libraries listed below: tc/conn/connectorframework com.sap.ip.bi.sdk bi~mmr~jmi bi~mmr~core bi~mmr~db bi~mmr~cwm_1.0_library 2007 SAP AG 13

14 Add the sharing reference To add the sharing reference to the BI XMLA Connector, select the Sharing references tab, and add the reference listed below: sap.com/com.sap.ip.bi.sdk.dac.connector.xmla 2007 SAP AG 14

15 Application Layout and Implementation 1. Insert the SelectionView in row 1 and ResultView in row 2 of the BI_MDXViewset as shown. Set the property default of the SelectionView to true and that of ResultView to false. 2. In the Navigational Modeler, create the navigation link between the two views as shown SAP AG 15

16 3. Create the layout for the SelectionView as shown. UI Elements: Property Value Tray Id Layout Design Caption Header text try_selection FlowLayout Transparent Selection Screen Transparent Container Id Layout trc_selection GridLayout ColCount 1 Message Area Id PaddingBottom msg_messages Medium 2007 SAP AG 16

17 Property Value Group Id Layout Design Caption Header text grp_selection GridLayout Primary Color Enter MDX Query TextEdit Id txe_mdxq Cols 100 Rows 10 Tooltip PaddingBottom Enter the MDX Query Medium ActionButton (Added using Apply template in the Outline view of the Layout) Id Text OnAction btn_display Display Display* * Fire the outbound plug ToResultOut in the eventhandler onactiondisplay for this event SAP AG 17

18 4. Next, create a value attribute MDXQ of type string in the Context Tab of the View SelectionView. In the Layout tab, bind the property value of the TextEdit element with the Context attribute MDXQ SAP AG 18

19 5. In the context of the View ResultView create the following value attributes. Context Attributes Name IFrameData MDXQ Result_Visibility Type String String (mapped from SelectionView via the Component Controller) com.sap.ide.webdynpro.uielementdefinitions.visibility 2007 SAP AG 19

20 6. Create the Layout for the View ResultView as shown below. Property Value Transparent Container Id Layout Visible trc_result FlowLayout Result_Visibility Group Id Design Layout Height grp_result primarycolor Grid Layout 500px Width 100% Caption Header Text Result IFrame Id Ifm_ResultFrame 2007 SAP AG 20

21 Property Value Height 100% Width 100% Scrolling Mode Source valign Auto IframeData bottom 7. Go to the Methods Tab and create a method called getresult with no parameters and return type void. 8. Go to the Implementation tab and call the method getresult in the event handler onplugfromselectionin. 9. Paste the following code in the method getresult. //@@begin getresult() IConnectionFactory connectionfactory = null; IBIConnection connection = null; IBIDataSet dataset = null; // get the MDX statement entered by the User String mdxstatement = wdcontext.currentcontextelement().getmdxq(); // Declare a stringbuffer to store the HTML Code StringBuffer l_strxmlfile = new StringBuffer(); try { // ******************************************************** // Connect to BW System // ******************************************************** Context initctx = new InitialContext(); // Perform JNDI lookup to obtain connection factory connectionfactory = (IConnectionFactory) initctx.lookup( "deployedadapters/sdk_xmla/shareable/sdk_xmla"); // Establish connection using default connection properties connection = (IBIConnection) connectionfactory.getconnectionex(null); IBIOlap olap = ((IBIConnection) connection).getolap(); 2007 SAP AG 21

22 // ******************************************************** // Execute the MDX statement and retrieve the data set // using the execute method of the IBIOlap interface. // ******************************************************** dataset = olap.execute(mdxstatement); } catch (Exception e) { e.printstacktrace(); wdcomponentapi.getmessagemanager().reportexception( e.getlocalizedmessage(), true); } finally { try { connection.close(); } catch (ResourceException e1) { // TODO Auto-generated catch block e1.printstacktrace(); } } // Ensure that the dataset is not null if (dataset == null) { wdcontext.currentcontextelement().setresult_visibility( WDVisibility.NONE); } else { wdcontext.currentcontextelement().setresult_visibility( WDVisibility.VISIBLE); // ******************************************************** // Render the data set. // ******************************************************** l_strxmlfile.append("<html>").append("<head></head>").append("<body>"); // Display the MDX that has been executed. l_strxmlfile.append("<p><b>mdx Statement that was executed:</b><br> ").append("<span class=\"code\">").append(mdxstatement).append("</span> </p>"); try { BIDataSetTableModel table = new BIDataSetTableModel(dataset, false); l_strxmlfile.append("<p>result set:</p>"); l_strxmlfile.append( "<table width=700 border=1 cellpadding=0 cellspacing=0>"); int row = table.getrowcount(); int col = table.getcolumncount(); 2007 SAP AG 22

23 for (int i = 0; i < row; i++) { l_strxmlfile.append("<tr>"); for (int j = 0; j < col; j++) { BITableItem item = (BITableItem) table.getvalueat(i, j); l_strxmlfile.append("<td class=\"headcenter\">"); l_strxmlfile.append(helpers.escape(item.tostring())); l_strxmlfile.append("</td>"); } } l_strxmlfile.append("</tr>"); l_strxmlfile.append("</table>"); l_strxmlfile.append("</body></html>"); } catch (BISQLException e2) { // TODO Auto-generated catch block e2.printstacktrace(); } // read the stringbuffer into bytes byte[] l_bytedata = null; try { l_bytedata = l_strxmlfile.tostring().getbytes("utf-8"); } catch (UnsupportedEncodingException e) { wdcomponentapi.getmessagemanager().reportexception( e.getlocalizedmessage(), false); } // Create a web resource and set the value of the // context variable "IFrameData" to it's URL IWDCachedWebResource l_file = WDWebResource.getWebResource( l_bytedata, WDWebResourceType.HTML); try { wdcontext.currentcontextelement().setiframedata( l_file.geturl()); } catch (WDURLException e1) { wdcomponentapi.getmessagemanager().reportexception( e1.getlocalizedmessage(), false); } } //@@end NOTE: After copying this code into the method format the code by Right click Code Format 2007 SAP AG 23

24 10. Build, Deploy and Run Build your DC and deploy it to the WAS. Run the application. Enter an MDX Query in the Text Edit and click Display to view the result. Sample MDX query: SELECT [Measures].MEMBERS ON AXIS(0), NON EMPTY [0VENDOR].MEMBERS ON AXIS(1) FROM [0PUR_C01/0PUR_C01_DB_Q04] 2007 SAP AG 24

25 Related Content BI Java SDK Documentation How To Use the BI Java SDK in a Web Dynpro Application BI Java Connectors Quick help in creating MDX statement How To Document for the BI XMLA Connector 2007 SAP AG 25

26 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 1 Welcome to the BI Java Software Development Kit, BI Java Software Development Kit, SAP AG, 2 BI Java Connectors, BI Java Software Development Kit, SAP AG, 3 How To Use the BI Java SDK in a Web Dynpro Application, ver July 2005, SAP AG SAP AG 26

Use the BI Java SDK in a Web Dynpro Application Version 1.01 July 2005

Use the BI Java SDK in a Web Dynpro Application Version 1.01 July 2005 How-to Guide SAP NetWeaver 04 How To Use the BI Java SDK in a Web Dynpro Application Version 1.01 July 2005 Applicable Releases: SAP NetWeaver 04 Copyright 2004-2005 SAP AG. All rights reserved. No part

More information

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 Applies to: SAP NetWeaver Portal 7.3, NWDS 7.3. For more information, visit the Portal and Collaboration homepage. Summary This

More information

Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal

Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal Applies to: SAP NetWeaver Web Dynpro. For more information, visit the Portal and Collaboration homepage.

More information

Upload Image file from system in Web dynpro view

Upload Image file from system in Web dynpro view Upload Image file from system in Web dynpro view Applies to: Web Dynpro for Java UI Development, SAP NetWeaver 2004s. For more information, visit the User Interface Technology homepage. For more information,

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

How to Integrate SAP xmii Services with Web Dynpro Java

How to Integrate SAP xmii Services with Web Dynpro Java How to Integrate SAP xmii Services with Web Dynpro Java Applies to: SAP xmii 11.5 SAP Netweaver 04s Summary This document gives a step by step description on how SAP xmii services and objects can be exposed

More information

Freely Programmed Help- Web Dynpro

Freely Programmed Help- Web Dynpro Freely Programmed Help- Web Dynpro Applies to: SAP ABAP Workbench that supports Web dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary In addition to the Dictionary Search

More information

Using Radio Buttons in Web Template

Using Radio Buttons in Web Template Using Radio Buttons in Web Template Applies to: SAP BW 3.5. For more information, visit the Business Intelligence homepage. Summary One of the ideal requirements in the BW Web Reporting is the user wants

More information

How to Develop a Simple Crud Application Using Ejb3 and Web Dynpro

How to Develop a Simple Crud Application Using Ejb3 and Web Dynpro How to Develop a Simple Crud Application Using Ejb3 and Web Dynpro Applies to: SAP Web Dynpro Java 7.1 SR 5. For more information, visit the User Interface Technology homepage. Summary The objective of

More information

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Applies to: Web Dynpro ABAP. Summary This tutorial explains how to display Web Dynpro ABAP Application in Microsoft Share

More information

Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java

Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Applies to: SAP Enterprise Portal, Web Dynpro for Java. For more information, visit the Portal and Collaboration homepage.

More information

Creating Rules in Process Composer and using them in Process

Creating Rules in Process Composer and using them in Process Creating Rules in Process Composer and using them in Process Applies to: SAP NetWeaver Composition Environment 7.1 EHP-1 Version. For more information, visit the Composition homepage. Summary This article

More information

Step by Step Guide How to Use BI Queries in Visual Composer

Step by Step Guide How to Use BI Queries in Visual Composer Step by Step Guide How to Use BI Queries in Visual Composer Applies to: SAP BW 7.x. For more information, visit the EBW homepage. Summary The objective of this Article is to explain step by step guide

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

How to Download Multiple Files in ZIP using WebDynpro Java

How to Download Multiple Files in ZIP using WebDynpro Java How to Download Multiple Files in ZIP using WebDynpro Java Applies to: SAP NetWeaver 7.0 SP15 and onwards, For more information, visit the Web Dynpro Java homepage. Summary The document provides the core

More information

Creation of Alert Data Service VC model for the BI query exception using Information Broadcasting

Creation of Alert Data Service VC model for the BI query exception using Information Broadcasting Applies To: SAP Netweaver 2004s Visual Composer 7.0 Summary The purpose of this document is to show how to create an alert data service VC model for the BI query exception using the Information broadcasting.

More information

POWL: Infoset Generation with Web Dynpro ABAP

POWL: Infoset Generation with Web Dynpro ABAP POWL: Infoset Generation with Web Dynpro ABAP Applies to: WebDynpro ABAP Developer. For more information, visit the Web Dynpro ABAP homepage. Summary: This document explains how to create an Infoset, generate

More information

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Applies to: SAP IS-Utilities 4.6 and above. Summary This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Author: Company: Hiral M Dedhia L & T Infotech Ltd.

More information

Step By Step Procedure to Implement Soap to JDBC Scenario

Step By Step Procedure to Implement Soap to JDBC Scenario Step By Step Procedure to Implement Soap to JDBC Scenario Applies to This scenario is implemented in PI 7.0 server, service pack: 14. For more information, visit the SOA Management homepage. Summary This

More information

Linking Documents with Web Templates

Linking Documents with Web Templates Linking Documents with Web Templates Summary This article explains certain ways to link documents with our Web-Templates which is a useful way of attaching information with a query. When the enduser runs

More information

Developing Crystal Reports on SAP BW

Developing Crystal Reports on SAP BW Developing Crystal Reports on SAP BW Applies to: SAP BusinessObjects Crystal Reports. Summary This white paper explores various methods of accessing SAP BW data through Crystal Reports. Author: Arka Roy

More information

Easy Lookup in Process Integration 7.1

Easy Lookup in Process Integration 7.1 Easy Lookup in Process Integration 7.1 Applies to: SAP NetWeaver Process Integration 7.1 For more information, visit the SOA Management homepage. Summary Unlike previous version of PI (7.0) / XI (3.0,

More information

Web Dynpro: Coloring Table Conditionally

Web Dynpro: Coloring Table Conditionally Web Dynpro: Coloring Table Conditionally Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary This article is designed for the beginners in Web Dynpro who have ABAP

More information

Table Row Popup in Web Dynpro Component

Table Row Popup in Web Dynpro Component Table Row Popup in Web Dynpro Component Applies to Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary This document helps to create Table Rowpopin in a Web Dynpro

More information

Internationalization in WebDynpro ABAP Applications

Internationalization in WebDynpro ABAP Applications Internationalization in WebDynpro ABAP Applications Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary The article describes the concept and procedure of developing

More information

Creating Your First Web Dynpro Application

Creating Your First Web Dynpro Application Creating Your First Web Dynpro Application Release 646 HELP.BCJAVA_START_QUICK Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any

More information

Dialog Windows in WebDynpro ABAP Applications

Dialog Windows in WebDynpro ABAP Applications Dialog Windows in WebDynpro ABAP Applications Applies to: WebDynpro ABAP For more information, visit the Web Dynpro ABAP homepage. Summary This document explains how to create popup dialog windows, external

More information

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose Applies to: SAP Customer Relationship Management (SAP CRM) Release 7.0 SP 01, November 2008. SAP NetWeaver 7.0 including

More information

Web Dynpro Interactive Forms Data Transfer and Scripting

Web Dynpro Interactive Forms Data Transfer and Scripting Web Dynpro Interactive Forms Data Transfer and Scripting Applies to: Webdynpro Java Development, Adobe Interactive forms, SAP NetWeaver 2004s. For more information, visit the User Interface Technology

More information

Displaying SAP Transaction as Internet Application in Portal

Displaying SAP Transaction as Internet Application in Portal Displaying SAP Transaction as Internet Application in Portal Summary This article explains how we can display SAP transaction as Internet Application Components (IAC) in portal to make it simpler for the

More information

BAPI Execution in offline Adobe Form

BAPI Execution in offline Adobe Form BAPI Execution in offline Adobe Form Applies to: Adobe form, Web dynpro JAVA, SAP ECC. For more information, visit the Web Dynpro Java homepage. Summary This article contains step by step description for

More information

Web Dynpro ABAP: Dynamic Table

Web Dynpro ABAP: Dynamic Table Applies to: SAP ECC 6.0 Summary Normally ABAP consultants might be aware of how to create internal table dynamically. This article aims to help the consultants how to display the dynamic table using Web

More information

Dynamically Enable / Disable Fields in Table Maintenance Generator

Dynamically Enable / Disable Fields in Table Maintenance Generator Dynamically Enable / Disable Fields in Table Maintenance Generator Applies to: SAP ABAP. For more information, visit the ABAP homepage. Summary This article demonstrates on how to Enable / Disable fields

More information

Deploying BusinessObjects Explorer on Top of a SAP BI Query

Deploying BusinessObjects Explorer on Top of a SAP BI Query Deploying BusinessObjects Explorer on Top of a SAP BI Query Applies to: SAP BI NetWeaver 2004s, BusinessObjects Explorer 3.1. For more information, visit the Business Intelligence homepage. Summary The

More information

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure for manually

More information

Integration Unit Testing on SAP NetWeaver Application Server

Integration Unit Testing on SAP NetWeaver Application Server Applies To: This technical article applies to the SAP (Java), SAP NetWeaver Developer Studio, Unit Testing, Integration Unit Testing, JUnit, and JUnitEE. Summary Unit testing is an excellent way to improve

More information

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP Applies to: SAP Netweaver 2004S: Web Dynpro for ABAP. For more information, visit the User Interface Technology homepage.

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

SUP: Personalization Keys and Synchronize Parameter

SUP: Personalization Keys and Synchronize Parameter SUP: Personalization Keys and Synchronize Parameter Applies to: Blackberry Mobile. For more information, visit the Mobile homepage. Summary This article gives a brief idea about Personalization Keys and

More information

Administrating ABAP+JAVA and SLD Problems of SAP PI 7.1

Administrating ABAP+JAVA and SLD Problems of SAP PI 7.1 Administrating ABAP+JAVA and SLD Problems of SAP PI 7.1 Applies to: SAP Basis and SAP PI 7.1 Administrations. For more information, visit the Application Management homepage. Summary This article describes

More information

How to Create Business Graphics in Web Dynpro for ABAP

How to Create Business Graphics in Web Dynpro for ABAP Applies To: SAP Netweaver 2004s Internet Graphics Server 7.0 Summary The purpose of this document is to show you how to create business graphics in and to supply code samples to realize this. By: Velu

More information

How to Display Traffic Lights for Exceptions in BI Web Reports

How to Display Traffic Lights for Exceptions in BI Web Reports How to Display Traffic Lights for Exceptions in BI Web Reports Applies to: SAP BI 7.0. For more information, visit the Analytics homepage. Summary In a BI Web Report, it would look much better to display

More information

External Driver Configuration for Process Integration 7.0

External Driver Configuration for Process Integration 7.0 External Driver Configuration for Process Integration 7.0 Applies to: This article will applies to XI3.0 and PI 7.0. If it needs to talk to the other database, we ll need to deploy the drivers in PI. Summary

More information

Server Connectivity and Data Load from Non SAP System to BW

Server Connectivity and Data Load from Non SAP System to BW Server Connectivity and Data Load from Non SAP System to BW Applies to: SAP NetWeaver 2004 and SAP NetWeaver 2004s. BW 3.5 & BI 7.0 For more information, visit the Business Intelligence homepage. Summary

More information

Different Types of iviews in Enterprise Portal 7.0

Different Types of iviews in Enterprise Portal 7.0 Different Types of iviews in Enterprise Portal 7.0 Applies to: This Article applies to Enterprise Portal 7.0. For more information, visit the Portal and Collaboration homepage. Summary This document covers

More information

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

How to Create View on Different Tables and Load Data through Generic Datasource based on that View How to Create View on Different Tables and Load Data through Generic Datasource based on that View Applies to: SAP Business Intelligence (BI 7.0). For more information, visit the EDW homepage Summary This

More information

Federated Portal Network Remote Role Assignment Step-by- Step Configuration

Federated Portal Network Remote Role Assignment Step-by- Step Configuration Federated Portal Network Remote Role Assignment Step-by- Step Configuration Applies to: Consumer Portal: SAP NetWeaver 2004s EhP1 SP6 Producer Portal: SAP NetWeaver CE EhP1 SP3 Summary This article describes

More information

Web Dynpro ABAP: Changing ALV Contents and Saving in Database

Web Dynpro ABAP: Changing ALV Contents and Saving in Database Web Dynpro ABAP: Changing ALV Contents and Saving in Database Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary The article is aimed to help beginners in Webdynpro

More information

Graphical Mapping Technique in SAP NetWeaver Process Integration

Graphical Mapping Technique in SAP NetWeaver Process Integration Graphical Mapping Technique in SAP NetWeaver Process Integration Applies to: SAP NetWeaver XI/PI mappings. For more information, visit the Repository-based Modeling and Design homepage. Summary This guide

More information

SAP PI/XI: Generating Sequence Number Between Multiple Instances of Mapping Execution

SAP PI/XI: Generating Sequence Number Between Multiple Instances of Mapping Execution SAP PI/XI: Generating Sequence Number Between Multiple Instances of Mapping Execution Applies to: SAP XI 3.0, PI 7.0 and 7.1. Summary The paper discusses about how to obtain sequence number between multiple

More information

Step By Step: the Process of Selective Deletion from a DSO

Step By Step: the Process of Selective Deletion from a DSO Step By Step: the Process of Selective Deletion from a DSO Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage. Summary Selective deletion from DSO refers to deleting specific values

More information

Data Extraction & DS Enhancement in SAP BI Step by Step

Data Extraction & DS Enhancement in SAP BI Step by Step Data Extraction & DS Enhancement in SAP BI Step by Step Applies to: SAP BI 7.0, SAP ABAP, For more information, visit the Business Intelligence homepage. Summary The objective of the article is to outline

More information

Setting up Connection between BW and R/3 for Data Load

Setting up Connection between BW and R/3 for Data Load Setting up Connection between BW and R/3 for Data Load Applies to: SAP BI 7.0. For more information, visit the Business Intelligence homepage. Summary This document guides to establish connection between

More information

Table Properties and Table Popin

Table Properties and Table Popin Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary This article is designed to explain for setting the properties of Table at runtime based on condition and also

More information

Access SAP Business Functions (ABAP) via Web Services

Access SAP Business Functions (ABAP) via Web Services Applies To: SAP R/3 4.6c and ECC 5.0 SAP NetWeaver 04 WebAS 6.40 SP14 and up, XI 3.0 SP14, NWDS 2.0.14 SAP NW2004s WebAS 700, NWDS 7.0.07 Microsoft Visual Studio 2005, BizTalk Server 2006,.NET Framework

More information

Adding Files as Attachments to SAP Interactive Forms in the Java Environment

Adding Files as Attachments to SAP Interactive Forms in the Java Environment Adding Files as Attachments to SAP Interactive Forms in the Java Environment Applies to: SAP NetWeaver 7.0, For more information, visit the SAP Interactive Forms by Adobe. Summary This document demonstrates

More information

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008)

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008) Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008) Applies to: SAP Crystal Dashboard and Presentation Design (Xcelsius 2008). For more information,

More information

Open Hub Destination - Make use of Navigational Attributes

Open Hub Destination - Make use of Navigational Attributes Open Hub Destination - Make use of Navigational Attributes Applies to: SAP BI 7.0. For more information visit the Enterprise Data Warehousing Summary This paper tells about usage of Open Hub Destination

More information

Information Broadcasting Part 3 Scheduling the First Report

Information Broadcasting Part 3 Scheduling the First Report Information Broadcasting Part 3 Scheduling the First Report Applies to: SAP BW 3.5 Summary This is part-3 article in the Information broadcasting (IB) series. Some things have already been discussed like

More information

Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application

Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application Applies to: Web Dynpro for Java (Enhancement package 1 of SAP NetWeaver CE 7.1). For more information, visit the UUser Interface

More information

Creating, Configuring and Testing a Web Service Based on a Function Module

Creating, Configuring and Testing a Web Service Based on a Function Module Creating, Configuring and Testing a Web Service Based on a Function Module Applies to: SAP EC6 6.0/7.0. For more information, visit the Web Services homepage. Summary The article describes how to create

More information

DB Connect with Delta Mechanism

DB Connect with Delta Mechanism Applies to: SAP BI/BW. For more information, visit the EDW homepage Summary This Article demonstrates the steps for handling Delta mechanism with Relational Database Management System (RDBMS) like SQL,

More information

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

How to use Boolean Operations in the Formula as Subsidiary for IF Condition How to use Boolean Operations in the Formula as Subsidiary for IF Condition Applies to: SAP BW 3.5 & BI 7.0. For more information, visit the EDW homepage. Summary This paper will explain you how to use

More information

Creating a Development Component

Creating a Development Component Applies To: SAP WAS 6.40 SP9, NWDS 2.0.9 Summary This blog attempts to develop a reusable utility component which can be used in WebDynpro development using NWDS and there by reducing the development time.

More information

E-Sourcing System Copy [System refresh from Production to existing Development]

E-Sourcing System Copy [System refresh from Production to existing Development] E-Sourcing System Copy [System refresh from Production to existing Development] Applies to: SAP Netweaver 7.0 and E-Sourcing 5.1/CLM 2.0 Summary This document discusses about the steps to do an E-Sourcing

More information

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure Applies to: ECC 6.0 and BI 3.x and 7.0 For more information, visit the Business Intelligence homepage. Summary Many

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

ODBO, BAPI and XMLA It s All MDX to Me

ODBO, BAPI and XMLA It s All MDX to Me Applies To: ODBO, OLAP BAPI and XMLA interfaces for connecting to SAP BW. Summary Over the years, there has been a lot of discussion and confusion about what interface to use when connecting to SAP BW.

More information

How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name

How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name Applies to: This document applies to SAP ECC 6.0, SAP Netweaver 2007 and above. For more information, visit the Web Dynpro

More information

Step-By-Step guide to Virtual InfoCube Implementation

Step-By-Step guide to Virtual InfoCube Implementation Step-By-Step guide to Virtual InfoCube Implementation Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary This article provides a detailed insight into Virtual Infocube data

More information

Programmatical Approach to User Management in Enterprise Portal

Programmatical Approach to User Management in Enterprise Portal Programmatical Approach to User Management in Enterprise Portal Applies to: SAP Netweaver 2004 SPS15/ SAP Enterprise Portal 6.0 or higher. Summary This article provides information to create user in EP,

More information

Standalone BW System Refresh

Standalone BW System Refresh Applies to: Software Component: SAP_BW. For more information, visit the EDW homepage Summary BW relevant steps/scenarios during refresh of an existing non-productive BW system from productive BW system

More information

SDN Community Contribution

SDN Community Contribution SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces

More information

Generate Export Data Source

Generate Export Data Source Applies to: SAP BI 7.0 developers and support Users. For more information, visit the EDW homepage Summary This paper describes the data mart interface which makes it possible to update data from one data

More information

MDM Syndication and Importing Configurations and Automation

MDM Syndication and Importing Configurations and Automation MDM Syndication and Importing Configurations and Automation Applies to: SAP MDM SP 05 Summary This document was written primarily for syndication and import of records into SAP NetWeaver MDM from different

More information

Calculate the Number of Portal Hits Part 2

Calculate the Number of Portal Hits Part 2 Calculate the Number of Portal Hits Part 2 Applies to: SAP Netweaver Enterprise Portal. Summary This article is an extension to the previous article where-in the solution is extended to the scenario where

More information

Replacement Path: Explained with an Illustrated Example

Replacement Path: Explained with an Illustrated Example Replacement Path: Explained with an Illustrated Example Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary The document explains the purpose and implementation method of

More information

Message Prioritization in Advanced Adapter Engine

Message Prioritization in Advanced Adapter Engine Message Prioritization in Advanced Adapter Engine Applies to: SAP Net Weaver PI 7.1. For more information, visit the Service Bus-based Integration homepage Summary Often it becomes necessary to make sure

More information

External Driver Configuration in Process Integration 7.1 Using JSPM

External Driver Configuration in Process Integration 7.1 Using JSPM External Driver Configuration in Process Integration 7.1 Using JSPM Applies to: This article applies to PI 7.1. If PI 7.1 needs to talk to the other external database, we ll need to deploy the respective

More information

Virus Scan with SAP Process Integration Using Custom EJB Adapter Module

Virus Scan with SAP Process Integration Using Custom EJB Adapter Module Virus Scan with SAP Process Integration Using Custom EJB Adapter Module Applies to: SAP Process Integration 7.0 and Above Versions. Custom Adapter Module, Virus Scan Adapter Module, Virus Scan in SAP PI.

More information

A Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory

A Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory A Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory Applies to: SAP Exchange Infrastructure (XI) 3.0 / Process Integration (PI) 7.0 For more information; visit

More information

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP

Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Applies to: Adobe Live Cycle Designer 8.0- Web Dynpro ABAP Summary This article would help ABAP developers, who are faced with

More information

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

SAP BI BO Unit/Currency Logic for Unknown Units Case Study SAP BI BO Unit/Currency Logic for Unknown Units Case Study Applies to: This solution is implemented for a combination of SAP BO XI 3.1 SP2 FP 2.1 and SAP NW BI 7.0 EHP1 SP6 For more information, visit

More information

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling Applies to: SAP ECC 6.00 and SAP BW 7.0 releases. For more information, visit the Business Intelligence homepage.

More information

Step by Step Procedure for DSO Creation

Step by Step Procedure for DSO Creation Step by Step Procedure for DSO Creation Applies to: SAP BI 7.0. For more information, visit the EDW homepage. Summary This article discusses about the step by step procedure for creating a DSO. Author:

More information

Step by Step Guide for PI Server Start and Stop Procedure

Step by Step Guide for PI Server Start and Stop Procedure Step by Step Guide for PI Server Start and Stop Procedure Applies to: This document applies to PI 7.0 and 7.1 and above. For more information, visit the Application Management homepage. Summary This document

More information

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Applies to: All versions of SAP. Summary This article will explain you the process of creating custom SU01 transaction code

More information

How to Work with F4 Input Help Effectively in BEX

How to Work with F4 Input Help Effectively in BEX How to Work with F4 Input Help Effectively in BEX Applies to: SAP BI 7.0 developers and Reporting Users. For more information, visit the Business Intelligence home page Summary This document helps to overcome

More information

Uploading and Downloading Files in Web Dynpro Java

Uploading and Downloading Files in Web Dynpro Java SAP NetWeaver '04 Web Dynpro Java Tutorials Uploading and Downloading Files in Web Dynpro Java Document Version 1.00 Dezember 2005 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F

More information

MDM Syndicator: Custom Items Tab

MDM Syndicator: Custom Items Tab MDM Syndicator: Custom Items Tab Applies to: SAP NetWeaver Master Data Management (MDM) SP04, SP05 and SP06. For more information, visit the Master Data Management homepage. Summary This article provides

More information

Material Master Archiving in Simple Method

Material Master Archiving in Simple Method Material Master Archiving in Simple Method Applies to: This article is applicable for SAP MM Module of SAP Version SAP 4.7 till SAP ECC 6.0 Summary This article describes a process called Material Master

More information

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Applies to: Open Text DocuLink for SAP Solutions 9.6.2. For more information, visit http://www.opentext.com Summary Open

More information

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces SDN Contribution SAP QM-IDI Interface Applies to: SAP QM Interfaces Summary A description of the steps needed to activate a communication between Quality management and an external system using the QM-IDI

More information

Tutorial. Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API

Tutorial. Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API Tutorial Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API At the conclusion of this tutorial, you will be able to: Generate PDF forms and fill them with XML

More information

Using Nested Exception Aggregation in BEx Reports- Scenario

Using Nested Exception Aggregation in BEx Reports- Scenario Using Nested Exception Aggregation in BEx Reports- Scenario Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the Business Intelligence homepage. Summary The Objective of this

More information

ABAP Add-On: Usage & Packaging

ABAP Add-On: Usage & Packaging Applies to: SAP NetWeaver higher than 4000 ABAP For more information, visit the SAP Integration & Certification Center homepage. Summary This article is dedicated to ABAP ADD-ON. The article elaborates

More information

Working with the Roadmap UI Element in Web Dynpro ABAP

Working with the Roadmap UI Element in Web Dynpro ABAP Working with the Roadmap UI Element in Web Dynpro ABAP Applies to: Web Dynpro ABAP Summary This tutorial shows the use of the Roadmap UI element in Web Dynpro ABAP applications. The tutorial shows navigation

More information

ecatt Part 6 System Data Container

ecatt Part 6 System Data Container \ ecatt Part 6 System Data Container Applies to: SAP 5.0 Summary In the Part I of ecatt series, we covered the introduction to ecatt, its prerequisites, features, when to go for SAP GUI mode recording

More information

A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory

A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory Applies to: SAP Exchange Infrastructure (XI) 3.0 / Process Integration (PI) 7.0 This document is intended for

More information

How to Transfer Data from AS400 to BW using DB Connect

How to Transfer Data from AS400 to BW using DB Connect How to Transfer Data from AS400 to BW using DB Connect Applies to: SAP Netweaver 2004 and SAP Netweaver 2004s. BW 3.5 & BI 7.0 Summary This document describes how to use DB Connect to connect AS400 system

More information