Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8378

Re: Migrating BEx Reports from BEx Analyser to Analysis Office

$
0
0

Hi All,


To summarize,

When running (or Drilling) a SAP Bex Query (which involves large amount of data) using SAP BO Analysis Office, we sometimes get the following message "Size Limit of Result Set Exceeded".

Reason:  The default size limit with SAP BO Analysis Office is 500000 Cells. This limit throws the above message when the number of cells increases above the threshold value.

 

Solution: The Size limit can be set to a higher value either in individual Client PC and the BW Server side.

 

Option1: Setting Size limit in Client PC where Analysis Office is installed.This is to be done by altering the Windows Registry Parameter.

Run the following command in Command Prompt:

REG ADD HKCU\SOFTWARE\SAP\AdvancedAnalysis\Settings\DataSource /v ResultSetSizeLimit /t REG_SZ /d 9000000

This would set set the limit to a much higher value: 9000000 Cells.

 

Option 2: To maintain Size limit centrally,

The Default Size Limit is maintained in table RSADMIN using the parameter BICS_DA_RESULT_SET_LIMIT_DEF to 500000 Cells. This can be set to a higher value (say, 2000000 Cells).

Execute the program SAP_RSADMIN_MAINTAIN to view and maintain the Parameter BICS_DA_RESULT_SET_LIMIT_DEF centrally for all the Business Users to a agreeable value.

In order to use this setting in BW System, you should maintain the Windows Registry Parameter as ResultSetSizeLimit = -1

Execute the below command in command Prompt in Client PC:

REG ADD HKCU\SOFTWARE\SAP\AdvancedAnalysis\Settings\DataSource /v ResultSetSizeLimit /t REG_SZ /d -1

 

Caution:

We should make below considerations before changing the settings for below reasons:

If you are dealing with Large Data (more than Default 500000 Cells), certainly you are not doing Analysis. Use Background filter and limit the result-set to a smaller size.

 

 

If you increase the size-limit you may encounter “System.OutOfMemoryException” when analysing with Large result-set in Analysis Office.

 

Reason:  When you execute a query in Analysis, edition for MS Office, objects are created in the main memory of the front end for each cell of the result set. Regardless of the number of these cells, Analysis and MS Office itself allocate additional memory as a kind of baseline from the starting point on (about 100 MB).

Independently of the memory capacity in the front end, in a 32 Bit environment a process can allocate a maximum of approximately 2 gigabytes (GB). The .NET framework itself can have an overhead of 600-800 megabytes (MB). So the maximum memory allocation of the excel.exe process is approximately 1.2 (GB) before getting an out of memory exception on the front end.

 

The following characteristics of a query and the result set could have a negative impact to the memory consumption:

- number of attributes

- active list calculation

- activated input ready cells for a planning scenario

- number of member presentations (key / text)

- hierarchies.

 

In this case, reduce the number of cells to be displayed or the complexity of the query.

 

However, if you want to allocate more memory than the described maximum amount of memory in the 32 Bit environment, you can use the 64 Bit version of MS Office and the 64 Bit version of Analysis, edition for MS Office.

Sample Configuration:

OS: Microsoft Windows 7 (64-bit).

MS Office: MS Office 2010 (64-bit version).

Analysis Office: 64-bit Installer with Analysis Office 1.4 .


Now you can allocate more memory for Analysing a large result-set.


Thanks,


Krishnendu.


Viewing all articles
Browse latest Browse all 8378

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>