Wednesday, 23 September 2015

OBIEE

OBIEE --To access critical business information and to provide optimal results.

Organizes the data in the star format with fact table(numerical data) is surrounded by dimensional table(alphanumerical data)

Architecture is made of 5 components
1. Clients
                 Access to client information using answers, dashboards, delivers
2.Oracle BI web server
       Receives data from BI server and presents it to clients
       Uses .atr web catalog files to store the aspects of application
3.Oracle Bi server
   Access the physical data and structures the information
   Components
      a.rpd   (metadata)
      b.Cache  (Results of queries)
      c.NQSConfig.ini (Stores RPD name )
      d.DBFeatures.ini   (Specifies values that control SQL generation)
      e. Log files (NQserver.log  and NQQuery.log files)

4.Oracle Bi Scheduler (Executes the job)
5.Data sources(Flat files or any form of data)

Sample Request Processing
 


Clients                  Oracle BI Web server             Oracle Bi Server                 Data Source
                                                            

1. Repository Basics
                  
          The RPD is having 3 Layers.
                    Presentation                Business Model and Mapping               Physical
                     

1. Physical Layer


Physical Database (DSN)
 


           Connection pool
                 
                    Physical Catalog Folder
       
                            Data Source Schema

                                    Physical Table
 


                                                Physical Key Column




2. Business Model and Mapping Layer
              
                 Logical Table
                                               
                            Logical Table Sources

3. Presentation Layer

Presentation Catalog/Subject Area       (Subject area as it appears in
                                                                        Oracle Answers Screen)                      

2. Query Repository Features

         Tools
        
              Query Repository (Short Cut Ctrl Q)

Is a utility provided by Oracle BI tool to examine the metadata objects.



Two modes to open rpd

1 Offline:-The Oracle BI server is not started (always to be used)
2. Online:- The Oracle BI server is started

When you open the rpd in online mode it will display (online) at the top in the rpd.


About Installation

Two folders are created when you install OBIEE

1. Oracle BI
2. Oracle BI Data

Important Paths

  1. RPD                  Oracle BI/Server/Repository/RPD file
  2. Config file         Oracle BI/Server/Config/Configuration file (NQSConfig.ini)
                    

How to start the services

1.    Control Panel -> Administrative Tools->Services->Open ->Click on (1.Oracle BI Presentation Server and 2.Oracle BI Server)

Or

2.    1.Go to Run àServices.msdà Click on (1.Oracle BI Presentation Server and 2.Oracle BI Server)


Installation Requirements
  1. Check if RAM capacity is 1GB
  2. Install Oracle 10g Client
  3. Install JDK
  4. Install OBIEE 10.1.3.4


Building physical layer of RPD (Stores Physical Data sources)

Can create reports based on multiple databases (e.g. one connection pool is pointing to Oracle and other to Siebel) having different connection pools.

Can create multiple connection pools pointing to Same Database



Login /Pwd for User Id in DSN :SH/SH
TNS service Name: Sample_O (It is there in tnsnames. Ora just like vis, proj1)

DSN: workshop (The name of Database Object /Physical Database)

Structure of Physical layer:

Physical Database (DSN)(any type of data i.e xml, flat file ,normalized DB)

           Connection pool   (Created automatically and bridge bet. DS and Oracle BI Server)
                 
                    Physical Catalog Folder
       
                            Data Source Schema

                                    Physical Table
 


                                                Physical Key Column

               
Two Types of Joins

  1. Physical
  2. Logical (Will have logical queries which will be converted to physical queries that are having reference to physical joins)

Cacheable :
2 options
1. Cache never expires
2. Cache persistence time


BMM (Organizes physical sources into dimensional business model)

BMM objects are

Business models  (Defines Subject area)
Logical tables         (Defines Data source mappings)
Data source mappings  (Defines logical to physical table  mappings)
Logical columns          (maps to any number of physical columns)
Logical primary keys
Logical table schemas (Defines logical table joins)
Measures                 (Calculation with measurable quantities)


Building Presentation Layer (Presents the business data to the user)

Multiple presentation catalogs can refer to same business model

Appears as Subject Area in Oracle Answers

Presentation objects are automatically renamed when the corresponding logical object is renamed
Presentation tables cannot have the same name as the presentation catalogs (error is received)
Presentation objects can be deleted without affecting corresponding logical objects

To expose the key columns to other ODBC clients, check the Export logical keys check box

Testing and validating RPD

Ways:

Check repository for consistency (Checks for any kinds of errors i.e. logical column not                                   
                                                      mapped to physical column)

Turn on logging   (Test rpd configuration by setting logging level.)
            Logs are captured in NQQuery.log file
          Level 1 logs—session id, user id, request  id
          Level 2 logsàlevel 1 logs + BM name ,Presentation catalog name, rpd name
Check business model via Oracle BI ODBC Client
Use Oracle Answers
Check results by inspecting SQL


Dimensional hierarchy

Level keys –Unique identifier for the level

Logical Level
 Grand Total  level and Default root level

         logical columns





To create a calculation measure to a fact use,
  1. expression builder to create a new logical column with a formula
  2. Select existing columns as the objects in the formula.

There are three methods to create calculation measure
1. use existing logical columns as objects in formula
2. use physical columns as objects in formula
3. use calculation wizards

You use logical columns for calculation formulas that require an aggregation rule that is applied before the calculation. You can also build calculation measures in Answers. The advantages to building calculation measures in the repository is the measures are built once and can be made available to all users. The advantage of defining a logical column formula based on existing logical columns is that you only have to define it once. When you create formulas based on physical columns, you have to map for each physical source it could be derived from.

Variables (Contain values) at RPD Level

Session (active till the user session is active)
     System            are predefined e.g. New USER
     Non System     are application specific and created by developer

Repository (active from the time BI server is started till it is shut down)

Static            Values are constant when server is running and are initialized

Dynamic      Values change according to refresh schedule and are initialized


Initialization Block (To initialize session variables and Dynamic repository variables)
One ib can be assigned to number of variables
VALUEOF(Var_name) to use the value of the variable


Aggregate tables

Aggregate tables store pre-computed results, which are measures that have been aggregated (typically summed) over a set of dimensional attributes


Times Series Function

Ago
Calculates the aggregated value from the current time back to a specified time period. For example, Ago can produce sales for every month of the current quarter and the corresponding quarter-ago sales

ToDate

aggregates a measure attribute from the beginning of a specified time period to the currently displayed time e.g. YTD sales

Traverse Folder
Authority to access objects in folders within the selected folder when the user does not have permission to the selected folder. Example: The user is granted Traverse Folder permission to the /shared/test folder. The user cannot access objects in the /shared/test folder, but can access objects stored in lower-level folders, such as /shared/test/guest.

Merging the rpds:

There are 2 ways 1)3 way merge with common parent
                            2)3 way merge with no common parent




Query logging is normally disabled because query logging can impact performance by producing very large log files.

Monday, 21 September 2015

what are the major difference between oracle 11i and R12 ?

Que: what are the major difference between oracle 11i and R12 ?
Ans :
Ø      11i only forms basis application but R12 is now forms and HTML pages.
Ø      11i is particularly in responsibility and operating unit basis but R12 is multi operating unit basis.
Ø      11i is particularly in set of books using and R12 using in ledgers.
Ø      11i in MRC Reporting level set of books called reporting set of books but in R12 reporting ledgers called as reporting currency. Banks are using at single operating unit level in 11i and ledgers level using in R12.

Differences between R12 & 11i.5.10 New R12 Upgrade to R12 – Pros and Cons Pros:
o       Sub-ledger Accounting – The new Oracle Sub-ledger Accounting (SLA) architecture allows users to customize the standard Oracle accounting entries. As a result of Cost Management's uptake of this new architecture, users can customize their accounting for Receiving, Inventory and Manufacturing transactions.
o       Enhanced Reporting Currency (MRC) Functionality – Multiple Reporting Currencies functionality is enhanced to support all journal sources. Reporting sets of books in R12 are now simply reporting currencies. Every journal that is posted in the primary currency of a ledger can be automatically converted into one or more reporting currencies.
o       Deferred COGS and Revenue Matching – R12 provides the ability to automatically maintain the same recognition rules for COGS and revenue for each sales order line for each period. Deferred COGS and Deferred Revenue are thus kept in synch.
Cons:
o       Resources – Availability of knowledgeable resources
o       Maturity – Though R12 is around since 2007, not all the modules are mature enough meaning modules like E-B Tax have many bugs being fixed by Oracle development.
o       Integration with customized applications – In a customized environment, all the extensions & interfaces need to be analyzed because of the architectural changes in R12

      R12 Features and differences with 11.5.10 – Inventory / Cost Management
o       Multi-Organization Access Control (MOAC) - Multi-Org Access Control enables uses to access multiple operating units data from single responsibility. Users can access reports , Concurrent programs , all setup screens of multiple operating units from single responsibility without switching responsibilities.
o       Unified Inventory - R12 merges Oracle Process Manufacturing OPM Inventory and Oracle Inventory applications into a single version . So OPM users can leverage the functionalities such as consigned & VMI and center led procurement which were available only to discrete inventory in 11i.5.10.
o       Inventory valuation Reports -There are a significant number of reports which have been enhanced in the area of Inventory Value Reporting
o       Inventory Genealogy - Enhanced genealogy tracking with simplified, complete access at the component level to critical lot and serial information for material throughout production.
o       Fixed Component Usage Materials Enhancement – Enhanced BOM setup screen and WIP Material Requirement screen that support materials having a fixed usage irrespective of the job size for WIP Jobs, OSFM lot-based jobs, or Flow Manufacturing
o       Component Yield Enhancements - New functionality that provides flexibility to control the value of component yield factors at WIP job level. This feature allows the user to include or exclude yield factor while calculating back flush transactions.
o       Periodic Average Cost Absorption Enhancements – Enhanced functionality for WIP Final Completion, WIP Scrap Absorption, PAC WIP Value Report, Material Overhead Absorption Rule, EAM work order, and PAC EAM Work Order Cost Estimate Processor Report.
o       Component Yield benefits - Component yield functionality user have the flexibility to control the value of component yield factors and use those factors for back flush transactions. Of course if the yield factor is not used, yield losses can be accounted for using the manual component issue transaction.

New Features:
    R12 Features and differences with 11.5.10 – Advanced Procurement Suite
o       Professional Buyer’s Work Center – To speed up buyers’ daily purchasing tasks – view & act upon requisition demand, create & manage orders and agreements, run negotiation events, manage supplier information.
o       Freight and Miscellaneous Charges – New page for viewing acquisition cost to track freight & miscellaneous delivery cost components while receiving. Actual delivery costs are tracked during invoice matching.
o       Complex Contract Payments – Support for payments for services related procurement including progress payments, recoupment of advances, and retainage.
o       Unified Inventory – Support for the converged inventory between Oracle Process Manufacturing – OPM Inventory & Oracle Inventory.
o       Document Publishing Enhancements – Support for RTF & PDF layouts and publish contracts using user specified layouts
o       Support for Contractor Purchasing Users – Support for contingent workers to create & maintain requisitions, conduct negotiations, and purchase orders.

New Features:
      R12 Features and differences with 11.5.10 – Order Management
o       Multi-Organization Access Control (MOAC) - Multi-Org Access Control enables uses to access multiple operating units data from single responsibility. Users can access reports , Concurrent programs , all setup screens of multiple operating units from single responsibility without switching responsibilities. They can also use Order Import to bring in orders for different Operating Units from within a single responsibility. The same applies to the Oracle Order Management Public Application Program Interfaces (APIs).
o       Post Booking Item Substitution - Item Substitution functionality support has been extended to post-Booking through Scheduling/re-scheduling in Sales Order, Quick Sales Order, and Scheduling Order Organizer forms. Item Substitution functionality is also supported from Planner’s Workbench (loop-back functionality) till the line is pick-released.
o       Item Orderability - Businesses need the ability to define which customers are allowed to order which products, and the ability to apply the business logic when the order is created.
o       Mass Scheduling Enhancements – Mass Scheduling can now schedule lines that never been scheduled or those that have failed manual scheduling. Mass Scheduling also supports unscheduling and rescheduling
o       Exception Management Enhancements – Improved visibility to workflow errors and eases the process of retrying workflows that have experienced processing errors
o       Sales Order Reservation for Lot-Based Jobs – Lot-Based Jobs as a Source of Supply to Reserve Against Sales Order(s). OSFM Displays Sales Order Information on Reserved Jobs
o       Cascading Attributes – Cascading means that if the Order header attributes change, the corresponding line attributes change
o       Customer Credit Check Hold Source Support across Operating Units - Order Management honors credit holds placed on customers from AR across operating Units. When Receivables places a customer on credit hold a hold source will be created in all operating units which have:
§         A site defined for that customer
§         An order placed against that customer.


New Features:
    R12 Features and differences with 11.5.10 – Shipping
o       Pick Release/Confirm Features
§         Pick Release enhancements - Enhancements will be made to the Release Sales Order Form and the Release Rules Form to support planned crossdocking and task priority for Oracle Warehouse Management (WMS) organizations. Pick release will allow a user to specify location methods and if crossdocking is required, a cross-dock rule. The task priority will be able to be set for each task in a sales order picking wave when that wave is pick released. The priority indicated at pick release will be defaulted to every Oracle WMS task created
§         Parallel Pick Release Submission - This new feature will allow users to run multiple pick release processes in parallel to improve overall performance. By distributing the workload across multiple processors, users can reduce the overall time required for a single pick release run.
o       Workflow Shipping Transaction Enhancement – Oracle has enabled Workflow in the Shipping process for: workflow, process workflow, activity and notification workflow, and business event
o       Support for Miscellaneous Shipping Transactions - Oracle Shipping Execution users will now be able to create a delivery for a shipment that is not tied to a sales order via XML (XML-equivalent of EDI 940 IN). Once this delivery has been created, users will be able to print shipping documents, plan, rate, tender, audit and record the issuance out of inventory. Additionally, an XML Shipment Advice (XML- equivalent of EDI 945 OUT) will be supported to record the outbound transactions.
o       Flexible Documents: With this new feature ,Shipping Execution users will be able to create template-based, easy-to-use formats to quickly produce and easily maintain shipping documents unique to their business. Additional attributes will be added to the XML templates for each report for added flexibility
o       Enhanced LPN Support - Oracle Shipping Execution users will now have improved visibility to the Oracle WMS packing hierarchy at Pick Confirmation. The packing hierarchy, including the License Plate Number (LPN), will be visible in the Shipping Transactions form as well as in the Quick Ship user interface.



New Features:
R12 Features and differences with 11.5.10 – Warehouse Management
o       Crossdock Execution – WMS allow you to determine final staging lane, merge with existing delivery or create a new delivery, synchronize inbound operation plan with outbound consolidation plan, enhance outbound consolidation plans and manage crossdock tasks.
o       Labor Management – WMS provides labor analysis. It gives the warehouse manager increased visibility to resource requirements. Detailed information for the productivity of individual employees and warehouses is provided
o       Warehouse Control Board Additions - Additional Task selection criteria
o       User Extensible Label Fields – WMS, users are now able to add their own variables without customizing the application, by simply defining in SQL the way to get to that data element
o       Material Consolidation across deliveries – WMS allows you to consolidate material across deliveries in a staging lane

New Features:
    R12 Features and differences with 11.5.10 – OSFM
o       Lot and Serial Controlled Assembly– Lot controlled job can now be associated with serial numbers to track and trace serialized lot/item during shop floor transactions as well as post manufacturing and beyond
o       Fixed Component Usage Support for Lot Based Jobs – OSFM now supports fixed component usage defined in the Bill of Material of an end it.
o       Support for Partial Move Transactions – Users are able to execute movement of a partial job quantity interoperation
o       Enhanced BOM to Capture Inverse Usage – Users can now capture the inverse component usage through the new inverse usage field in BOM UI
o       Support for Rosetta Net Transaction - comprising of 7B1 (work in process) and 7B5 (manufacturing work order).

New Features:
     R12 – Further Info…
o       The latest RCD (Release Content Documents) can be accessed from the metalink note 404152.1 (requires user name & password).
o       The TOI (Transfer Of Information) sessions released by Oracle Learning can be accessed from its portal at http:// www.oracle.com/education/oukc/ebs.html
o       Oracle White papers – Extending the value of Your Oracle E-Business Suite 11i.10 Investment & Application Upgrades and Service Oriented Architecture