8
 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com  © 2011 SAP AG 1 Interactive use of the Calendar Component in Xcelsius Applies to SAP BusinessObjects  Xcelsius 2008. For more information, visit the Business Objects homepage. Summary This article explains about using the Calendar component in Xcelsius in an interactive way and thereby adds additional functionality to your dashboards. Author: Anju Saseendran Company: Applexus Technologies Private Ltd. Created on: 31 March 2011 Author Bio Anju Saseendran works as SAP BOBJ Technology Consultant with Applexus Technologies Private Ltd. She has over three years of experience in SAP BusinessObjects-Web Intelligence, Desktop Intelligence, Universe Designer, Xcelsius and Crystal Reports.

Interactive Use of the Calendar Component in Xcelsius

Embed Size (px)

Citation preview

Page 1: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 1/8

 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 1

Interactive use of the Calendar Component in Xcelsius

Applies to

SAP BusinessObjects  – Xcelsius 2008. For more information, visit the Business Objects homepage. 

Summary

This article explains about using the Calendar component in Xcelsius in an interactive way and thereby addsadditional functionality to your dashboards.

Author: Anju Saseendran

Company: Applexus Technologies Private Ltd.

Created on: 31 March 2011

Author Bio

Anju Saseendran works as SAP BOBJ Technology Consultant with Applexus Technologies Private Ltd. Shehas over three years of experience in SAP BusinessObjects-Web Intelligence, Desktop Intelligence,Universe Designer, Xcelsius and Crystal Reports.

Page 2: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 2/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 2

Table of Contents

Introduction ......................................................................................................................................................... 3 Calendar Date Formatting in Xcelsius ................................................................................................................ 3 Interactive use of the Calendar Component ....................................................................................................... 3 

Step 1: ............................................................................................................................................................. 3 Step 2: ............................................................................................................................................................. 4 Step 3: ............................................................................................................................................................. 4 Step 4: ............................................................................................................................................................. 4 Step 5: ............................................................................................................................................................. 5 Step 6: ............................................................................................................................................................. 6 

Conclusion .......................................................................................................................................................... 6 Related Content .................................................................................................................................................. 7 Disclaimer and Liability Notice ............................................................................................................................ 8 

Page 3: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 3/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 3

Introduction

The Calendar component in Xcelsius is a selector that allows date selection to be incorporated in to themodels. All that is available with the properties tab available with the component is to select an insertion typeeither Day or Date and map the result to a destination cell. No option is available to associate the componentto a particular source data. This whitepaper explains the way the calendar component can be mapped tosource data with the help of other available UI components.

Calendar Date Formatting in XcelsiusWhen working with dates within a connected Xcelsius dashboard, there are potential issues related toformatting. In most cases, a specific format is required when using Excel functions with the date value. Thisis because a date field does not store one value; it stores multiple values (month, year, day, minute, second).All of these are compressed in one database column.

Using the calendar component, it is possible to insert and visualize a user defined date. Though able to setthe cell format to modify the display of that date, Excel actually stores it using the 1900 date system. Thissimply means that the date Jan 1, 1900 has a true numeric value of 1, and Jan 1, 2007 has the true numericvalue of 39083.

This could be solved as explained in Step 1 and Step 2.

Interactive use of the Calendar Component

Here are the steps:

Step 1:

Map the destination of the calendar component to a cell in the worksheet.

 

Page 4: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 4/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 4

Step 2:

Use the day, month, and year formulas to extract the individual values and string them together in thedesired format.

=YEAR (N2) &"-"&MONTH (N2) &"-"&DAY (N2)

Step 3:

Drag the UI component Combo Box to the canvas.

The source data along with the date field could be associated with the calendar component using theadditional UI component -Combo Box.

Step 4:

Associate the source data for the calendar component as the source data for Combo Box.

Page 5: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 5/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 5

The additional column field Column1 highlighted with arrow becomes the label for Combo Box. The formulafor the field is given as=If (J2=$O$2, 1, 0)Where J column has sale_date field and O2 is the destination field of the calendar component.

Step 5:

Map the destination data of combo box to the appropriate cells in the work sheet.

The highlighted cells in yellow color are the destination data of Combo Box mapped.

Page 6: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 6/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 6

Step 6:

Make 1 as the default selected item for Combo Box (where Label 3 has value 1).

Conclusion

The destination data of Combo Box could now be showcased as the destination data of calendar componentby associating this data to other UI components.

Note: The UI Component Combo box has to be hidden so as to make the user feel that the calendar component itselfoffers all these interactive features.

Page 7: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 7/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 7

Related Content

How to Design and Deploy High Performing Xcelsius Dashboards 

Calendar Component in Xcelsius 2008 

SAP for BusinessObjects Experts 

For more information, visit the Business Objects homepage 

Page 8: Interactive Use of the Calendar Component in Xcelsius

7/31/2019 Interactive Use of the Calendar Component in Xcelsius

http://slidepdf.com/reader/full/interactive-use-of-the-calendar-component-in-xcelsius 8/8

Interactive use of the Calendar Component in Xcelsius 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com

 © 2011 SAP AG 8

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is notsupported 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 orcode sample, including any liability resulting from incompatibility between the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of thisdocument.