BOAN15 VBA Programming in SAP BusinessObjects Analysis Edition for Microsoft Office. COURSE OUTLINE Course Version: 17 Course Duration: 1 Day(s)
SAP Copyrights and Trademarks 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions. Copyright. All rights reserved. iii
Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text iv Copyright. All rights reserved.
Contents vii Course Overview 1 Unit 1: Introduction to VBA Programming in SAP BusinessObjects Analysis 1 Lesson: Defining Use Cases for SAP BusinessObjects Analysis 3 Unit 2: VBA Basics 3 Lesson: Outlining Visual Basic for Applications 3 Lesson: Using Objects, Methods, and Properties 3 Lesson: Using Variables 3 Lesson: Explaining Debugging Mode 5 Unit 3: Prepare a Workbook for Business Users 5 Lesson: Showing the Prompt Dialog Using a Macro 5 Lesson: Showing and Hiding Analysis UI Components 5 Lesson: Saving Analysis Workbooks with Macros 7 Unit 4: Change Filters and Variables via Macros 7 Lesson: Filtering your Analysis Data Source 7 Lesson: Understanding Conditional Statements 7 Lesson: Working with Messages 7 Lesson: Using ActiveX Controls in your Workbook 7 Lesson: Explaining Loop Programming 7 Lesson: Explaining Array Programming 8 Lesson: Changing a Variable Value 9 Unit 5: Use Context Sensitive Information 9 Lesson: Obtaining Analysis Specific Information for a Cell 9 Lesson: Calling the Member Selector Using VBA 9 Lesson: Using Double Click for Navigation 11 Unit 6: Tips and Tricks 11 Lesson: Using LastError Information and the Analysis Addin Copyright. All rights reserved. v
vi Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: End User Copyright. All rights reserved. vii
viii Copyright. All rights reserved.
UNIT 1 Introduction to VBA Programming in SAP BusinessObjects Analysis Lesson 1: Defining Use Cases for SAP BusinessObjects Analysis Define use cases for SAP BusinessObjects Analysis Copyright. All rights reserved. 1
Unit 1: Introduction to VBA Programming in SAP BusinessObjects Analysis 2 Copyright. All rights reserved.
UNIT 2 VBA Basics Lesson 1: Outlining Visual Basic for Applications Outline Visual Basic for applications Lesson 2: Using Objects, Methods, and Properties Use Objects, Methods, and Properties Lesson 3: Using Variables Use variables Lesson 4: Explaining Debugging Mode Explain debugging mode Copyright. All rights reserved. 3
Unit 2: VBA Basics 4 Copyright. All rights reserved.
UNIT 3 Prepare a Workbook for Business Users Lesson 1: Showing the Prompt Dialog Using a Macro Show the prompt dialog using a macro Lesson 2: Showing and Hiding Analysis UI Components Show and hide analysis UI components Lesson 3: Saving Analysis Workbooks with Macros Save analysis workbooks with macros Copyright. All rights reserved. 5
Unit 3: Prepare a Workbook for Business Users 6 Copyright. All rights reserved.
UNIT 4 Change Filters and Variables via Macros Lesson 1: Filtering your Analysis Data Source Filter your analysis data source Lesson 2: Understanding Conditional Statements Understand conditional statements Lesson 3: Working with Messages Work with messages Lesson 4: Using ActiveX Controls in your Workbook Use ActiveX controls in your workbook Lesson 5: Explaining Loop Programming Explain loop programming Lesson 6: Explaining Array Programming Copyright. All rights reserved. 7
Unit 4: Change Filters and Variables via Macros Explain array programming Lesson 7: Changing a Variable Value Change a variable value 8 Copyright. All rights reserved.
UNIT 5 Use Context Sensitive Information Lesson 1: Obtaining Analysis Specific Information for a Cell Obtain analysis specific information for a cell Lesson 2: Calling the Member Selector Using VBA Call the member selector using VBA Lesson 3: Using Double Click for Navigation Use double click for navigation Copyright. All rights reserved. 9
Unit 5: Use Context Sensitive Information 10 Copyright. All rights reserved.
UNIT 6 Tips and Tricks Lesson 1: Using LastError Information and the Analysis Addin Use LastError information Copyright. All rights reserved. 11