DATABASE WRITEBACK. This document describes the process of setting up writeback to a database from a report within Cognos Connection.

Similar documents
COGNOS BI I) BI introduction Products Introduction Architecture Workflows

How to create a new user to my Book? How to Remove the users from the Book? How to share the book with my accountants/partners?

IBM C IBM Cognos 10 BI Author. Download Full Version :

COGNOS OFFICE CONNECTION

THE REVERSE STAR SCHEMA

SAMPLE. Preface xi 1 Introducting Microsoft Analysis Services 1

OVERVIEW JICS ATTENDANCE REPORTING WITH COGNOS. Graceland University James M Mueller

Understanding the Concepts and Features of Macro Programming 1

Oracle Financial Services Common Reporting Standard Administration and Configuration Guide. Release October 2017

HireaHawk Job Posting Instructions

! An organized collection of data. ! Can easily be accessed, managed, and updated. ! Data are organized as a set of tables.

Vendor: IBM. Exam Code: C Exam Name: IBM Cognos 10 BI Author. Version: Demo

Flexible Data Modeling in MariaDB

Ryan Stephens. Ron Plew Arie D. Jones. Sams Teach Yourself FIFTH EDITION. 800 East 96th Street, Indianapolis, Indiana, 46240

Chapter 1 SQL and Data

Compiere 3.8 GA Quick Info Widgets 07/15/2012

SAS Web Report Studio 3.1

IBM DB DB2 application development Hands-On Lab. Information Management Cloud Computing Center of Competence. IBM Canada Lab

Creating databases using SQL Server Management Studio Express

From Access to SQL Server

COGNOS (R) 8 COGNOS CONNECTION USER GUIDE USER GUIDE THE NEXT LEVEL OF PERFORMANCE TM. Cognos Connection User Guide

Using OpenESQL to Map COBOL to DBMS Data Types

HA150. SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration:

SQL Server and MSBI Course Content SIDDHARTH PATRA

Contents. Tutorials Section 1. About SAS Enterprise Guide ix About This Book xi Acknowledgments xiii

HA300 SAP HANA Modeling

"Charting the Course... MOC C: Querying Data with Transact-SQL. Course Summary

Facilities Manager Local Device Tracking

Developing SQL Data Models(768)

Lab # 2 Hands-On. DDL Basic SQL Statements Institute of Computer Science, University of Tartu, Estonia

Tips for Mastering Relational Databases Using SAS/ACCESS

Integration Platform. User's Guide for use with SQL Server. A guide for using the FileBound. Last Updated: Tuesday, April 16, 2013

Index Creation Performance during Data Loading

BizViz How-to-Guide. Business Story. Copyright All rights reserved. No part of this publication may be. Release : 2.0. Date : Feb.

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language

In-Class Exercise: SQL #2 Putting Information into a Database

Oracle BPM 10g R3 Programming 1 Essentials

How To Change Schema Name Of Stored Procedure In Sql Server >>>CLICK HERE<<<

Embedded SQL Guide. Borland InterBase VERSION 7.5. Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Information Catalog Center Administration Guide

Tivoli Common Reporting V2.x. Training on Security Permissions

Infinite Device Management

Server Manager User and Permissions Setup

How To Create FPM Application consuming CDS view using ACT

Forms iq Designer Training

Simple sets of data can be expressed in a simple table, much like a

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

CITY UNIVERSITY OF NEW YORK. i. Visit:

How to Add and Hide UI Elements in Cognos Connection

Unit 1 - Chapter 4,5

Bp Premier Quick Start to Uncoded Data Cleanup

HA400 ABAP Programming for SAP HANA

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Installation and Getting Started

Acknowledgments...iii

Perceptive Intelligent Capture Visibility

Programming and Database Fundamentals for Data Scientists

/**Memory-Optimized Tables**/ ---- drop database InMemOLTP - if already exists Use MASTER DROP DATABASE if EXISTS InMemOLTP

Page 1 WEB CLIENT WEBCLIENT DEPARTM INVOICE VOUCHER GUIDE CHECK REQUST USER GUIDE

HA100 SAP HANA Introduction

Foundations of SQL Server 2008 R2 Business. Intelligence. Second Edition. Guy Fouche. Lynn Lang it. Apress*

You can use Dreamweaver to build master and detail Web pages, which

Language. f SQL. Larry Rockoff COURSE TECHNOLOGY. Kingdom United States. Course Technology PTR. A part ofcenqaqe Learninq

COGNOS (R) 8 GUIDELINES FOR MODELING METADATA FRAMEWORK MANAGER. Cognos(R) 8 Business Intelligence Readme Guidelines for Modeling Metadata

BTA Billing Online Support Statement File Reference Guide

Front Desk 2018 Practice Management System

WatchManager SQL Installation Guide

SAS. Information Map Studio 3.1: Creating Your First Information Map

GlobAl EDITION. Database Concepts SEVENTH EDITION. David M. Kroenke David J. Auer

How to import a WSDL Data Source and Prepare it for Use in Framework Manager

S4H410. SAP S/4HANA Embedded Analytics and Modeling with Core Data Services (CDS) Views COURSE OUTLINE. Course Version: 05 Course Duration: 2 Day(s)

If this is the first time you have run SSMS, I recommend setting up the startup options so that the environment is set up the way you want it.

C++ ARRAYS POINTERS POINTER ARITHMETIC. Problem Solving with Computers-I

II.1 Running a Crystal Report from Infoview

Solutions for Transformations of Functions

NOTICE. Copyright 2011 by MicroEdge, LLC. All rights reserved. Part number: MYG36-AD. Publication date: July 2011

SQL DDL. Intro SQL CREATE TABLE ALTER TABLE Data types Service-based database in Visual Studio Database in PHPMyAdmin

"Charting the Course... MOC C: Automating Administration with Windows PowerShell. Course Summary

Extending Microsoft Dynamics AX 2009 Default Cubes for Analytics across Virtual Company Accounts

About the Author... ix Introduction... x Acknowledgments and Thanks... xi. Terminology... xii

Ebook : Overview of application development. All code from the application series books listed at:

MET/TEAM 2.2 AND MET/CAL 9.1 UPDATE

OVERVIEW 256 DELIVERING LOGIN SPECIFIC DATA IN COGNOS. Graceland University James M Mueller

Oracle Financial Services FATCA Regulatory Reporting Administration and Configuration Guide. Release April 2015

Installing Dynamicweb Wrap Community Edition

Tips and Tricks for Organizing and Administering Metadata

Princeton University Exercise Workbook Training Developed by Elisabetta Zodeiko, Princeton University

11i ebusiness Suite Essentials for Implementers

OpenGeo Suite for Windows Release 3.0.1

MySQL and MariaDB. March, Introduction 3

Installing and Administering a Satellite Environment

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008.

IBM DB Getting started with Data Studio Hands-On Lab. Information Management Cloud Computing Center of Competence.

Maintenance of Dashboards

Tzunami Deployer AquaLogic Exporter Guide Supports extraction of Web Components on the server and guides migration to Microsoft SharePoint.

Contents. Acknowledgments Introduction

Installation guide for Choic Enterprise Edition ON Microsoft s Exchange 2000 Mail Server

PBS SQL. Installation Guide. Passport Business Solutions V 12.05

Corrective Action User Walkthrough: New Portal Login

Transcription:

DATABASE WRITEBACK This document describes the process of setting up writeback to a database from a report within Cognos Connection. 19 February 2008 Page 1 of 8

1 SUMMARY... 3 2 SQL SERVER... 4 3 FRAMEWORK MANAGER... 5 4 REPORT STUDIO... 6 5 COPYRIGHT AND USE... 8 19 February 2008 Page 2 of 8

1 SUMMARY This document describes the process of setting up the writeback of data from a Cognos report (Report Studio) to a database table. The method achieves this by creating a drill through report which includes a result column from a stored procedure. When the drill through report is called from the originating report (using a button or image to add comment ) it opens the query subject in the package. This has been set to provide the stored procedure with a number of parameters using prompts. Therefore the drill through report requires a comment and other optional information to write into the database. This comment information can then be used within the originating report itself by re-running the report or as a comments page report. Digital Viper Limited takes no responsibility for the accuracy or the use of this document. 19 February 2008 Page 3 of 8

2 SQL SERVER Create the stored procedure in the database: USE [<DBNAME HERE>] ALTER PROCEDURE [dbo].[insertcomment] @CommentID int,@username Varchar(250),@KPIDesc varchar(100), @ReportName Varchar(250),@site varchar(250), @Region varchar(250),@comments VARCHAR(4000) AS declare @counter int Select @counter=count(*) from Comments_Table where CommentID=@CommentID and Comment=@Comments if @counter=0 insert into dbo.notes_user_comments([commentid],[notedate],[username],[kpidesc],[reportn ame],[site],[region],[note]) select @CommentID,GetDate(), @UserName, @KPIDesc, @ReportName, @site, @Region, @Comments select 'Comment added to ID: '+RTRIM(CAST(@CommentID as CHAR)) + ', Successfully.' as Result 19 February 2008 Page 4 of 8

3 FRAMEWORK MANAGER 1. Add the procedure to the Framework Manager at the database view level. Initially the procedures will appear broken 2. Edit the definition of each procedure and enter a valid entry for each parameter. This will normally take the form of a prompt. In this example the entries are as follows: UserID #$account.personalinfo.username# KPI Description # prompt( 'KPI Description', 'varchar(100)') # Report # prompt( 'Report Name', 'varchar(250)')# Site # prompt( 'Site', 'varchar(250)') # Region # prompt( 'Region', 'varchar(250)') # Comment # prompt( 'Comment', 'varchar(4000)') # 3. If using the attached appendix leave the query subject as a Data Query 4. Add the procedure to the business view level of the model. 5. Publish the package 19 February 2008 Page 5 of 8

4 REPORT STUDIO 1. Create two reports: i. Primary report A normal report with the option of adding a comment. ii. Drill through report The report opened when add comment is clicked. 2. Create the drill through report first. This will make life easier when setting up the drill through. iii. This report should contain at a minimum the result column from the stored procedure in the model. iv. Create a text prompt on a prompt page. Specify the parameter as the existing parameter Comment. This is being offered as a parameter because the report is only running the stored procedure. 3. Report Definition: Primary report i. Create a list report that shows sales and includes the following columns. (The columns may vary but this needs to be refelected in the stored procedure: KPI Description Report Site Region v. Create a new query calculation and add nothing to the definition. vi. Unlock the report and remove the entry in this column. Add an image in its place. vii. Select the image and click on the drill through property. viii. Create a new drill through and specify the target report as the Add Comment report. ix. Click on the new parameters button. You will be prompted to set the details for the following parameters: KPI Description Use pass data item value select the KPI Description column Report Use pass data item value select the Report column Site Use pass data item value select the Site column Region Use pass data item value select the Region column Comment Use Do not pass (this will be set in the drill through report) 19 February 2008 Page 6 of 8

19 February 2008 Page 7 of 8

5 COPYRIGHT AND USE Please feel free to use the ideas and methods discussed in this white paper. All we ask in return that you add a link to www.digitalviper.co.uk to your website and /or documentation. You may even wish to book our time to set the system up for you. The 4 bars image is a trademark of Digital Viper and may not be used without express written permission. 19 February 2008 Page 8 of 8