Key points about using Pre- Calculation Service

Similar documents
DB Connect with Delta Mechanism

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

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

Information Broadcasting Part 3 Scheduling the First Report

Information Broadcasting-Part 2 - System Settings

Step by Step Method for File Archival in BW

Standalone BW System Refresh

MDM Syndicator: Custom Items Tab

Replacement Path: Explained with an Illustrated Example

Generate Export Data Source

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

Using Radio Buttons in Web Template

Data Extraction & DS Enhancement in SAP BI Step by Step

Process Chain Log Deletion

Universal Worklist - Delta Pull Configuration

Step by Step Procedure for DSO Creation

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

Step by Step Guide for PI Server Start and Stop Procedure

How to Create and Schedule Publications from Crystal Reports

Data Flow During Different Update Mode in LO Cockpit

Material Master Archiving in Simple Method

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

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

ecatt Part 6 System Data Container

SDN Community Contribution

Recreating BIA Indexes to Address the Growth of Fact Index Table

This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.

Easy Lookup in Process Integration 7.1

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

Data Source Replication and Activation of Transfer Structures

Performance Optimization of Long Running Queries Using OLAP Cache

SAP BW vs. SAP BusinessObjects Web Intelligence Functionalities

Database Statistics During ODS Activation

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

POWL: Infoset Generation with Web Dynpro ABAP

Role and Scope of ABAP in SAP BI

Setting up Connection between BW and R/3 for Data Load

A Step-by-Step Guide on IDoc-ALE between Two SAP Servers

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

Step-By-Step guide to Virtual InfoCube Implementation

Graphical Mapping Technique in SAP NetWeaver Process Integration

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

Reading Enhanced DataSource fields for the Remote Cube

Developing Crystal Reports on SAP BW

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

Triggering the Process Chains at Particular Date using Events

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Information Broadcasting Part 1 System Parameter Setting

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

Data Mining: Scoring (Linear Regression)

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Hierarchy in Business Objects with Expanded Hierarchy Logic

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

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable

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

Linking Documents with Web Templates

Planning Functions and Characteristic Relationship in Integrated Planning

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

Material Listing and Exclusion

Limitation in BAPI Scheduling Agreement (SA) Create or Change

Reporting Duplicate Entries

All about Compression

How to Work with F4 Input Help Effectively in BEX

Custom Process types Remote Trigger and End Time

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

Procedure to Trigger Events in Remote System Using an ABAP Program

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

Validity Table in SAP BW/BI

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

SAP Technical Upgrade Tips and Tricks

How to Display Traffic Lights for Exceptions in BI Web Reports

Real Time Data Acquisition (RDA) Overview and Step-by-Step Guide (SAPI and Web Services)

Using Nested Exception Aggregation in BEx Reports- Scenario

Troubleshooting Your ABAP Programs: Using Coverage Analyzer

SAP BI Analysis Authorization (Customer Exit Variables)

Performance Management in Data Loading: an Overview

Displaying SAP Transaction as Internet Application in Portal

Deploying BusinessObjects Explorer on Top of a SAP BI Query

BW Reconciliation. Applies to: Summary. Author Bio

MDM Syndication and Importing Configurations and Automation

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

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

Loading the Data for Time Dependent Hierarchy in SAP BI

Financial Statement Version into PDF Reader

Web Dynpro: Coloring Table Conditionally

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

Roadblocks During SAP BI 7.0 Upgrade and Their Resolutions

How to Configure User Status in mysap SRM

Download SAP Query Output to Local/ Network Folders in Background

Solution to the Challenges in Pivoting

Data Mining: Decision Trees

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

Creation of Key Figures with Higher Decimal Place Precision

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

Load Info Cube in SCM 5.0 (BI 7.0)

List of Values in BusinessObjects Web Intelligence Prompts

Cut Over Activities Specific for LIS* Data Sources

Steps for Implementation of Standard Data Store Object (DSO) for Purchase Cube in SAP BI 7.0

How to Check BW system Before Go-Live

SAP BusinessObjects Translation Manager Functionality and Use

Transcription:

Key points about using Pre- Calculation Service Applies to: Applicable BW 3.x and BI 7.0. For more information, visit the EDW homepage Summary Some important points to deal with, while using the Pre-Calculation service in BW / BI for Information Broadcasting. Author: Vimalanathan Murugan Company: Accenture Services (P) Ltd. Created on: 17 August 2011 Author Bio Vimal Murugan is currently working with Accenture, and is a SAP BI ABAP consultant with 56 months of experience in SAP BW 3.5 and BI 7.0 2011 SAP AG 1

Table of Contents A Quick Note... 3 For your attention... 3 Related Tables... 3 Related TCodes... 3 Related Programs... 4 Pre-Calculation Server - Check List... 4 Whenever a Pre-Calculation is running... 6 Related Content... 8 Disclaimer and Liability Notice... 9 2011 SAP AG 2

A Quick Note Pre-Calculation service is used to install the server point for Information Broadcasting. That is, the server through which the BEx Workbooks are setup to get broadcasted to multiple users, in different period / frequency. Pointed below are few notes that are to be concentrated at the time of setting up this service or using it. For your attention This article is not about HOW TO set up a Pre-Calculation service, but to remind about the important measures upon the process of setting-up or upon usage. Related Tables Pre Calculation Server RSPRECADMIN RSPRECALCADMIN RSR_PREC_LOGSYS RSR_PREC_LOGSYST RSR_PREC_QUEUE RSR_PREC_WB_SET Table for maintaining prec server workload Table for maintaining prec server workload Management of Logical Systems for WB Precalculation Text Table for Precalculation Servers Persistent Precalculation Queue Settings for a Workbook Related TCodes RSRD_ADMIN RSRD_LOG RSRD_REPLAY RSRD_START RSRD_TEST RSRD_LOG RSRD_REPLAY RSRD_START RSPRECADMIN RSPRECMAILTEST SLG1 SCOT SM59 SOST SM37 Broadcasting Administration Broadcaster Application Log Restart Broadcasting for Log Number Start Broadcaster for Test Purposes Test Producer/Converter/Distributor Broadcaster Application Log Restart Broadcasting for Log Number Start Broadcaster for Test Purposes BW Excel Workbook Precalc Admin Test for Sending Email Application Log: Display Logs SAP connect - Administration RFC Destinations (Display/Maintain) SAP connect Send Requests Overview of job selection 2011 SAP AG 3

Related Programs RSRD_BOOKMARK_REORGANISATION RSRD_CLEAN_SCHEDULES RSRD_MONITOR_SETTING RSRD_BROADCAST_START RSRD_BROADCAST_LOG RSRD_BROADCAST_STARTER RSRD_BROADCAST_REENTRY Pgm : Reorganization of Bookmarks/View IDs (Generated in Broadcasting) Clear All BRD Schedules Pgm : Display Database Content for Broadcast Setting Pgm : (Alternate for RSRD_START) Pgm : (Alternate for RSRD_LOG) Pgm : (Alternate for RSRD_START) Restarting a Cancelled Job Using the Application Log Number Pre-Calculation Server - Check List 1. Whenever you install Pre-Calculation server, please take care of installation path as mentioned in SAP note 1039616. The path of the Pre-Calculation service is the same as the path of BI front end installation. (In most cases this would be C:\Program files\sap\bw\frontend). After installation checkout if the following files are installed in the location C:\Program files\sap\bw\frontend. BExPreCalcServerProgram.exe BExPreCalcServiceRestarter.exe BExPreCalcWindowsService.exe BExPrecServiceInstaller.exe BExPreCalcRfcServer.dll BExPreCalcInstance.dll sapbexp.xla Issue: Sometimes the set-up will throw error like Precalculation failed: E value cannot be null Parameter name:buffer cannot precalculate Workbook wb_70_test2 Error occurred during processing of framework class CL_RSRD_PRODUCER_EXCEL, type PROD Solution: This issue is mostly related to inappropriate installation of Pre-Calculation server To solve this issue, you have to uninstall the Pre-Calculation server & restart the machine, and again install the Pre-Calculation server as specified in note 1039616. 2011 SAP AG 4

2. Sometimes the Pre-Calculation service will be in start mode in the Windows Services, but in TCode RSPRECALCADMIN, it will be in Yellow (Inactive) / Red (offline). In such cases it is necessary to kill the service and restart it. 3. Please do not create many instances (Register) in RSPRECALCADMIN for your Pre-Calculation servers. It s recommended to have 5 to 7 (max) depending upon the server system and RFC protocol. 4. Check your Microsoft Excel version and its support of Pre-Calculation server. (It is better to know the prerequisite of installing Pre-Calculation server). 5. Sometimes if you Pre-Calculate older Workbooks, it will throw unknown error or read-access error. To avoid this, upgrade your Workbook by opening it in new version of Excel Analyzer and save it again in there. This will upgrade your Workbook in the SAP document store and will be a fresh copy for your broadcasting tasks. 6. If in any time, the Workbook (after a refresh) is not properly saved, it will lead to document-read error during broadcasting. 7. After installing your Pre-Calculation server, check your Pre-Calculation server status (green), and if it is not shown in green, once again go to window services and restart your Pre-Calculation server. 8. Test your Pre-Calculation server in RSPRECADMIN. Go to your Pre-Calculation server (registered / instance that you created in RSPRECADMIN). Double clicking on it will give the broadcast setting details. You alternatively can use Ctrl+Shift+F10 shortcut key for this option. 9. BExPrecalcLog.txt and SAPBEX.trc, available in C:\windows\temp, are the two vital files we need to check at the time of Pre -Calculation failure. 10. Every Workbook s Pre-Calculation will be started under the name - SAPBEXPRECxxxx.xls and will exist in the above mentioned directory. 11. While restarting the Pre-Calculation service, we need to kill the Excel processes in Windows Task manager and try to restart the Pre-Calculation service from the Windows Services. 12. But in addition to these steps, we should also check inside the temp folder for the above mentioned files and SHOULD remove the files SAPBEXPRECxxxx.xls, where xxxx are randomly generated numbers. The reason behind this step is, if the Excel file exists (i.e., the copy of the broadcasted WORKBOOK), it will not release the access lock. 13. 10) Please note that if you are using Microsoft Excel 2003, you might have to consider calling Microsoft support in order to get hot fix 912022, (http://support.microsoft.com/kb/912022/en-us) since this hot fix is available only on-request. 2011 SAP AG 5

Whenever a Pre-Calculation is running 1. Latest copy of the Workbook (from the document store) will be taken. 2. Read-Only flag and an access lock will be set up on the original Workbook. 3. During Pre-Calculation (background refresh of Workbook by server) a new copy will be generated in the master system (server) under Windows\temp folder (the system in which the precalc server is installed). 4. This file naming convention will be SAPBEX@@@@.xls where the @@@@ is a rolling number automatically considered by the service. 5. Similarly two other trace log files, BExPrecalcLog.txt and SAPBEX.trc will be generated with all log details. In this file you will come to know how many times the Pre-Calculation server restarted no. of times the same / different Workbook is refreshed the read only flag and access lock on original Workbook is set and cleared properly before and after Pre-Calculation why the Pre-Calculation stopped whether the copy of Workbook after Pre-Calculation is sent to the client system or not, if not why, etc... 6. If you don t have access to check the windows\temp\sapbex.trc file in the master system (where the precalc server is installed and running) you can use an alternative TCode in your client system - RSRD_LOG. 7. An important thing is if same refreshed copy is generated for any other broadcast then U HAVE TO open the windows\temp folder in master system and check the SAPBEX@@@@.xls file whether it has older refreshed content or not.. 8. The logic behind this task is after every refresh (pre-calculation) this *.xls file will get deleted. If not then it is meant that it holds the read-only flag & access lock, and is not allowing the next Pre- Calculation to happen but sending the older (last) refreshed content. This is why sometimes the same report is getting broadcasted instead of different Workbook pre-calculation. 9. If the Pre-Calculation starts and if it can't create a copy (SAPBEX@@@@.xls) and place a read-only flag over the original Workbook, then it will broadcast the latest version of the same Workbook which is available in the document store. That is, the last copy of the Workbook being manually refreshed and saved in the server (for instance, if we saved a manual refresh copy in last month). 2011 SAP AG 6

10. There is an option for you to resend (success/failure) Workbook with the same contents, for the same users or different users. Right click on any of one the entries in TCode - SOST and you'll see this resend option. 11. After refreshing a Workbook, distributing it to go to web broadcast settings page, in the properties of the BRD setting, we have the option to choose which of our available pre-calc server instances can be used explicitly for it. By default, the BRD settings will try to post the Bg RFC request in BW system and the pre-calc server which is available (may be the 1 st or 4 th, any server) will grab this request and execute them in serial. 12. One precalc server instance can broadcast one copy of report at a time. Lets say, if you trigger 25 BRD settings and if you have 5 installed precalc servers instance (in active state) then first precalc server will take the first 10 jobs (not more that that until it finishes) execute them one at a time (serially and NOT parallel) and then again will try to fetch the next queued jobs. So 1st server - jobs 1 to 10 (serial execution) 2nd server - jobs 11 to 20 (serial execution) 3rd server - jobs 21 to 25 (serial execution) 2011 SAP AG 7

Related Content Creating Precalculation Servers For more information, visit the EDW homepage 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 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. 2011 SAP AG 9