Skip to Content

Applies to:

SAP BusinessObjects Business Intelligence Platform, SAP BusinessObjects Semantic Layer and SAP BusinessObjects Web Intelligence.


Summary


This article provides step by step process of creating universe on flat file using Information Design Tool (IDT). In addition it also mentions the details of key points to be considered while creating flat file universe through IDT. The content in this article is intended for semantic layer users and designers those who would wish to create flat file universes and provide developers access via web Intelligence etc.

Note: Flat file in this article refers to .CSV, .Txt and other supported files.


Author: Mallikarjuna Chary Narayandas


Company: Gyansys Inc.

Created on: June 22, 2013


Author Bio


The author has worked on several SAP BusinessObjects projects and has experience on using all the SAPBusinessObjects Business Intelligence platform tools. Author has experience on working with SAPBusinessObjects mobile including designing and accessing BusinessObjects content (Web Intelligence Reports, Crystal Reports, Dashboards, Analysis and Information Spaces) through IPAD / IPhone / Android.


Introduction

This article provides step by step process of creating universe on flat file using Information Design Tool (IDT). In addition it also mentions the details of key points to be considered while creating flat file universe through IDT. The content in this article is intended for semantic layer users and designers those who would wish to create flat file universes and provide developers access via web Intelligence etc. Below are few key drivers of choosing a Flat file universe over web intelligence rich client report creation of flat files.


  • Being able to apply query filters to restrict data coming from Excel
  • Merge Dimension objects from Excel with objects from Universe queries
  • Provide flexibility in terms of controlling object formats, data type conversions and add prompts etc.


Step By Step Process of Flat File Universe Creation

  • Go to All Programs>SAP BusinessObjects BI Platform 4> SAP BusinessObjects BI Platform Client Tools> Information Design Tool (IDT) to launch IDT

          /wp-content/uploads/2013/06/1_235273.jpg

  • Create New Project by Choosing menu Option File>New>Project

          /wp-content/uploads/2013/06/2_235274.jpg

  • Enter Project Name (Ex: Flat File Universe Demo) and Specify Project Location. Designer can leave the default location as is or click on browse button to choose any location of choice. Click on Finish to complete creation of project.

          /wp-content/uploads/2013/06/3_235275.jpg

          /wp-content/uploads/2013/06/4_235277.jpg

  • Right click on the project created above and choose New > Relational Connection

          /wp-content/uploads/2013/06/5_235278.jpg

  • Enter Resource name and description and then click on “Next >”

          /wp-content/uploads/2013/06/6_235279.jpg

  • Choose Generic>Text Files>BusinessObjects OpenConnectivity as middle ware in order to connect to flat files (.CSV, .txt etc.) & click “Next >”

          /wp-content/uploads/2013/06/7_235280.jpg

  • Choose Location Type as Local and Provide information to connect to flat file such as file path and click on Test connection. Click on Finish once Connection is tested successful.

          /wp-content/uploads/2013/06/8_235281.jpg

  • Now the Local connection is ready.

          /wp-content/uploads/2013/06/9_235282.jpg

  • Publish connection to the repository choosing appropriate folder location on repository and Clicking on Finish.

        

           Note: Designer should have been already connected to BO server on IDT or else he may have to do it at this step.

          /wp-content/uploads/2013/06/10_235283.jpg

  • Designer will receive a publish successfully message. Now press “Yes” to create a shortcut to local folder. Designer will receive a Shortcut created successfully message.

          /wp-content/uploads/2013/06/12_235284.jpg

          /wp-content/uploads/2013/06/13_235285.jpg

  • Go to project >Right Click>New>Data Foundation and Enter data foundation name, Choose connection short cut and click on Finish.

          /wp-content/uploads/2013/06/14_235286.jpg

          /wp-content/uploads/2013/06/15_235287.jpg

          /wp-content/uploads/2013/06/16_235288.jpg

          /wp-content/uploads/2013/06/17_235309.jpg

  • Expand the connection listed in data foundation and drag and drop the table to the schema window and save your data foundation.

          /wp-content/uploads/2013/06/18_235310.jpg

  • Go to project> Right Click> New>Business Layer and Choose Relational Data Foundation, Enter Business Layer name and Select the data foundation created in previous steps and click Ok and Finish.

          /wp-content/uploads/2013/06/19_235291.jpg

          /wp-content/uploads/2013/06/20_235292.jpg

          /wp-content/uploads/2013/06/21_235293.jpg

          /wp-content/uploads/2013/06/22_235294.jpg

          /wp-content/uploads/2013/06/23_235296.jpg

  • Business Layer is generated with Classes and Objects as below and overall project should look as below. If designer chooses to re-organize or rename the classes and objects he can do it and save the Business Layer after changes.

          /wp-content/uploads/2013/06/24_235295.jpg

          /wp-content/uploads/2013/06/25_235298.jpg

  • Go to Business Layer >Right Click > Publish>To a Repository.

          /wp-content/uploads/2013/06/26_235297.jpg

  • Perform Check Integrity and Click Next to choose an appropriate folder and Click Finish to publish the Business Layer to repository.

          /wp-content/uploads/2013/06/27_235299.jpg


Now the that the UNX universe created would work fine with local connection for rich client reports, if designer wants this universe to be allowing queries from BI Launchpad to run fine without any error messages then he has to update the connection published to repository using steps below.

          /wp-content/uploads/2013/06/31_235308.jpg

  • Go to Repository resources>Connections>Flat file connection and double click on the flat file connection to open properties

          /wp-content/uploads/2013/06/28_235300.jpg

  • Choose Edit Connection and Update the File path or pattern to the server URL as below where the Flat file should have been placed by BusinessObjects Administrator in the specified location as below.

          /wp-content/uploads/2013/06/29_235304.jpg

Note1: This file location on BusinessObjects server would be different if the BusinessObjects server is deployed on Unix or Windows OS.

Note2: Since designer is updating the connection from repository resources, No connection publish step is required.


Even though the connection is updated with right folder location pointing to BusinessObjects server, when designer performs Test connection it returns the error message as below and data preview of query would also result in an error message as below. However, the query built from web intelligence through BI launch pad runs fine and users can create and execute reports on this Flat File universe.

     /wp-content/uploads/2013/06/errorconnection_235305.jpg

     /wp-content/uploads/2013/06/errorquerydatapreview_235306.jpg


References

SAP BusinessObjects Business Intelligence Platform

SAP BusinessObjects Web Intelligence.

Semantic Layer | SCN

SAP BusinessObjects Web Intelligence … | SCN

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

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Mallikarjuna Narayandas Post author

    Thanks Dhaval for reading through the article.

    Yes, you can create information spaces on these universes, since its a UNX and is supported type through explorer. I have tested it from my end and was able to run Information space without any issues.

    Thanks

    Mallik

    (0) 
  2. atul kulkarni

    Hi,

    Very Good article.

    I have question if we have SAP BI 4.0 Sp5 on solaris or linux platform then is it possible to build report based on txt or csv file and schedule it on daily or weekly basis.?

    Any help or suggestion wolud be appriciated on this.

    Best Regards,

    Atm

    (0) 

Leave a Reply