BI 7.10 Workbook functionality
Hello,
we created a workbook with BI 7.10 functionality. The problem ist after opening workbook and selecting variables user should log into system again. Even user logged into BEx Analyzer before. How we could change this so that user only has to log in only by opening BEx Analyzer and not again after variable screen?
Thanks in advance.
Friedrich
Hello Murali,
thanks für your response.
I opened the workbook in BEx Analyzer and logged with SAP Logon to backend system. Variable screen is opened and I fill the variables and click on OK. Now a SAP Logon prompt again to connect to backend system. I know that this features is not normal, but I don't know what the problem could be. Are there any settings in query or workbook options to suppress this second SAP Logon?
Many thanks in advance.
Best regards
Friedrich
Similar Messages
-
Create a drill down in function
HI all,
I could need some help, but I don't know if it is even possible.
Currently we use in a BI-IP workbook two levels on input. We use a filter setting in workbook function to give other chars filter values.
Example of the problem:
We've a layout with compcode, material and a keyfig
First we do input on compcode and material, both chars are in row so we can enter data.
Secondly we want to plan only compcode, with help of a function we put material to # (FILTER_VALUE_EXT). Causing material to be removed from layout.
Now we want to plan again compcode and material. So we remove filter value. ANd the issue is that the user need to put manually the material as drill down to rows.
Does someone now a need VBA trick or simple FIlter option for this? (Example is not respentative for problem, but is easiest to explain like this)
Thanks!
JvdPHi,
I advice you to go for VB coding only for the following scenarios,
1. User wants to see calculated values using the data from two reports.
2. User wants to display extended text in the workbook.
3. User wants special formatting in the Report like merging cells, making text bold, highlighting columns or cells.
In you case, you can actually include material as an attribute for compcode and then load the attribute master data in your BW system. Then you can create dropdown box on material and include a Exit variable for material, which gets filled by the value of compcode. The logic of your variable Exit code should be as follows,
Check in the master data table for the material attribute value of compcode to fill the dropdown box.
Try this approach and let us know whether your issue is solved or not.
Note:
For more information on the VB usage in BEx kindly refer to the following document,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ac5c27-7448-2c10-86aa-b513703c9f25?quicklink=index&overridelayout=true
Regards,
Balajee -
Hi all,
we are migrating some BEx workbooks to BO Analysis for office 1.4. As for our first try it worked really good in our opinion. We just have some question regarding the "got to" functionality and standard workbooks.
We created a standard workbook which we used as template for all our BEx reports. After migration we still have all the template look and feel but we want to use that created standard workbook for all our Analysis reports also when we use the "go to"/ "report to report interface" function.
For example:
The user will open a report workbook saved within the BW repository. For further analysis he/she wants to "drill down" to another query. With right click onto the table and selecting the "Go to" functionality the desired query is available as we configured all that within the query designer and the BW. By selecting the query, a new workbook opens without any layout or standard workbook look&feel. Just a new workbook with standard excel layout opens and the query result is entered from cell A1 to xyz.
We would love to have that report opened with a standard look and feel but can not find any way for this. Therefore we would need a template or standard workbook functionality so that every Analysis reports which will open, will have that basis template look&feel.
Could anyone provide help for that issue or is this not available in the Analysis version 1.4?
Many thanks in advance and just the best,
KatjaHi folks,
I am customizing a bunch on customer workbooks for my customers in the way you are looking for.
What you need is a mixture between Workbook settings, styles and the default settings being distributed within your installation.
Bad side of AO (currently..hope it will be fixed soon) is, you cannot grab the default workbook from within BW, it has to be stored in a shared network folder.
I am currently writing an article about it ( in detail) but here's the quick version .
Open a blank sheet in AO and define all Excel rellevant settings like e.g. Orientation (landscape, portrait etc) as well as your desired footers headers...
So everything that you may see in your template that is NOT SAP or BO defined:)
2. select any desired cell for the top left corner of your crosstab and insert any query (just placeholder)
3. use styles ( AO styles or selfmade styles (should be the default style)) to format your crosstab results like totals, conditions etc.
In case you redefine colors for standars (SAP styles) save your settings as new style e.g. MY_STYLE and deine it as default style
4. Save that workbook ( remove crosstab result data for confidential reaons from display before) to your desired network path (that can be reached by all AO users
5. Goto settings and define this workbook as the standard default workbook by selecting the just (bullet 4) saved workbook.
Now... last and least
Your self defined styles will be saved underneath the following path as shown in picture
the settings for the default workbook will be stored at Appdata Roaming as well (shown below)
Information is being stored in the xml file.
ALternatively, you may pre-configure all settings (styles as well as default workbook via registry
The structure of keys in registry and name of folder in AppData as well as STring value and xml file name is identical ( see pics)
Hope that help my helo you to brighten your day
Joerg Boeke
BIAnalyst GmbH -
Hi All
I want to put two Queries in BEx into a single workbook.So finally when I am running that workbook ,result of these two Queries with Overwriting the Existing cells can be obtained.
can any one of you please let me know how to use this with Workbook.
Is it possible to do this using workbook.I have not used workbook ever. If poossible can any one of you provide me a document regarding how to use workbook.
Regards
AshishBW 1.2B Report Development Tools 2u20131
&KDSWHU &UHDWLQJ :RUNERRNV
&RQWHQWV
Overview ..................................................................................................................2u20132
Before Getting Started............................................................................................2u20133
Creating a Workbook: An Overview......................................................................2u20135
Step 1: Starting the BEx Analyzer .........................................................................2u20136
Step 2: Creating a Workbook Template................................................................2u20137
Step 3: Saving the Template to the InfoCatalog ................................................2u201312
Step 4: Inserting Queries into the Workbook.....................................................2u201314
Step 5: Adding Visual Basic Functionality to Workbook..................................2u201316
Step 6: Saving the Workbook to the InfoCatalog ..............................................2u201323
Review....................................................................................................................2u201325
In this chapter you will learn:
How to create a workbook
template using the BEx
Analyzer
How to insert a query (or
queries) into a workbook
How to save a workbook
template to the
InfoCatalog
How to add pushbuttons
and textboxes to a
workbook template using
simple Visual Basic
commands
Chapter 2: Creating Workbooks
Overview
Reporting Made Easy 2u20132
2YHUYLHZ
Chapter 1 presented an overview of BWu2019s architecture, concepts, and terminology. In this
chapter you will learn how to use the Business Information Warehouse to create workbooks
(or reports).
As shown in the graphic below, creating a workbook in the BW is essentially a five-step
process:
To help you get started with the Business Information Warehouse, we have organized the
material as follows:
Chapter 2: Creating Workbooks
Chapter 3: Creating Queries
Chapter 4: Working with the BEx Browser
Chapter 5: Special Topics (including tips & tricks)
In this chapter you will be working with the BEx Analyzer and Microsoft Excel. With the
help of a business scenario (see next page), we will show you three guided tours:
< Creating a workbook template
< Inserting an existing query into a workbook
You are here
Enable access to a workbook
through the BEx Browser
Enable access to a workbook
through the BEx Browser
Create a new query or
modify an existing query
Create a new query or
modify an existing query
Enhance workbook layout
and functionality (optional)
Enhance workbook layout
and functionality (optional)
Insert desired query (or queries)
into a workbook
Insert desired query (or queries)
into a workbook
Create a workbook
template (optional)
Create a workbook
template (optional)
Chapter 2
Chapter 3
Chapter 4
1
2
3
4
5
Chapter 2: Creating Workbooks
Before Getting Started
BW 1.2B Report Development Tools
2u20133
< Using Visual Basic to add workbook functionality
In chapter 3 you will learn how to work with queries. In chapter 4 you will see how to
access workbooks through the BEx Browser.
%HIRUH *HWWLQJ 6WDUWHG
Before you start building workbooks, it is useful to understand the following:
< What is the business scenario? (see below)
< What does the finished workbook look like? (see next page)
%XVLQHVV 6FHQDULR
Take a few minutes to familiarize yourself with the business scenario shown below. All the
guided tours in chapters 2 through 4 are built around this business scenario.
Bungee Software, Inc. develops and markets games for personal computers. Best-selling
titles such as Portal Kombat, Barrio Brothers, and Kung Fu Grandma have helped Bungee
Software become a leading supplier of computer games. However, the company is
currently facing increased competition from Pixialated, Inc. To protect its market share,
Bungee Software has formed a task force to explore ways to streamline its sales processes.
The company has discovered that collecting and disseminating sales data to executives
consumes considerable time and resources. The task force believes that easier access to
sales and profit analysis information would save time and help executives with salesplanning
activities.
Some of the key questions the executives typically ask are:
< How does the sales revenue for 1998 compare with 1997 sales?
< What is the annual gross profit?
< What is the sales volume for the top products?
< What is the sales volume for the top customers?
< Which sales representative/manager is responsible for declining sales volume?
After evaluating its information needs, Bungee Software has decided to develop the
following reports in the Business Information Warehouse:
< Sales Analysis Report (in this example, 1998 vs. 1997)
< Gross Profit Analysis Report
1RWH The workbook you are about to develop is based on the SAP-delivered SD
DemoCube Workbook (in the SAP DemoCube channel). To follow the guided tours
covered in chapters 2-4, make sure that the DemoCube is active and loaded with the data
on your BW system. For more information on activating the SAP DemoCube, see chapter
5 or contact your SAP system administrator.
Chapter 2: Creating Workbooks
Before Getting Started
Reporting Made Easy 2u20134
$ 4XLFN /RRN DW WKH 2XWSXW
The SD DemoCube Workbook we are about to build contains two reports (or worksheets):
Sales Analysis Report and Gross Profit Analysis Report.
The screenshots below show what each of these reports looks like. Take a few minutes to
familiarize yourself with the layout and structure of the finished reports.
5HSRUW 6DOHV $QDOVLV 5HSRUW
5HSRUW *URVV 3URILW $QDOVLV 5HSRUW
Sales Revenue for 1997 and 1998
Percent change Gross Profit
Analysis
pushbutton
launches the
second report
Gross Profit
Analysis in the
workbook.
Text area
shows
comments that
explain report
data.
Sales Analysis
pushbutton
returns you to
the first report
Gross Profit Analysis
by Sales Organization.
Text area
shows
comments that
explain report
data.
Right-click the mouse to
drill down by sales
organization, distribution
channel, division, industry,
material, and more.
Pushbuttons to launch
other views of the data.
Chapter 2: Creating Workbooks
Creating a Workbook: An Overview
BW 1.2B Report Development Tools
2u20135
*XLGHG 7RXU
&UHDWLQJ D :RUNERRN $Q 2YHUYLHZ
Now that you are familiar with the sample reports shown in the previous section, you are
ready to create a workbook. If you have access to a Business Information Warehouse
system, you may want to follow along.
Shown below are the steps for creating a workbook (based on the business scenario):
Save the workbook to InfoCatalog Save the workbook to InfoCatalog
Add Visual Basic
functions to the workbook
Add Visual Basic
functions to the workbook
Insert query into the workbook Insert query into the workbook
Save the workbook template
to InfoCatalog
Save the workbook template
to InfoCatalog
Create a workbook template Create a workbook template
Start BEx Analyzer Start BEx Analyzer 1
2
3
6
5
4
If you plan to follow the guided tour on your own system, make sure that the BW
frontend components are properly installed on your computer. If necessary, contact your
system administrator for assistance.
To check if the BW frontend is installed on your computer, choose Start ® Programs ®
SAP BW Front-end.
If you do not find the SAP BW Frontend, try searching for SAP BW components under
other SAP logon menus.
Chapter 2: Creating Workbooks
Step 1: Starting the BEx Analyzer
Reporting Made Easy 2u20136
6WHS 6WDUWLQJ WKH %(HU
1. From your Windows desktop, choose Start ® Programs ® SAP Front-end BW.
2. Choose SAP Business Explorer Analyzer.
3. If you see a warning message about macros in Microsoft Excel, choose Enable Macros to
continue.
Microsoft Excel opens with the add-in SAP Business Explorer toolbar in the main window.
About the BEx Analyzer
The structure of BW workbooks is defined using the Business Explorer (BEx) Analyzer.
You can define queries, graphics and other elements, and insert them into workbooks.
The result of a query is presented in an Excel Worksheet. The BEx Analyzer is
implemented as an u201Cadd-inu201D for Microsoft Excel, and links queries to cells in Excel
workbooks. Thus, you evaluate query data by navigating through the query in an Excel
worksheet.
:KDW ,V WKH %XVLQHVV ([SORUHU 7RROEDU"
The SAP Business Explorer toolbar integrates BW reporting functionality in the Microsoft
Excel environment. The BEx toolbar enables filtering, sorting, drilldown, currency
translation, computation of results, use of attributes and hierarchies, saving and managing
workbooks, and more. In addition to the Toolbar, you can still use the full Excel
functionality.
Business Explorer Toolbar
Chapter 2: Creating Workbooks
Step 2: Creating a Workbook Template
BW 1.2B Report Development Tools
2u20137
New
Select from
InfoCatalog
Save to
InfoCatalog
Refresh
query
Undo OLAP
function
for active
cell
Tools
Change
query
Change
formatting Settings
Help
to create a new workbook
to change the existing query
to select and execute workbooks from the BW
InfoCatalog
to work with active cells to enable
functions such as computation of results,
drilldown, filtering, sorting, currency
translation, etc.
to save the current workbook to either the BW
Enterprise InfoCatalog or the user Favorites
to alter the font properties, background
color, and other formatting options in a
workbook
to refresh/update data in a query from the
source(s).
to insert/delete queries, attach charts,
display the header information of a query,
and set the password in the active Excel
workbook
to undo one navigation step
to make configuration settings for data
refreshing, connection to the BW server,
and more
1RWH As we start building a workbook template, it is important to recognize that a
workbook template is no more than an empty worksheet with some formatting; it does
not include any embedded queries. Creating queries is covered later in chapter 3.
6WHS &UHDWLQJ D :RUNERRN 7HPSODWH
After you have logged on to the BEx Analyzer, you are ready to start building your
workbook template.
1RWH Building a template is not mandatory when you are working with the Business
Information Warehouse. If you do not want to create a template at this time, you can
jump ahead to chapter 3 to learn about building queries.
Chapter 2: Creating Workbooks
Step 2: Creating a Workbook Template
Reporting Made Easy 2u20138
The process of designing your workbook template can be divided into the following
substeps:
1. Format the background
2. Hide the Excel toolbars
3. Insert company logo
4. Save the template to the InfoCatalog
)RUPDWWLQJ WKH :RUNERRN %DFNJURXQG
Start from the BEx Analyzer environment in Microsoft Excel.
1. In Microsoft Excel, choose
New from the standard
Excel toolbar. A new
spreadsheet workbook
appears.
2. Choose Format ® Sheet ®
Background.
3. Choose C:Program
FilesMicrosoft
OfficeClipartBackground
Wheat.
Note: If the BW frontend is
installed on a drive other than
C, use the appropriate drive
letter. You can choose any
background you like.
1
2
3
Chapter 2: Creating Workbooks
Step 2: Creating a Workbook Template
BW 1.2B Report Development Tools
2u20139
+LGLQJ WKH :LQGRZ 9LHZV
To add make your workbook easier to use, you may want to consider hiding some of the
window views.
1. Choose Tools ® Options.
2. In the Options window,
select the View tab.
3. Deselect Gridlines, Row &
column headers, Outline
symbols, Zero values,
horizontal Scroll bar, and
Vertical scroll bar. Do not
deselect the Sheet tabs.
4. Choose OK to save the
new options.
1
2
3
4
Chapter 2: Creating Workbooks
Step 2: Creating a Workbook Template
Reporting Made Easy 2u201310
+LGLQJ WKH 0LFURVRIW ([FHO 7RROEDUV
To make it easier for your users to use the workbook, you may want to consider hiding
some of the Excel toolbars.
1. Choose View ® Toolbars
and deselect Standard and
Formatting toolbars. Do
not deselect the Business
Explorer toolbar.
Your Excel worksheet should
look like the one shown at
right. Notice that the
horizontal and vertical scroll
bars, row and column
headers, formatting toolbar,
and gridlines are now hidden.
,QVHUWLQJ &RPSDQ /RJR
To further customize your workbooks, you can add your company logo (or other graphical
elements) to the workbook template. You have three options:
< Insert the logo in workbook template and save it to the InfoCatalog.
< Insert the logo and save the workbook as a Microsoft Excel template on your local drive.
< Upload the logo file to the BW system to have it appear in the BEx Browser (for more
information see chapter 5).
1
Chapter 2: Creating Workbooks
Step 2: Creating a Workbook Template
BW 1.2B Report Development Tools
2u201311
1. Copy the logo (or other
graphics) to your
clipboard using the copy
command (for example,
Ctrl+C in Windows) in
your graphics application
(for example, Microsoft
Paint, PowerPoint, etc.) .
2. Paste the clipboard
contents into your
workbook template. In
this example, the Bungee
Software logo was created
in PowerPoint and pasted
to the template. Using
drag-and-drop, position
the logo as needed.
6DYLQJ D /RFDO &RS RI WKH 7HPSODWH
In step 3 below you will learn how to save the workbook template to the InfoCatalog. To
reuse the template later, you may also want to save a copy of the template on your local
drive.
1. Choose File ® Save As
2. In Save as type choose
Template (*.xlt)
3. In File name, enter a name
for the template (for
example,
Bungee_Template.xlt)
4. Choose Save.
+LQW To create a new workbook (based on the saved template), simply choose File ® New.
From the popup window, choose Bungee_template.xlt.
2
Chapter 2: Creating Workbooks
Step 3: Saving the Template to the InfoCatalog
Reporting Made Easy 2u201312
6WHS 6DYLQJ WKH 7HPSODWH WR WKH ,QIR&DWDORJ
Saving the template to the InfoCatalog will enable others to use the template for report
creation. Additionally, it helps maintain a uniform "look-and-feelu201D for all reports in a
company.
1. From the template view,
choose Save to save it
to the InfoCatalog button.
2. Choose Add as new
workbook under the General
tab.
3. Enter a New Title (for
example, Bungee
Template).
4. Choose the Access in
InfoCatalog tab.
5. To make the workbook
template available to
others, choose in (public)
enterprise catalog.
6. Choose OK.
5
6
1
2
3
4
Chapter 2: Creating Workbooks
Step 3: Saving the Template to the InfoCatalog
BW 1.2B Report Development Tools
2u201313
7. The SAP Logon window
appears and prompts you
to log on to the BW
system. Choose the
system you want to use.
8. Choose OK.
Note: If you are already
logged on to a BW system,
you will not see the logon
window.
9. Enter the client number,
your user name,
password, and language
key.
10. Choose OK.
Your workbook template has
now been save to the
InfoCatalog.
If you are unsuccessful in logging on to the BW system after following steps 7
through 9 above, go to the SAP logon pad you normally use and log on to the
BW system.
To check if the template is
available in the InfoCatalog,
follow the steps below:
11. Switch to the BW system.
12. Choose .
7
8
9
10
11
12
Chapter 2: Creating Workbooks
Step 4: Inserting Queries into the Workbook
Reporting Made Easy 2u201314
The Bungee Template is now a
part of the Enterprise
InfoCatalog. You can allow
the user community to freely
access the template to build
reports.
The option to save the workbook to the Enterprise InfoCatalog may depend on
the authorization settings in individual user profiles. If you cannot save to the
Enterprise InfoCatalog, please see your system administrator.
6WHS ,QVHUWLQJ 4XHULHV LQWR WKH :RUNERRN
Queries pull together the data needed to build reports. The Business Information
Warehouse delivers many predefined queries. You can also design your own queries or
modify existing queries (see chapter 3).
To insert a query, start from
the BEx Analyzer. Although
you can insert a query into
any Excel spreadsheet, we
will show how to insert a
query into the newly created
Bungee template.
1. Choose the cell where the
query is to be inserted.
2. Choose Tools.
3. Choose Insert Query.
The newly created workbook
template is now available in
the InfoCatalog.
1
2
3
Chapter 2: Creating Workbooks
Step 4: Inserting Queries into the Workbook
BW 1.2B Report Development Tools
2u201315
4. In the SAP BEx: Select
Query window, open the
folder
0D_SAP_DEMOCUB to
view the nested hierarchy,
(for example, 0D_SD ®
0D_DECU for the Sales
Analysis Report).
5. Choose the query you
want to use (for example,
0D_SD_DEMO_Q0001).
6. Choose Open.
After inserting a new query,
your workbook should look
like the one shown at right.
7. Choose Sheet 2 to insert
the second query (Gross
Profit Analysis).
8. Repeat steps 2 through 4
to create the second
worksheet.
9. Repeat step 5 above but
choose
0D_SD_DEMO_Q0002
instead.
1RWH You can insert more than one query into a workbook.
4
6
7
5
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
Reporting Made Easy 2u201316
Inserting a Query into the Workbook Template
To insert a query into the workbook template, shown below is another approach:
< Choose Settings from the BEx toolbar and select Select workbook on New.
< Choose New from the BEx toolbar. It will prompt you to choose a previously saved
workbook template from the InfoCatalog.
< Select a query and choose Enter.
The query is inserted into the selected workbook template. Based on the new settings, in
future you will be prompted to choose a workbook template from the InfoCatalog every
time you choose New on the BEx toolbar.
6WHS $GGLQJ 9LVXDO %DVLF )XQFWLRQDOLW WR :RUNERRN
As shown in the business scenario on page 2u20132, Bungee Softwareu2019s workbook design calls
for pushbuttons to allow easy navigation between the two reports. Additionally, the reports
contain a textbox to allow annotations and commentary. To achieve this, you can add Visual
Basic functionality to the workbook template.
&UHDWLQJ 3XVKEXWWRQV
1. To continue working with
the workbook template
(using the SAP-delivered
DemoCube template),
start from the Business
Explorer Analyzer
window.
2. To create a pushbutton,
choose View ® Toolbars
® Control Toolbox.
2
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
BW 1.2B Report Development Tools
2u201317
3. From the Control Toolbox,
choose Command
Button.
4. Click to select an area
where you want to
position the first
pushbutton.
5. To edit the title of the
command button, choose
the Command Button,
right-click the mouse, and
choose Command Button
Object ® Edit.
6. Enter a name for the
pushbutton. In our
example, since we plan to
use this pushbutton to
launch the Sales Analysis
report, we call it Sales
Analysis.
7. Drag it to the lower left
corner of the spreadsheet
(or other desired
location).
8. Repeat steps 2 through 7
to create the second
pushbutton (Gross Profit
Analysis).
4
3
5
6
7
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
Reporting Made Easy 2u201318
9. Choose Sheet1 of the
workbook, right-click the
mouse, and choose
Rename.
10. Rename Sheet1. In this
example, it has been
named Sales Analysis.
11. Repeat steps 9 through 10
to rename the second
worksheet (Gross Profit
Analysis).
12. To delete the extra
worksheet, Sheet3, choose
Sheet 3, right-click the
mouse, and select Delete.
13. To define an action for the
pushbutton, double-click
the Sales Analysis
pushbutton (or choose the
Sales Analysis pushbutton,
right-click the mouse, and
choose View Code).
9
13
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
BW 1.2B Report Development Tools
2u201319
14. To link the Sales Analysis
pushbutton to the Sales
Analysis worksheet and
specify that the Sales
Analysis worksheet is to
be activated when the
pushbutton is clicked,
insert
Worksheets(u201CSales
Analysisu201D). Activate
15. Choose View Microsoft
Excel to return to the BEx
Analyzer.
16. Repeat steps 12 through
14 to define the action for
the second pushbutton
(Gross Profit Analysis) to
the second worksheet
(Gross Profit Analysis).
17. Position the cursor and
create a report title (for
example, Sales
Analysis Report).
18. To change the font
properties (font color
etc.), choose the Sales
Analysis pushbutton,
right-click the mouse and
choose Properties.
14
15
17
16
18
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
Reporting Made Easy 2u201320
19. From the Alphabetic tab,
choose BackColor, then
click the selection button
and choose ToolTip.
20. To change the font color,
go to ForeColor, click the
selection button, and
choose the Highlight
option.
21. Choose Close to exit
the Properties screen.
22. Repeat steps 18 through
21 to set the font color in
Properties for the second
pushbutton (Gross Profit
Analysis).
23. To test the action of the
Sales Analysis and Gross
Profit Analysis
pushbuttons, choose
Exit Design Mode from the
Control Toolbox.
Optional: You may want to
hide the sheet tabs at the
bottom of the screen.
24. To hide the sheet tabs,
choose Tools ® Options
from the Excel menu bar.
19
23
24
20
21
22
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
BW 1.2B Report Development Tools
2u201321
25. Choose the View tab.
26. Deselect Sheet tabs.
27. Choose OK.
The pushbuttons in the
workbook template for
Bungee Software are now
operational.
&UHDWLQJ D 7H[WER[
1. To create a textbox,
choose in the Control
Toolbox.
2. Position the cursor in a
cell. Then, click the
mouse, hold it, and drag
it to create the area of the
textbox.
3. Choose the textbox, rightclick
the mouse and
choose Properties.
2 3
25
26
1
27
Chapter 2: Creating Workbooks
Step 5: Adding Visual Basic Functionality to Workbook
Reporting Made Easy 2u201322
4. Choose the Alphabetic tab.
5. Choose MultiLine and
change the option to True.
6. Choose ScrollBars and
change the option to 3 u2013
fmScrollBarsBoth.
7. Close the Properties
screen.
8. To add (or edit) text,
choose the textbox, rightclick
the mouse, and
choose TextBox Object ®
Edit.
7
5
6
4
8
Chapter 2: Creating Workbooks
Step 6: Saving the Workbook to the InfoCatalog
BW 1.2B Report Development Tools
2u201323
9. In the textbox, enter the
explanatory text to
support report data.
10. Choose Exit Design
Mode in the Control
Toolbox to end design
changes.
11. Close the Control Toolbox.
12. From the BEx Toolbar,
choose Save.
13. Enter a new workbook
name and save it to the
InfoCatalog.
The Sales workbook for Bungee Software is now ready for use. We have added the functions
needed to build a sample workbook (based on the business scenario on page 2u20132).
6WHS 6DYLQJ WKH :RUNERRN WR WKH ,QIR&DWDORJ
1. To save the workbook to
the InfoCatalog, choose
Save to InfoCatalog.
1
11
10
12
9
Chapter 2: Creating Workbooks
Step 6: Saving the Workbook to the InfoCatalog
Reporting Made Easy 2u201324
2. You can either save your
workbook as a new
workbook or overwrite an
existing workbook. For
this example, choose Add
as new workbook.
3. Enter a title for the new
workbook, for example
Bungee Sales
Workbook.
4. Choose OK.
5. To give other users access
to this workbook, choose
in (public) enterprise catalog
from the Access in
InfoCatalog tab.
6. Choose OK.
2
3
5
4
6
Chapter 2: Creating Workbooks
Review
BW 1.2B Report Development Tools
2u201325
5HYLHZ
< Creating a workbook in BW is a five-step process:
Step 1: Create a workbook template (optional).
Step 2: Insert desired query (or queries) into a workbook.
Step 3: Enhance workbook layout and functionality using Visual Basic commands
(optional).
Step 4: Create a new query (or modify an existing query).
Step 5: Enable access to the workbook through the BEx Browser.
< The sample workbook covered in this guidebook is based on the SAP-delivered SD
DemoCube Workbook.
< A workbook can contain more than one query.
< The Business Explorer toolbar integrates BW reporting functionality in the Microsoft
Excel environment.
< To create a workbook, follow these steps:
Step 1: Start BEx Analyzer.
Step 2: Create a workbook template (optional).
Step 3: Save the workbook template to the InfoCatalog.
Step 4: Insert a query (or queries) into a new workbook.
Step 5: Add Visual Basic functions (optional).
Step 6: Save the new workbook to the InfoCatalog.
< When designing the workbook template, you can easily:
Format the background
Hide Excel toolbars
Insert company logo
< You can use Visual Basic commands to add pushbuttons, textboxes, and other functions
to enhance your workbook.
Chapter 2: Creating Workbooks
Review
Reporting Made Easy 2u201326 -
Excel 2008 Workbooks Not Searched as "Documents"
When using the "Find" command in the finder, any workbook opened in Excel 08 can no longer be found using the "Kind=Documents" sort. This applies to both .xlsx and .xls files. (.xls files which I have not yet opened in Excel 08 are categorized properly.)
They can be found by selecting "Kind=Other" and starting to type "Microsoft...". Not good when you're trying to quickly find every document you've modified today. Any other suggestions?
I use Excel the most, so I don't know if this also applies to the other Office 08 components.I cannot find the "excel get workbooks" function in the toolkit. Did you download the one that's posted in the second message in that thread, or a different version?
That library uses GOOP, and some GOOP stuff was included with LabVIEW. The GOOP object was designed to only keep track of the currently opened Excel application, and the currently opened workbook and the currently opened worksheet, as well as some other information. The individual VIs unbundle the information and make the ActiveX calls. NI's Report Generation Toolkit does the same thing - ultimately both have to eventually get down to the ActiveX calls. However, NI's Report Generation Toolkit is based on classes usinv LVOOP.
In terms of your issue, what are you trying to do with the other workbooks? -
Date condition not working correctly in Desktop
Hello,
I have two custom folders in Admin that are joined. One of the folders contains the following query:
SELECT ORGANIZATION_ID, ASSET_NUMBER, MIN(CURRENT_READING_DATE) FIRST_READ_DATE, MIN(CURRENT_READING) FIRST_READING
FROM EAM_METER_READINGS_V
WHERE PREV_DESC IS NULL
Group By ORGANIZATION_ID, ASSET_NUMBER
I want my workbook to report the earliest meter reading that exists, based on the date that is specified in the parameters in Desktop. When I create a parameter for the date, the workbook reports the earliest reading in the database; it ignores the date restriction entered in the parameter. This is the parameter:
First Read Date MIN BETWEEN :First Reading Date and SYSDATE
If I include the date condition in the SQL of the custom folder the workbook functions exactly as it should. The date condition is in the SQL as the following:
and current_reading_date between '01-JAN-2007' and SYSDATE
Since the workbook functions correctly when the condition is coded in the SQL but not when it is based on a parameter, I assume the problem is with the parameter. Any ideas on how I may correct this?
Thanks,
SteveThanks for the response Michael. I tried using the MIN function as you suggested, but I still am not getting the expected result. I’m not sure that I was clear in my initial problem description. I will try to provide more detail with this post.
The reason I have two custom folders is that my original query has a nested Select statement (EAMV) and I couldn’t find a way to pass the parameter from EAMV to Discoverer. Following is the original query. I suppose the first logical questions would be, is there a way to pass the parameter to Discoverer? Would this alleviate the need for the second custom folder?
SELECT K.ORGANIZATION_CODE "ORG" -- ORGANIZATION
, K.ORGANIZATION_ID
,A.NAME "PM SCHEDULE NAME" -- PREVENTIVE MAINTENANCE SCHEDULE NAME
--( (B.RUNTIME_INTERVAL/F.USER_DEFINED_RATE) + D.LAST_SERVICE_END_DATE) "PROJECTED READ DATE" -- USES USER_DEFINED_RATE FROM METER DEFINITION
,(C.LAST_SERVICE_READING + B.RUNTIME_INTERVAL) "PROJECTED READ UNITS" -- NEXT SERVICE READING DUE UNITS
,F.METER_UOM "UOM" -- UNIT OF MEASURE ON METER
,F.METER_NAME "METER NAME" -- METER NAME
,G.SERIAL_NUMBER "MAINT EQ NO" -- MAINTAINED EQUIPMENT NUMBER
,H.C_ATTRIBUTE1 "MAKE" -- MAINTAINED EQUIPMENT NUMBER - MAKE/MANUFACTURER
,H.C_ATTRIBUTE2 "MODEL" -- MAINTAINED EQUIPMENT NUMBER - MODEL
,H.C_ATTRIBUTE4 "SERIAL NO" -- MAINTAINED EQUIPMENT NUMBER - SERIAL NUMBER
,I.SEGMENT1 "ACTIVITY" -- ASSET ACTIVITY
,D.LAST_SERVICE_END_DATE "LAST READ DATE" -- DATE OF LAST PM SERVICE READING
,C.LAST_SERVICE_READING "LAST READ UNITS" -- UNITS OF LAST PM SERVICE READING
,E1.CURRENT_READING_DATE "CURRENT READ DATE" -- DATE OF CURRENT SERVICE READING (FROM METER FORM)
,E1.CURRENT_READING "CURRENT READ UNITS" -- UNITS OF CURRENT SERVICE READING (FROM METER FORM)
,E1.LIFE_TO_DATE_READING "LIFE TO DATE READING" LIFE TO DATE READING
--,(E1.CURRENT_READING - C.LAST_SERVICE_READING) "CURRENT/LAST VARIANCE" -- UNITS SINCE LAST PM SERVICE READING
,( (C.LAST_SERVICE_READING + B.RUNTIME_INTERVAL) - E1.CURRENT_READING ) "PROJECTED/CURR VARIANCE" -- UNITS REMAINING UNTIL NEXT SCHEDULED READING
,J.DESCRIPTION "LOCATION" -- OWNING DEPARTMENT DESCRIPTION OF ASSET NUMBER
,J.DEPARTMENT_CODE
,E1.DISABLE_FLAG
,G.CURRENT_STATUS
,B.RUNTIME_INTERVAL
,Y.SET_NAME
,EAMV.FIRST_READ_DATE READ_DATE
,EAMV.FIRST_READING READING
FROM EAM.EAM_PM_SCHEDULINGS A
,EAM.EAM_PM_SCHEDULING_RULES B
,EAM.EAM_PM_LAST_SERVICE C
,INV.MTL_EAM_ASSET_ACTIVITIES D
,EAM.EAM_ASSET_METERS E
,EAM.EAM_METER_READINGS E1
,EAM.EAM_METERS F
,INV.MTL_SERIAL_NUMBERS G
,INV.MTL_EAM_ASSET_ATTR_VALUES H
,INV.MTL_SYSTEM_ITEMS_B I
,BOM.BOM_DEPARTMENTS J
,INV.MTL_PARAMETERS K
,EAM.EAM_PM_SET_NAMES Y
,(SELECT ORGANIZATION_ID, ASSET_NUMBER, MIN(CURRENT_READING_DATE) FIRST_READ_DATE, MIN(LIFE_TO_DATE_READING) FIRST_READING
FROM EAM_METER_READINGS_V
WHERE CURRENT_READING_DATE BETWEEN '01-JAN-2007' AND '30-JUN-2007'
GROUP BY ORGANIZATION_ID, ASSET_NUMBER) EAMV
WHERE A.PM_SCHEDULE_ID = B.PM_SCHEDULE_ID
AND A.ACTIVITY_ASSOCIATION_ID = C.ACTIVITY_ASSOCIATION_ID
AND C.ACTIVITY_ASSOCIATION_ID = D.ACTIVITY_ASSOCIATION_ID
AND D.SERIAL_NUMBER = E.ASSET_NUMBER
AND D.ORGANIZATION_ID = E.ORGANIZATION_ID
AND E.METER_ID = E1.METER_ID
AND E1.METER_READING_ID =
(SELECT MAX(METER_READING_ID)
FROM EAM_METER_READINGS
WHERE METER_ID = E1.METER_ID
AND (DISABLE_FLAG = 'N' OR DISABLE_FLAG IS NULL))
AND E.METER_ID = C.METER_ID
AND E.METER_ID = B.METER_ID
AND E.METER_ID = F.METER_ID
AND D.MAINTENANCE_OBJECT_ID = G.GEN_OBJECT_ID
AND D.ORGANIZATION_ID = G.CURRENT_ORGANIZATION_ID
AND G.SERIAL_NUMBER = H.SERIAL_NUMBER
AND G.CURRENT_ORGANIZATION_ID = H.ORGANIZATION_ID
AND D.INVENTORY_ITEM_ID = H.INVENTORY_ITEM_ID
AND H.ATTRIBUTE_CATEGORY = 'EQUIPMENT DETAILS'
AND D.ASSET_ACTIVITY_ID = I.INVENTORY_ITEM_ID
AND D.ORGANIZATION_ID = I.ORGANIZATION_ID
AND G.OWNING_DEPARTMENT_ID = J.DEPARTMENT_ID (+)
AND I.ORGANIZATION_ID = K.ORGANIZATION_ID
AND A.SET_NAME_ID = Y.SET_NAME_ID
AND Y.SET_NAME IN ('MAIN','COMP')
AND G.CURRENT_ORGANIZATION_ID = EAMV.ORGANIZATION_ID
AND G.SERIAL_NUMBER = EAMV.ASSET_NUMBER
AND K.ORGANIZATION_CODE = 'MCC'
Using this query I want to show the most recent reading (current reading) and then give users the flexibility to enter an earlier date so the earliest reading as of that date will also show. For example, if they enter 1-JAN-2007 as the parameter and there was a reading taken on 2-JAN-07 and 28-JAN-07, the report should show the 2-JAN-2007 reading (in addition to the most recent reading in a separate column). Currently, everything on the report displays correctly, except for the reading based on the parameter. -
Roles for disabeling structure changes in excel
Hello togehter,
I have got a excel sheet which I can open by the "Analyzer-AddIn."
If the users have to change some data, there is an embedded save-button.
But if they use the normal excel save button, it could be that the excell will be destroyed.
And now my question,
is it possible to disable structure changes by clicking the normal save button in an excel sheet via (creating) SAP-Roles? Or is it only possible by chaning VB-Code?
Thanks in advance!
Greetings,
PeterHi Peter,
if you want to disable the standard "save" excel button you should use some custom VB code. Afterwards, you can include this VB code in your reports using the workbook functionality.
Regards,
Theodoros -
Refresh portlet report more frequently than once per hour
When you publish a report from discoverer in the portal, you can tell it to automatically refresh, but the most frequent refresh it allows is once per hour. Is there some way I can refresh a report more frequently than that? Can I use the scheduled workbook functionality to achieve this, since in there you can schedule it to run as frequently as once per minute.
I'm using Discoverer 10.1.2.
Thanks
-NissimThese are two different schedulers...
We are considering changing the UI to let the users specify a schedule frequency more frequent than once an hour. But that is in a future, as yet undecided release.
For the time being, you can resort to hacks to refresh Discoverer portlers more frequently than an hour. Some information on the same is available on Metalink. I shall see if I can publish in the next few days a blog post on how to do that. Of course you have to realize that something like this is not encouraged or supported.
Thanks
Abhinav -
Insert a new line - editText _ windows XP
hi,all.
When I push only "Enter" key, I want to insert a new line.
I am using Windows.so, I have to push "Ctrl + Enter" key to the editText field by default.
It is troublesome...
So,I thought about the following script.
But when I push "Enter" key , the cursor returns to the head.
Will you have something to offer?
var w = new Window('dialog',"Label",undefined);
w.minimumSize.height = 250;
w.minimumSize.width = 250;
w.myText = w.add('edittext',undefined,"type!", {multiline:true, scrollable:true});
w.myText.minimumSize.width = 240;
w.myText.minimumSize.height = 240;
w.myText.shortcutKey = "Enter";
w.myText.onShortcutKey = function(){
w.myText.text+="\r\n";
w.show();
Thanks.
nakamoriHI,
You can achieve this by inserting Input query in a Workbook and Creating 2 Buttons for SAVE and EDIT.
Assign normal Workbook functions to the buttons.
When Edit button is clicked a new line is displayed.
Regards,
Ravi -
Charts in BEx Analyzer - What are the Options in Excel 2007?
Hi Gurus!
The client wants to generate Tables and Charts in BEx Analyzer and e-mail to users.
We are using BEx 3.5 queries with on BW 7.0 and Excel 2007.
We are not allowed to convert to 7.0 queries, but can convert Workbooks from 3.5 to 7.0 , leaving the embedded query as 3.5.
Basically, We'd like to run one query and set of selections and use various subsets of the data to generate five charts.
End user would not accept entering five sets of selections into five charts.
Do we have an option for using 3.5 query and 3.5 or 7.0 Workbook functionality to control the output of the chart?
( I have used Charts in BEx Web and WAD, but not the Excel front end.)
We could output the table in use Excel functionality to generate the graphs, but is there a better way?
Thanks,
John HawkThe BEx 3.5 query in 7.0 works quite well. The Design icon Add-In features seem to work fime.
An Excel chart can easily be created from the data output, and the chart is refreshed as the data is refreshed.
John Hawk -
Hi folks. Just wanted to know if anybody knew how to merge 2 address books. I don't mean two identical or similar contacts. Whole address books.
A duplicated, put into B machine. They both took on separate lives.
This is what I am thinking:
- A backed up.
- B exported.
- B imported into A, conflicts resolved (that could take some time, if it's manual, as my book has 1600 cards)
- A (which is new), exported, put back into B.
Any ideas?
CheersWell, unfortunately, Address Book doesn't have a function to compare then only merge identical cards. Its four import options are Keep Old, Keep New, Keep Both, and Update. The Update option is closest to what you want, but it will assume that contacts with similar fields (like the John Q Public example I gave earlier) are the same person and will combine them into one (I found this out the hard way).
Your best bet I think would be to export All Contacts for each Address Book as a single vcard (this is the only format that Address Book natively exports), open in a spreadsheet/database program that can compare and merge identical fields, and do the combine there. Address Book can import .csv files, so something like Excel or Araxis Merge (➚) might be able to do it (I don't know if Excel's Merge Workbooks function is applicable in this case).
Perhaps other people have suggestions on how to only combine identical cards. I don't know programming, so AppleScript and Terminal puts me out of my depth. For what you want to do, Address Book's import/export functions are insufficient by themselves. -
Excel 2011 VBA library question
Hi
I've been asked to consider modifications to a series of Excel 2007/2010
workbooks in order to have them run on a Mac in Excel 2011. The workbooks
have been developed on Windows over a number of years, and today run on
Win7, either 32 or 64 bit, using either Excel 2007 or Excel 2010.
The particulars are that the workbooks have a significant amount of VBA
code that that is much more complex that recorded macros. The thing that
has me stumped is that the code uses DOMDOC60 and XMLHTTP60 classes from
the "Microsoft XML, 6.0" library as it is shown in the References dialog,
aka C:\Windows\Sustem32\msxml6.dll. The code is used to access webDAV servers
to retrieve and process XML files. All the other reference libraries used are
the same names on both platforms, so I expect that there might be some IFDEF
code to get the paths and the calls right, Mac v. Windows.
The big issue is that I can't find any libraries or documentation that
shows what to do on the Mac to get the equivalent classes. I'm new to
developing anything on a Mac, but I beleive that the functionality that the
code performs, i.e. GETs and PUTs, as well as XML parsing (nodes, nodeslists,
etc.) must be done in other apps on Mac.
The question is, what do I need to do to replace the lost functionality so
that I can make the workbooks functional on the Mac?
Your advice and help is appreciated.Hi Roger,
I've just landed in pretty much the same spot you were in last November. I've written some VBA macros for Office 2010/Windows and am now trying to figure out how to make them work on Mac Offie 2011. I'm using XMLHTTP and ADODB.stream to encode a file in base64 and post it to a server. ALL the stuff I used to make this happen on Windows seems to be missing. Did you ever figure out a solution for your problem? Thanks.
Dave -
How to pass multiple values from workbook to planning function ?
Hi,
I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
A.) input one value -> V1
B.) input three values -> V1;V2;V3
This function execute completely in web.
However, I want to use the planning function in workbook(Excel).
The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
thank you.Hi,
Please see the attached how to document (page no 16).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
Hope this was helpful
thanks -
Workbook won't open after import into test environment - Function Related
Hi Experts,
We have a disco report that uses a custom database function. The function has been registered and is valid in the development environment and the report works fine.
We have exported the business area, report and relevant functions from the development environment and imported them into the test environment (Using diso admin import/export tool) in the following order:
1. Functions
2. Business Area
3. Workbook
There were no errors during the import with the exception of a failed grant which was my logon and does not exist in the target environment.
When I attempt to open the workbook in the test environment I receive the following error message: Item dependancy"" not found in the EUL. Attempt to open workbook failed.
At first I though that this was a folder developer key issue because I did have to change the id of a folder that this report uses however I have re-synced the ID's by ensuring the eul id's were different and I have decompiled the workbook using the d51wkdmp tool and I have confirmed that the workbook is looking at the correct items.
I noticed that the workbook had three function references so in the development environment I deleted the fields that used the functions and re-imported the workbook, guess what it worked OK meaning that the folder ID's etc... are ok and all in sync.
I attempted to create a new workbook in the test environment that used the imported function. When I did I got an error message saying that there was too many parameters for the function, exactly the same process works in the development environment and the calculation creates ok. I checked the function definition in discover administrator (test environment) and the function is correct, parameters present and validates OK exactly the same as the dev environment however when I try to use it discoverer plus falls over!!!!
Any ideas/pointers, at the moment I can't see how this can be anything except a bug in the import utility as the function is OK in Development and doesnt work in Test, we have used the standard export/import tools.
Thanks
KeithHi Rod,
This error is occuring with functions that only have 2 or 3 parameters. My standard install processes do use the refresh option.
I have been following this up with Oracle Support and they have managed to replicate the bug in there environment. It has something to do with optional parameters, when you change all the parameters to required it works ok however I have other functions that have optional parameters that do work ok so it is clearly not just the presence of optional parameters that is causing the problem.
This is the first time (and probably the last) that I have tried to do disco migration using the admin import tool I have always used the command line interface to automate installs in the past, as I havn't run into this before I would imagine the bug is not present in the command line tool.
I will post an update when I hear back from Oracle Development on a fix.
Keith -
How to assign "back to start" function on a button in Bex workbook?
Hi guiys,
I want to control fitering funtion with buttons since every object takes time for filtering, I want to set multi objects and multi value in excel sheet and filter them at one with button command.
Filtering at ones is OK. the problem is when I want to filter out it shoIuld be done one by one as long as I know.
Can we go "back to start" function of the workbook with a button?
Thanks in advanceDear lim bk,
Under Data Provider - Commands ---> General Data Provider Commands --> Back and Back to Start. You can use the command RESET for Back to Start.
For more info, check this link -
http://help.sap.com/saphelp_nw04/helpdata/en/76/80a1393e3a6942e10000000a11402f/frameset.htm
Hope this helps you!
-Pradnya
Maybe you are looking for
-
How to find tables in schema affected after a particular timestamp
Hi Folks, I have a huge database size needs to be migrated and upgraded across different platforms, I done the initial migration and the upgrade test on the new server successfully to the latest release (11.2.0.4) and the new Oracle server is ready n
-
Using PD4ML library for convertin HTML to PDF
Hi all i am using API s from PD4ML library for converting HTML to PDF. what i am sending via HTML is a single HTML table.but the problem is i need to identify the number of lines which i need to give for single PDF page for the case when HTML table i
-
SourceFire - Adding a License to the Defense Center
To add a license: 1. Using Defense center Web portal login with Admin access 2. Select System > Licenses, Click Add New License. The Add License page appears. 3. Copy the license from the email, paste it into the License field, and click Submit Lice
-
I recently got a macbook Air and needed to reinstall my adobe creative suite to said new computer. I purchased creative suite online so I downloaded it from there and followed the installation instructions to a T. I originally purchased Adobe Creativ
-
Photoshop & Bridge not talking
I have Windows 7 and a full membership to Cloud - all software. For the past week, since the last update of Cloud Desktop, Photoshop requires licence validation every time I start my computer (which is taking a lot of time and shouldn't happen) and e