How to Display Traffic Lights for Exceptions in BI Web Reports

Similar documents
Using Radio Buttons in Web Template

Replacement Path: Explained with an Illustrated Example

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

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

Linking Documents with Web Templates

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

MDM Syndicator: Custom Items Tab

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

Graphical Mapping Technique in SAP NetWeaver Process Integration

Database Statistics During ODS Activation

Easy Lookup in Process Integration 7.1

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

Developing Crystal Reports on SAP BW

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

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

Step By Step Procedure to Implement Soap to JDBC Scenario

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

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

DB Connect with Delta Mechanism

Information Broadcasting Part 3 Scheduling the First Report

SAP BW vs. SAP BusinessObjects Web Intelligence Functionalities

Standalone BW System Refresh

Data Flow During Different Update Mode in LO Cockpit

Creation of Key Figures with Higher Decimal Place Precision

Step by Step Procedure for DSO Creation

Material Master Archiving in Simple Method

Hierarchy in Business Objects with Expanded Hierarchy Logic

Recreating BIA Indexes to Address the Growth of Fact Index Table

POWL: Infoset Generation with Web Dynpro ABAP

Step by Step Guide on How to Use Cell Definition in BEx Query

Using Nested Exception Aggregation in BEx Reports- Scenario

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

Data Mining: Scoring (Linear Regression)

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

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

Process Chain Log Deletion

Step by Step Method for File Archival in BW

Currency Translation in SAP BI Step by step Guide

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

Displaying SAP Transaction as Internet Application in Portal

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

Federated Portal for Composite Environment 7.1

Add /Remove Links on ESS Home Page in Business Package 1.5

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

Validity Table in SAP BW/BI

How to Display Result Row in One Line While Reporting On Multiproviderer

Solution to the Challenges in Pivoting

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

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

How to Check BW system Before Go-Live

Web Dynpro: Coloring Table Conditionally

Load Info Cube in SCM 5.0 (BI 7.0)

How to Create and Schedule Publications from Crystal Reports

Data Extraction & DS Enhancement in SAP BI Step by Step

SDN Community Contribution

Creating Rules in Process Composer and using them in Process

Limitation in BAPI Scheduling Agreement (SA) Create or Change

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

Printer Landscape Made Easy!!

How to Configure User Status in mysap SRM

Step-By-Step guide to Virtual InfoCube Implementation

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

Triggering the Process Chains at Particular Date using Events

How to Work with F4 Input Help Effectively in BEX

Freely Programmed Help- Web Dynpro

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

SDN Community Contribution

Generate Export Data Source

Table Row Popup in Web Dynpro Component

Analysis Web Item: Using Parameter Modification HELP.BW_INTERNAL

BAPI Execution in offline Adobe Form

Different Types of iviews in Enterprise Portal 7.0

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

Deploying BusinessObjects Explorer on Top of a SAP BI Query

Material Listing and Exclusion

Data Inconsistency in the Cube and Aggregate

How to Default Variant Created for Report Developed In Report Painter/Writer

Financial Statement Version into PDF Reader

Data Mining: Decision Trees

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

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains

All about Compression

Cut Over Activities Specific for LIS* Data Sources

Universal Worklist - Delta Pull Configuration

Creating Multiple Methods/Operations and Exposing BAPI as a Webservice

Open Hub Destination - Make use of Navigational Attributes

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

SAP BusinessObjects Translation Manager Functionality and Use

List of Values in BusinessObjects Web Intelligence Prompts

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

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains)

Restricting F4 (Input Help) Values While Running a SAP BW Query

Upload Image file from system in Web dynpro view

How to Automate Monitoring of MDM Import Port for Inbound Exceptions

SDN Community Contribution

Explore to the Update Tab of Data Transfer Process in SAP BI 7.0

SAP BI - Basic BI Configuration Settings

Information Broadcasting-Part 2 - System Settings

Reporting Duplicate Entries

Transcription:

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 the Status as Traffic lights rather than displaying cell background colors. This article explains with screenshots the procedure for displaying Exceptions as Traffic light icons. The procedure discussed in this document can also be used to display Custom images (in place of Exceptions) in the BI Web Report. Author: Hari Krishnan K. Company: Allianz Cornhill Information Services (ACIS) Created on: 12 August 2010 Author Bio Hari Krishnan K is a SAP Certified Solution Consultant in SAP Netweaver 04 Business Intelligence with six years of experience in SAP BI. Currently he is working with Allianz Cornhill Information Services. 2010 SAP AG 1

Table of Contents How to Display Traffic Lights for Exceptions in the Web Reports... 3 Pre-Requisites... 3 Procedure... 4 The HTML Code generated in the Web Application Designer... 10 Related Content... 11 Disclaimer and Liability Notice... 12 2010 SAP AG 2

How to Display Traffic Lights for Exceptions in the Web Reports In a Status Web Report, it would look much better to display the Status as Traffic lights rather than displaying cell background colors. Comparison - Status as Traffic Lights and Background Colors This can be done by Web Item Analysis Modification. Features of Web Item Analysis Modification Web Item Analysis Modification is a Java interface in BI 7.0. Customizable samples are delivered by SAP (so-called modules). These modules could be configured by parameters in the BEx Web Application Designer. Samples provided by SAP for Web Item Analysis Modification are 1) Exception Image module (com.sap.ip.bi.rig.exceptionimage) To display custom exception symbols / images in Web Reports. 2) Column Width module (com.sap.ip.bi.rig.columnwidth) Enables the definition of the column width in the Analysis Web item. 3) Document Content module (com.sap.ip.bi.rig.documentcontent) Enables the display of document content in a cell in the Analysis Web item. 4) Negative Number module (com.sap.ip.bi.rig.negativenumber) Depicts negative numbers in a column or entire table in red. Our requirement is to set the Status as Traffic Lights. So we will be using the module com.sap.ip.bi.rig.exceptionimage. Pre-Requisites This article assumes that the required configuration has been done for Web Reporting using Web Application Designer and the Analysis Web Item has been included in the web template. An exception has to be defined and it should be Active in the Query assigned to the Analysis web item. 2010 SAP AG 3

Procedure In the Web Application Designer, Select the Analysis Web Item -> Web Item Parameters -> Internal Display. Select Modification -> Single Module Click on the button next to Single module Select Type as Generic Module and click on the button below that. The Active checkbox should be selected. Implementation Name should be com.sap.ip.bi.rig.exceptionimage. Click on the parameter button. We will be providing the Parameter Name/Expression and Value here. 2010 SAP AG 4

Give Parameter Name/Expression as ALERT_X, where X is the Alert number of the Exception defined in the Query. The mapping is as given below. ALERT_1 equates to Good 1 ALERT_2 equates to Good 2 ALERT_3 equates to Good 3 ALERT_4 equates to Critical 1 ALERT_5 equates to Critical 2 ALERT_6 equates to Critical 3 ALERT_7 equates to Bad 1 ALERT_8 equates to Bad 2 ALERT_9 equates to Bad 3 The Exception we have defined in the query is Good 3 Critical 1 Bad 2 Green Yellow Red So the corresponding alerts will be ALERT_3 for Green ALERT_4 for Yellow ALERT_8 for Red Select IMAGE from the dropdown box for the field VALUE, since we want to display traffic light icons (gif) for the exception in the web report. Select the Image from the MIME Repository or through an URL. The Icons will be stored in the path shown in the screenshot below. 2010 SAP AG 5

Transaction SE80 -> Mime Repository SAP -> BW -> BEx -> Icons We will be using the Traffic light images stored in Icons folder in MIME Repository. The icons we will be using for this scenario are Green - s_s_ledg.gif, Yellow - s_s_ledy.gif and Red - s_s_ledr.gif You can directly give the icon link in Mime Repository Resource field or you can select the icon from the MIME browser. I have noticed that sometimes even if we select the images through the browser, it won t be inserted in the Mime Repository Resource field. If this happens, we can directly provide the link of the icons stored in the MIME Repository. For example: Green Yellow Red bwmimerep:///sap/bw/mime/bex/icons/s_s_ledg.gif bwmimerep:///sap/bw/mime/bex/icons/s_s_ledy.gif bwmimerep:///sap/bw/mime/bex/icons/s_s_ledr.gif 2010 SAP AG 6

(Here we have the option to use custom images also. But before that the image should be uploaded to the MIME Repository.) So we have defined the Green Traffic light symbol for ALERT_3. Similarly define the Alerts to display Yellow and Red as shown in the screenshots below. ALERT_4 - Yellow 2010 SAP AG 7

ALERT_8 - Red Select OK after defining all the required parameters (Green, Yellow and Red). 2010 SAP AG 8

Now we have to set the Exception Visualization (EXCEPTION_RENDERING) parameter to Symbols for the Analysis Web Item. This parameter is used to specify the display type for exceptions. The Exception Visualization drop down is in the Cell Content Area of the Analysis Web Item. Save the web template and execute the Report. Now the report output will be showing the Traffic lights in place of the background cell colors. Isn t it better than displaying background colors? The default option for Exception Visualization parameter is Color. So if this is not set to display Symbols, the Report will display Exception Colors along with Traffic lights in the cell background as shown in the screenshot below. If the key figure value also has to be displayed in the report along with the Traffic lights, select the option Text and Symbol in Exception Visualization dropdown. 2010 SAP AG 9

The HTML Code generated in the Web Application Designer <bi:analysis_item name="analysis_item_2" designwidth="400" designheight="200" > <bi:data_provider_ref value="dp_1" /> <bi:modification type="choice" value="mod_single_module" > <bi:mod_single_module type="composite" > <bi:mod_select type="choice" value="mod_generic_module" > <bi:mod_generic_module type="composite" > <bi:mod_reference value="com.sap.ip.bi.rig.exceptionimage" /> <bi:mod_parameter_list type="orderedlist" > <bi:mod_parameter type="composite" index="1" > <bi:mod_placeholder_list type="orderedlist" /> <bi:mod_param_name value="alert_3" /> <bi:mod_param_value type="choice" value="image" > <bi:image value="bwmimerep:///sap/bw/mime/bex/icons/s_s_ledg.gif" /> </bi:mod_param_value> </bi:mod_parameter> <bi:mod_parameter type="composite" index="2" > <bi:mod_param_name value="alert_4" /> <bi:mod_param_value type="choice" value="image" > <bi:image value="bwmimerep:///sap/bw/mime/bex/icons/s_s_ledy.gif" /> </bi:mod_param_value> <bi:mod_placeholder_list type="orderedlist" /> </bi:mod_parameter> <bi:mod_parameter type="composite" index="3" > <bi:mod_param_name value="alert_8" /> <bi:mod_param_value type="choice" value="image" > <bi:image value="bwmimerep:///sap/bw/mime/bex/icons/s_s_ledr.gif" /> </bi:mod_param_value> </bi:mod_parameter> </bi:mod_parameter_list> </bi:mod_generic_module> </bi:mod_select> <bi:active value="x" /> </bi:mod_single_module> </bi:modification> <bi:analysis_item_mode type="choice" value="aim_automatic" /> <bi:exception_rendering value="symbol" /> </bi:analysis_item> 2010 SAP AG 10

Related Content BEx Web Interfaces in SAP NetWeaver BI 7.0 - Webinar Presentation Thread: BI 7 Web Design API - Parameter modification - Exception symbol Examples of Modules For more information, visit the Analytics homepage 2010 SAP AG 11

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. 2010 SAP AG 12