Quantcast
Channel: SCN : Document List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all 152 articles
Browse latest View live

Analysis 1.3: Store prompt values as a variant

$
0
0

When working with data sources that contain prompts, you can choose the appropriate values for each prompt and then save those selections to the SAP BW repository as a variant that can be re-used when required.
In this tutorial, you will save a variant for the prompts associated with a data source.

Watch this Tutorial


Analysis 1.3: Navigate to another query or transaction using the Report-to-Report Interface

$
0
0

The Report-to-Report Interface (RRI) infrastructure enables you to set up destinations for queries in SAP NetWeaver BW that jump to other queries or transactions within or outside of BW. In this tutorial, you will navigate within an Analysis workbook to another query using RRI.

Watch this Tutorial

Business Objects Analysis - named user license

$
0
0

We are progressing towards purchasing Business Objects Analysis for Office and have questions concerned Named user licenses. Do we need any named user license or would the regualr user license suffice?  Also it looks like you need to purchase additional licenses for Zen or Design studio.  Has anyone else had these questions.

 

We are not a current business objects user - we are planning to use Analysis to replace Bex.

 

thanks for all responses.

SAP BusinessObjects Design Studio - Overview

$
0
0

Overview presentation about SAP BusinessObjects Design Studio. SAP BusinessObjects Design Studio, allows for intuitive design of centrally governable analytic content ranging from guided analytics to sophisticated OLAP applications and aggregated dashboards.

View this Presentation

Troubleshooting Tip

$
0
0

Somehow I always manage to forget to check note 1518359 that provides the support stack schedule for Analysis Office. 

 

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1518359

 

I installed one of the SP's, but I was getting frustrated that Analysis would not launch.  I uninstalled Analysis Office and still it would not work.

 

Then in Excel I went to File > Options > Add-Ins and then select Disabled Items

1fileoptions.png

2disabled.png3enable.png

 

 

Analysis was Disabled by Excel, and then I selected Enable and then everything worked.

Reviewing the File Menu in Analysis Office (Office 2010)

$
0
0

With Analysis Office 1.3 there are some new features in the File menu. 

 

First, launch Analysis Office from the SAP BusinessObjects program menu

1newfilemenu.png

 

See the Analysis folder.  You have the option to Open Data Source, Open Workbook, Convert the BEx Workbook and Save. 

 

Also notice on the right are recently used sources

 

Note that various other options may or may not be displayed depending on the platform setting options (Analysis > Settings > Platform Settings)

 

2platformsettings.png

More on Activate / Deactivate BEx Conditions

$
0
0

This blog covers one option to activate/deactivate BEx Conditions in Analysis Office 1.3

http://scn.sap.com/community/businessobjects-analysis-ms-office/blog/2012/07/23/sap-businessobjects-analysis-office-13--enabledisable-bex-conditions

 

There is another way to activate/deactivate through the Filter menu

 

Step 1: Create the condition in the BEx Query

 

1bexquerycond.png

 

Step 2:

Use the BEx Query as a data source in Analysis Office

Use the Filter Menu as shown below

2filtermenu.png

The other alternative is to use the context menu to activate/deactivate filter

3contextmenu.png

Extended API available in Analysis 1.3

$
0
0

This document reviews the extended API available in Analysis 1.3 for analysis and components tab of design panel

 

 

The macro SAPExecuteCommand commands “Hide” and “Show” accept parameter TaskPane:

 

“Analysis” hides the tab Analysis in the task pane

 

“Components” hides the tab Components in the task pane

 

See this code below as an example:

 

Dim lResult As Long

lResult= Application.Run("SAPExecuteCommand", "Hide", "TaskPane", "Analysis")

 

As an example, I insert a button under the Developer tab.

1developerinsertbutton.png

 

Enter the code as shown below:

2vba.png

Clicking the first button hides the Analysis panel.

3hidesanalysispanel.png

Clicking the second button will hide the components panel.

4hidescomponent.png

 

Clicking the last button shows all the panels

5showsall.png


Official Product Tutorials – SAP BusinessObjects Analysis

$
0
0

The following tutorials have been developed to help you get started using the Business Intelligence Suite products. New content is added as soon as it becomes available, so check back on a regular basis.

 

You can submit and vote on ideas for enhancements to this product, or submit and vote on ideas for new tutorial topics or improvements to tutorial formats and delivery.

 

Looking for eLearning for the rest of the Business Intelligence Suite? Go to sap.com/LearnBI.

 

Note
The majority of these tutorials are for SAP BusinessObjects Analysis 1.x, edition for Microsoft Office. However, users of SAP BusinessObjects Analysis 4.x, edition for OLAP, will also find these useful because many topics are similar between the two products. Several tutorials for SAP BusinessObjects Analysis 4.x, edition for OLAP, are also listed below.

 

SAP BusinessObjects Analysis, Edition for Microsoft Office

 

Getting Started

  • NEW for 1.3  What’s new in Analysis, edition for Microsoft Office 1.3 (3:38)     interactive /video
  • Navigate the interface in Microsoft Excel 2007 (12:06)     interactive / video
  • Navigate the interface in Microsoft PowerPoint 2007 (5:31)     interactive / video
  • NEW for 1.2  Navigate the interface in Microsoft Excel 2010 (6:52)     interactive /video
  • NEW for 1.2  Navigate the interface in Microsoft PowerPoint 2010 (3:56)     interactive /video
  • Enable the Add-In (1:59)     interactive / video
  • Insert a data source directly from BW (3:01)     interactive / video
  • Insert a data source using an OLAP Connection (2:40)     interactive / video
  • NEW for 1.1   Insert a data source using a local connection to SAP HANA (3:08)     interactive /video

 

Creating Workbooks in Excel

 

Planning in Excel

 

Analyzing Data in Excel

 

Sharing Content in Excel

 

Working with SAP NetWeaver BW

  • NEW for 1.3   Upload local data to an SAP BW Workspace (4:18)     interactive /video
  • NEW for 1.3   Reload local data to an SAP BW Workspace (1:58)     interactive /video
  • NEW for 1.3   Enrich an existing query with local data from an SAP BW Workspace (1:59)     interactive /video
  • NEW for 1.3   Define your preferred platform (1:22)     interactive /video
  • NEW for 1.3   Store a document in the SAP BW NetWeaver repository (1:29)     interactive /video
  • NEW for 1.3   Store prompt values as a variant (1:32)     interactive /video
  • NEW for 1.3   Navigate to another query or transaction using the Report-to-Report Interface (1:17)     interactive /video

 

To view the full Analysis, edition for Microsoft Office playlist on Youtube, click here.

 

SAP BusinessObjects Analysis, Edition for OLAP

 

Getting Started

 

 

To view the full Analysis, edition for OLAP playlist on Youtube, click here.

 

To report a technical issue with a tutorial, send an email to: BI_Suite_eLearning@sap.com.

Advance Analysis Reports open up in Internet Explorer instead of Microsoft Excel - How to fix this?

$
0
0

Sometimes, when you want your reports to open up in SAP Advance Analysis for Microsoft Excel, it opens up in Internet Explorer.

 

This behavior may occur if Internet Explorer is configured to host documents for Office programs that are installed on the computer.

 

 

This can be fixed by 2 ways - Manual or Automatic

 

 

Automatic Fix:

Open up the below link and click on the "Fix It" button under "Fix it for me" section.

 

http://support.microsoft.com/kb/162059

 

 

Manual Fix:

Open up the same link and follow the steps under "Let me fix it myself" section.

Analysis 1.3: Define your preferred platform

$
0
0

You can define settings that will enable you to save your Analysis, edition for Office documents to the SAP BusinessObjects Business Intelligence (BI) platform, the SAP BW NetWeaver repository, or both.
In this tutorial, you will change the settings to enable you to save your documents to both systems.

Watch this Tutorial

Analysis 1.3: Store a document in the SAP BW NetWeaver repository

$
0
0

You can store your Analysis, edition for Office documents directly in the SAP BW NetWeaver repository.
In this tutorial, you will save a document to the repository, and then open the saved file from the same location.

Watch this Tutorial

SAP BusinessObjects Design Studio - Overview

$
0
0

Overview presentation about SAP BusinessObjects Design Studio. SAP BusinessObjects Design Studio, allows for intuitive design of centrally governable analytic content ranging from guided analytics to sophisticated OLAP applications and aggregated dashboards.

View this Presentation

Official Product Tutorials – SAP BusinessObjects Analysis

$
0
0

The following tutorials have been developed to help you get started using the Business Intelligence Suite products. New content is added as soon as it becomes available, so check back on a regular basis.

 

You can submit and vote on ideas for enhancements to this product, or submit and vote on ideas for new tutorial topics or improvements to tutorial formats and delivery.

 

Looking for eLearning for the rest of the Business Intelligence Suite? Go to sap.com/LearnBI.

 

Note
The majority of these tutorials are for SAP BusinessObjects Analysis 1.x, edition for Microsoft Office. However, users of SAP BusinessObjects Analysis 4.x, edition for OLAP, will also find these useful because many topics are similar between the two products. Several tutorials for SAP BusinessObjects Analysis 4.x, edition for OLAP, are also listed below.

 

SAP BusinessObjects Analysis, Edition for Microsoft Office

 

Getting Started

  • NEW for 1.3  What’s new in Analysis, edition for Microsoft Office 1.3 (3:38)     interactive /video
  • Navigate the interface in Microsoft Excel 2007 (12:06)     interactive / video
  • Navigate the interface in Microsoft PowerPoint 2007 (5:31)     interactive / video
  • NEW for 1.2  Navigate the interface in Microsoft Excel 2010 (6:52)     interactive /video
  • NEW for 1.2  Navigate the interface in Microsoft PowerPoint 2010 (3:56)     interactive /video
  • Enable the Add-In (1:59)     interactive / video
  • Insert a data source directly from BW (3:01)     interactive / video
  • Insert a data source using an OLAP Connection (2:40)     interactive / video
  • NEW for 1.1   Insert a data source using a local connection to SAP HANA (3:08)     interactive /video

 

Creating Workbooks in Excel

 

Planning in Excel

 

Analyzing Data in Excel

 

Sharing Content in Excel

 

Working with SAP NetWeaver BW

  • NEW for 1.3   Upload local data to an SAP BW Workspace (4:18)     interactive /video
  • NEW for 1.3   Reload local data to an SAP BW Workspace (1:58)     interactive /video
  • NEW for 1.3   Enrich an existing query with local data from an SAP BW Workspace (1:59)     interactive /video
  • NEW for 1.3   Define your preferred platform (1:22)     interactive /video
  • NEW for 1.3   Store a document in the SAP BW NetWeaver repository (1:29)     interactive /video
  • NEW for 1.3   Store prompt values as a variant (1:32)     interactive /video
  • NEW for 1.3   Navigate to another query or transaction using the Report-to-Report Interface (1:17)     interactive /video

 

To view the full Analysis, edition for Microsoft Office playlist on Youtube, click here.

 

SAP BusinessObjects Analysis, Edition for OLAP

 

Getting Started

 

 

To view the full Analysis, edition for OLAP playlist on Youtube, click here.

 

To report a technical issue with a tutorial, send an email to: BI_Suite_eLearning@sap.com.

Preview of 2013 ASUG Annual Conference: Focus on Analysis Office/OLAP

$
0
0

AC_Logo_black_lores.jpg

 

The 2013 ASUG Annual Conference is getting closer each day (May 14-16).  The following sessions highlight the Analysis Suite of Office/OLAP, focusing on customer-driven, customer-selected education.

 

This year, the 2013 ASUG Annual Conference is once again co-located with SAPPHIRE® NOW, May 14 - 16 in Orlando, Florida, at the Orange County Convention Center. The following is a snapshot of the education sessions hosted by the ASUG BI Community and its related Special Interest Group Analysis/BEx focusing on Analysis Office/OLAP:

 

Session IDTitle
301 Deep-dive into Analysis for OLAP, the next generation tool for web-based multidimensional analysis.
305 What’s new with Analysis Office & OLAP?
308 Customize the Look and Feel of BW Reports in SAP BusinessObjects Analysis (Office) by Using API Calls
4210 Influence SAP - ASUG SAP BusinessObjects Analysis Office/OLAP Influence Council
      CL32 BEx Quo Vadis - "Where is BEx Going"
312Moving Beyond BEx: Strategies for Unlocking the Value in Your BW Data with BI 4

 

 

BEx Quo Vadis - "Where is BEx Going" with SAP Product Manager Eric Schemer.

 

In this session Eric Schemer, Product Manager of SAP BusinessObjects Design Studio & Analysis will discuss options and recommendations for BEx customers with regards to next steps. The BEx Suite today caters for over 4 million BW users worldwide in over 14.000 implementations. The BEx products have been developed over 13 years and offer a very feature rich integration into BW. Customers are faced with a multitude of issues when defining their BI tool strategies beyond BEx. In an open Q&A forum Eric will discuss general questions on this matter and offer insight and recommendations based on the latest product developments at SAP.

 

 

Register Now for the 2013 ASUG Annual Conference


How to SetFilter with Analysis Office Macros

$
0
0

For your end users, you may want to set up filters so they do not need to use the Design Panel in Analysis Office.

 

I've already inserted a query in Analysis Office, and created a second sheet named "settings"

 

1asetupspreadsheet.jpg

 

I set up the data as shown above, and set up the Index formula to track where the combo box is on the selection tab.

1combobox.jpg

 

On the first sheet with the query I select the combo box from the Developer ribbon.

2formatcontrol.jpg

 

Using the context menu I select Format Control as shown above.

3macrovba.jpg

Using the context menu I select Assign Macro and copy in the code from above.  I will filter on Info Object project.

4filterinaction.jpg

 

The above shows it in action, with the combo box filtering on the Maintenance project.

SAPExecuteCommand Refresh - ambiguous return values - Part 2

$
0
0

The SAPExecuteCommand's Refresh command has some ambiguous return values, as I've previously documented.

 

I've since discovered a further, related ambiguity regarding the QueryLastRefreshedAt property of the SAPGetSourceInfo.Analysis function.

 

As a reminder:

 

The following code will return 1 (Success), regardless of whether the DataSource (DS_1) is already refreshed:

 

Application.Run("SAPExecuteCommand", "Refresh", "DS_1")

 

The following code will return the date/time that a DataSource was last refreshed. If the Datasource has not already been refreshed, it returns Error 2042.

 

Application.Run("SAPGetSourceInfo", "DS_1", "QueryLastRefreshedAt")

 

So, what happens to the date/time after each subsequent Refresh? It remains the same as the initial refresh date/time....

 

Dim vLastRefreshed as Variant

Dim vResult as Variant

'DS_1 hasn't been refreshed, vTest will be assigned Error 2042

vLastRefreshed = Application.Run("SAPGetSourceInfo", "DS_1", "QueryLastRefreshedAt")

 

'First Refresh of DS_1, vResult will be assigned 1

vResult = Application.Run("SAPExecuteCommand", "Refresh", "DS_1")

 

vLastRefreshed will be assigned the ACTUAL Refresh Date/Time

vLastRefreshed = Application.Run("SAPGetSourceInfo", "DS_1", "QueryLastRefreshedAt")

 

'Time elapses.....


'Second Refresh of DS_1, vResult will AGAIN, be assigned 1, suggesting that a Refresh actually occurred

vResult = Application.Run("SAPExecuteCommand", "Refresh", "DS_1")

 

'vLastRefreshed will be assigned the ORIGINAL Refresh Date/Time, suggesting the most recent refresh didn't actually occur

vLastRefreshed = Application.Run("SAPGetSourceInfo", "DS_1", "QueryLastRefreshedAt")


I've experienced this behaviour under SBO 1.4 and Excel 2007, please add your experiences with other versions in the comments...

 

I'm not sure that this is the desired/expected behaviour of the function, but it's something to watch out for in your code.....



SAPExecuteCommand - Be careful with your parameters

$
0
0

The Analysis' SAPExecuteCommand function can be used to execute a variety of commands.  The function can take up to 3 parameters, depending upon the particular SAP command that you're calling. For example, Refreshing all data sources requires the function be called with 1 parameter, and hiding the Ribbon requires calling the function with 3 parameters.

 

However, the function doesn't always check your parameters for validity, and it can sometimes return 1 (Success) if you don't provide the right parameters, so a simple typo can lead to a false positive. Just one more argument for a centralised wrapper for Analysis function calls (article coming soon)

 

For example, the following function call will hide the Ribbon, as expected, and return 1 (Success).....

 

Application.Run("SAPExecuteCommand", "Hide", "TaskPane", "Analysis")

 

But the following function call with a small typo in the first parameter, will also return 1 (Success), even though "Hidd" is not a valid parameter or command... The subsequent parameters thereby have no contextual meaning, and the TaskPane will not be hidden....

 

Application.Run("SAPExecuteCommand", "Hidd", "TaskPane", "Analysis")

 

Conversely, typos made in subsequent parameters (at least for the Hide command) do return 0 (Failure), as one might expect....

 

Application.Run("SAPExecuteCommand", "Hide", "TaskPann", "Analysis")

Application.Run("SAPExecuteCommand", "Hide", "TaskPane", "Analyss")


I doubt the false positives are desired/expected behaviour, and that the function should return 0 (Failure), or possibly an error, when an invalid parameter is provided.

 

I've experienced this under SBO 1.4 and Excel 2007 - Please add details in the comments if you've seen different behaviour in other versions, or ambiguous behaviour with specific function parameters....

Exploring the Analysis functions - Part 2

$
0
0

In Part 1, I discussed how we can find the functions that are registered by Analysis, and how we can determine their return types and argument types. This article goes further and exposes how those functions are made available to Excel and to VBA.

 

We saw in the last article that an Analysis function such as SAPGetInfoLabel is actually registered as "SAPGetInfoLabel_v12", so how does Excel expose the function to the Worksheet and to VBA?

 

Remember, with an Analysis Workbook open and connected, we can call SAPGetInfoLabel in 1 of 2 ways:

 

Method 1 - From the worksheet, by entering a formula:

 

=SAPGetInfoLabel("LastRefreshedAt")

 

Method 2 - From VBA, by calling Application.Run

 

Dim vResult as Variant

vResult = Application.Run("SAPGetInfoLabel", "LastRefreshedAt")

 

So, how does Excel know that SAPGetInfoLabel should actually call the function registered as SAPGetInfoLabel_v12? The answer lies in a little known feature of Excel's Application.Run method....

 

The Application.Run method takes up to 31 Parameters, the first parameter defines the macro or function that should be run, and the optional 2nd through 31st parameters define between 1 and 30 arguments to the macro or function. When you're calling a VBA macro, you provide the name of the macro as a string, but when you're calling a function from a DLL or XLL (as we are with Analysis functions), you provide the "Register ID".

 

So if we're calling a registered DLL function, how are we able to call it with the function name, as a string, and not be forced to provide the Register ID? Herein lies the little understood aspect of registered functions.... The exposed/friendly function name is defined as a hidden Name in the Application, so when you call the function by its exposed name, Excel is resolving that name to the Register ID of the registered function. You can find out more about hidden Application level names here, but in short, we need to use the Application.ExecuteExcel4Macro Method to resolve a friendly function name to the registered function name.....

 

To continue our example of SAPGetInfoLabel.... When the Analysis Add-in is loaded, it registers the function "SAPGetInfoLabel_v12" and a "Register ID" is allocated for that function for the life of the Excel session, or until Analysis is unloaded (the Register ID will likely be different every time you load Analysis). Furthermore, a name is added to the Application's hidden names collection (not the Application.Names collection) that associates friendly function name "SAPGetInfoLabel" with the Register ID.

 

We can find the Register ID from the hidden names collection, but only by calling the Application.ExecuteExcel4Macro method with the friendly function name as the only argument, as follows:

 

Dim dblRegisterID as Double

dblRegisterID = Application.ExecuteExcel4Macro("SAPGetInfoLabel")

 

'dblRegisterID = 841089055 in my current Excel/Analysis session

 

So, now you know more than you probably need to about how Excel lets you call Analysis functions. In part 3, we'll return to a more practical application, and see how we can use this knowledge to hide or hook/enhance the Analysis functions...

Exploring the Analysis functions - Part 1

$
0
0

The Analysis Add-in exposes a number of documented and undocumented functions, but how can we find out more about the functions that exist, and the arguments that they'll accept? Be warned, this gets technical.

 

Excel has, since the very early days (think Excel 4 Macros and REGISTER commands, rather than VBA Declare Functions), allowed external functions to be registered and used within Excel. The history and technical aspects of these capabilities is beyond the scope of this document, but we'll be relying on built-in VBA commands and some sparse documentation to discover more about the Analysis functions.....

 

The following procedure will output the Analysis functions and parameter signatures to the Immediate window in the VBE....

 

Sub EnumSAPFunctions()

 

  'The default path to the Analysis DLL, in Windows XP, and Analysis 1.4

  Const SBO_DLL As String = "c:\program files\sap businessobjects\analysis\BiXLLFunctions.dll"

 

  Const INDEX_DLL_PATH As Byte = 1

  Const INDEX_FUNCTION_NAME As Byte = 2

  Const INDEX_FUNCTION_ARGUMENTS As Byte = 3

 

  Dim aFunctions() As Variant

  Dim iFunctionCounter As Integer

 

  'Fetch an array of registered functions

  aFunctions = Application.RegisteredFunctions

 

  'Check we got an array

  If IsArray(aFunctions) Then

    'Loop over each function

    For iFunctionCounter = LBound(aFunctions, 1) To UBound(aFunctions, 1)

      'Check the function is from the SBO/Analysis DLL

      If StrComp(aFunctions(iFunctionCounter, INDEX_DLL_PATH), SBO_DLL, vbTextCompare) = 0 Then

        'Output the function name and the parameter/argument string

        Debug.Print aFunctions(iFunctionCounter, INDEX_FUNCTION_NAME), _

                    aFunctions(iFunctionCounter, INDEX_FUNCTION_ARGUMENTS)

      End If

    Next iFunctionCounter

  End If

 

End Sub

 

As of Analysis 1.4, this produces the following output (tidied and sorted alphabetically below, into a table, for ease of reading):

 

ApplyStyleForRanges_v12JUUUUUU
BExGetData_v12UC%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%
CallbackAfterWorkbookClosed_v12J
CallbackFddIconClicked_v12J
CallbackHeaderCellDropDownIconClicked_v12J
CallbackSaveWorkbook_v12J
CallbackWorkbookSaved_v12J
FormatNumberForRanges_v12JUUUUUU
SAPAddMessage_v12JC%C%C%
SAPCallMemberSelector_v12UC%C%C%UC%
SAPExecuteCommand_v12JC%C%C%
SAPExecutePlanningFunction_v12JC%
SAPExecutePlanningSequence_v12JC%
SAPGetCellInfo_v12UUC%C%
SAPGetData_v12UC%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%
SAPGetDimensionDynamicFilter_v12UC%C%C%
SAPGetDimensionEffectiveFilter_v12UC%C%C%
SAPGetDimensionInfo_v12UC%C%C%C%
SAPGetDimensionStaticFilter_v12UC%C%C%
SAPGetDisplayedMeasures_v12UC%
SAPGetInfoLabel_v12UC%
SAPGetMeasureFilter_v12UC%
SAPGetMember_v12UC%C%C%
SAPGetProperty_v12UC%C%
SAPGetSourceInfo_v12UC%C%
SAPGetUniformScaling_v12UC%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%C%
SAPGetVariable_v12UC%C%C%
SAPGetWorkbookInfo_v12UC%
SAPListOf_v12UC%C%C%
SAPListOfDimensions_v12UC%C%C%
SAPListOfDynamicFilters_v12UC%C%
SAPListOfEffectiveFilters_v12UC%C%
SAPListOfMembers_v12UC%C%C%C%C%C%
SAPListOfMessages_v12UC%C%
SAPListOfStaticFilters_v12UC%C%
SAPListOfVariables_v12UC%C%C%
SAPLogon_v12JC%C%C%C%C%
SAPMoveDimension_v12JC%C%C%C%
SAPSetFilter_v12JC%C%UC%
SAPSetFilterComponent_v12UC%C%C%C%
SAPSetPlanParameter_v12JC%C%UC%
SAPSetRefreshBehaviour_v12JC%C%
SAPSetVariable_v12JC%UC%C%

 

You'll notice that the function names are suffixed with "_v12" indicating that they're for use with Excel Version 12 (Excel 2007) or later (because they have argument types that are only valid in 2007 or later). You'll also notice that there are some functions that aren't mentioned in the Analysis documentation, like ApplyStyleForRanges_v12, and FormatNumberForRanges_v12.

 

The second column might seem a little more cryptic... It details the stuctures/types of the return value type, and the number and type of arguments that each function can accept. You can find more information about these argument structure codes here, but in short, "J" means the value is a signed 32-bit integer, "U" means the value can be "Values, arrays and range references" and "C%" means the argument must be a "Null-terminated Unicode wide-char string". The first structure code indicates the return type, while subsequent structure codes indicate the argument types.

 

For example, the SAPGetInfoLabel function is registered as follows: SAPGetInfoLabel_v12, UC%

 

The structure signature, "UC%C%" is interpreted as follows:

 

U - The return value will be of type "Values, arrays and range references"

C% - The first and only parameter is a "Null-terminated Unicode wide-char string"

 

See Part 2 for information on discovering more about the Analysis functions.

Viewing all 152 articles
Browse latest View live


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