Steps to Format a Workbook ?
Hi Experts,
I am looking to create a template for Workbook with some formatting in it (fonts, header, hier, color, etc) I was wondering if there were some specific steps that you go by ? Also, while formatting, do I use Excel tools or BEx for formatting ? Please send me a doc or link that would show me how to get that.
Thanks
Hi,
There are a couple of options.
The first option is to write complex vb coding which would pass the parameters from the main sheet to the sheet where the result area is displayed.
The sheet where the result area is displayed, would still have the navigational area, but will be hidden from the user. The vb code would pass the parameters to the referenced cells in the result area sheet.
One other option is to have a sheet called "DISPLAY" where in you would, using excel functionality, map the cells from various result area sheets. The users would then have a well formatted display to look at.
However, you should be aware that the second option too has certain limitations. It is preferable to use structures for the rows, since you want to have a fixed reference. In cases where you cant use structures, you should create a vb script to create the "Display" sheet.
Hope this helps.
Sunil
Similar Messages
-
Use the default format and partition step to format disk0 partition 1 in multiple disks sutiation
As we know,we need to disable the default format and partition step in ts to let mdt deploy os on C and leave the other partitions stay safe when there is only one disk on pc,and the way of installing operation system is logical drive letter store in a varible.
But what if there are 2 disks on pc,and for a record the disk 0 is always the OS disk,don't need to confirmed this.How can we modify the format and partition step to format only C on disk0 under this condition?then lead the mdt to do the rest deployment
by itself.
ThanksYou are pushing up against the design limits of MDT, and the more complex and/or arbitrary the disk configuration the harder it is for MDT to perform installations.
If you want to maintain the *existing* disk configuration, and just update the OS present, then the recommended course of action is to run MDT from *within* the OS (cscript.exe
\\server\deploymentshare$\scripts\litetouch.vbs), not from WinPE. When you do this, it's called a "refresh" scenario. MDT can capture the user files via USMT, and it knows which
partitions to use, because it's launched from within the OS itself.
Disabling the default Format and Partition step has other unintended consequences.
Keith Garner - Principal Consultant [owner] -
http://DeploymentLive.com -
What are the steps in formatting my iphone
what are the steps in formatting my iphone
"Formatting"? - it's not a hard disk, so formatting is not necessary.
If you mean you want to restore the phone to "factory defaults", see: http://support.apple.com/kb/HT1414 -
Save date in date format in workbook
Hi Gurus,
When I see the BEX report, the dates in the date column are in the date format. When I save it as work book and disconnect from BW, they are in the text format. So, when I try to sort it is doing in wrong way. Is there any way to save the dates in the date format only in the workbook.
Replies are appreciated
Thanks,
Regards,
aarthi.
[email protected]Hi:
The BEx method worked where you can derive a Key Figure Date from Characteristic Date.
I send you screen shots to your E-Mail becasuse its difficult to explain it all in Text. but its simple.
Process:
I hope you already created the Formula Variable that gets your Date.
If you have refer to thos doc. You will move your Dae Characteristic to a formula variable - Call it 'Date As Formula'.
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
Next, Create a New Formula in BEX.
Go to Columns. Right Click on Key Figure and create a new formula.
Call it 'Days to Date'.
Here, insert the formula variable that u created:
'Date As Formula' - DATE ( 0 )
DATE is the Second formula in Data Functions.
THis will give you the number of days for your date.
Next:
Create another New Formula as shown above with name
Date from Characteristic
Here, pick the Process Value As Date again.
And in the parenthesis, insert the formula that you just created:
DATE ( 'Days to Date' )
Insert this in the query.
Let me know if you have any questions.
Ram C.
Message was edited by: Ram Chamarthy -
Conditional Formating in Workbook
Hi,
My Requirement is to add conditions to a workbook. I know to do it in a query using Conditions & Exceptions but how about applying conditions to a workbook?
Help me in this regard. Thaks for all your time.
Regards,
MuraliHi Murali,
You can define a condition to hide information that is not currently relevant. You can define a condition for a query or a query view. The navigational state of the analysis grid is updated according to your specifications.
Conditions that you create in the BEx Analyzer are local conditions that are attached to the query view. Ensure therefore that local conditions are specific to the workbook that you are saving. You cannot delete global settings.
Procedure
1.To create a new condition, call the Conditions Dialog in analysis mode.
2. In the BEx Analyzer, in the context menu for the selected cell, choose Query Properties and then the Conditions tab page.
3.In the context menu, choose Create Condition to create a condition.
The Conditions Dialog appears.
4.Enter a description of the condition.
5.Specify the parameters for the condition.
You can define one or more condition rows for a condition.
a. In the screen area of the General tab page, choose New in the context menu. The fields are now input ready.
b. Select one or more key figures that you defined in the used query.
c. Select an operator.
d. Enter a relevant value for the selected operator.
e. To transfer your specifications to the list of factors, choose Transfer.
6.Make the characteristic assignments.
For more information, see Characteristic Assignment in Definition of Conditions.
7.Specify whether the condition is active or inactive.
To activate the condition, on the General tab page, select the Condition Is Active checkbox. If the condition is active, it is applied to the result set for the query. You can also activate a condition on the Conditions tab page of the Query Propertiesdialog box by using the context menu.
More information: Using Conditions
Deleting or Changing a Condition
8.To change your condition or delete a condition row, select the relevant condition row and choose the required function in the context menu.
To delete a condition, select the relevant condition on the Conditions tab page of the Query Propertiesdialog and choose Delete in the context menu.
he Change and Delete functions in the context menu are only displayed if you defined your condition in the BEx Analyzer. You cannot change or delete conditions that you created in the Query Designer. You only activate or deactivate these conditions.
Creating a Condition Using the Context Menu
9.You can also create a condition from the context of the current data cell in the results table. You can do this using one of the following options:
a. You can choose a condition in the context menu; this condition is based on the context of the selected data cell.
The context of the current cell is determined by the value of the cell. The key figure is determined by the position of the data cell. You choose the required operator from the list of condition rows. By default, the last drilldown characteristic in the results table is used as the characteristic assignment.
Note that this context menu is only available if there is no characteristic in the columns and it is not drilled down; otherwise it would be unclear which characteristic assignment is relevant.
■ Choose Context Menu for Selected Cell ® Create Condition ® Required Condition Row.
b.You can also call the conditions dialog in the context menu for the selected cell and then create a condition as you require.
■ Choose Context Menu for Selected Cell ® Create Condition ® Using Dialog Box.
c.You can choose a ranked list condition from the context menu and specify a threshold value.
■ Choose Context Menu for Selected Cell ® Create Condition ® Set Threshold Value.
d.Furthermore, you can use the context menu to specify whether a condition is active or inactive.
■ Choose Context Menu for Selected Cell ® Toggle Condition State.
Note that the context menu option Toggle Condition Stateis only displayed if you defined at least one condition when defining the data provider (query or query view).
Hope this helps u...
Regards,
KK. -
Workbook Analysis Grid & formatting/positioning
Hello xperts,
When designing/formatting a workbook with an analysis grid linked to a
dataprovider and the use of formulas, refreshing the workbook <b>resets</b>
all applied formatting and shows the default analysis layout (as if
changes to column/row positions are disregarded).
E.g. When inserting blank rows or centering text in a column, refreshing the query resets this formatting!
This is frontend functionality that <b>should</b> be supported in 2004s.
Anyone experienced this yet/knows a workaround/solution for this?
OSS message with prio high concerning this problem is pending as well, but it seems they're quite busy at SAP. I guess a SAP frontend patch is the only way to solve this.
Installed Frontend Patch is <b>10</b>
Please any good input is welcome!
best regards,
JvBHello,
I am using front end patch 9 and when I use to functionality 'Convert to Formula' this works fine.
In the analysis grid you would right-click in the body of the grid and select 'Convert to Formula'. Then when you refresh your workbook the format modifications should remain.
If you have not tried this already I think it should resolve your problem.
Fred -
Permanent workbook formatting with Excel
Hello community,
I am trying to format my workbooks in Excel (mainly text alignment within cells and merging multiple cells into one cell, simple stuff), but the formatting does not stick. The next time I open my workbook, the formatting is gone. How can I make the formatting permanent?
Thanks,
AlfredHi,
Go to workbook's Analysis mode click on the table-> Uncheck the checkbox 'Apply Formatting'->Save and apply Ur formatting and check the workbook.
Hope this helps...
Rgs,
Ravikanth -
Steps to plan and save data in Workbook
Hi all,
Please provide me steps to Plan and save a data in a real time cube using workbook.
I have gone through different articles in SDN and tried to relicate but failed to save the data.
May be I am missing some thing, some steps. Please provide me with steps as giving links will not help me.
Thanks
SunnyHi,
You will have to follow the below steps to create a workbook which can save data in realtime cube.
1. First create Aggregation level(mandatory for input ready query which can save data) in Planning Modeler.
Aggregation level you will have to create on Reatime cube.
Transaction code for Planning modeler is RSPLAN.
2. After you have created aggregation level .
-> Create Query in Query Designer on the Aggregation level.
3. Make sure that you have made the setting for keyfigure as Input-ready.
Also make sure to make you have set the Query Property as 'Start Query in Change mode".
-> Then only query will be eligible for entering and saving the data on execution.
4. Now when you execute the query in Bex Analyser and save it as Workbook.
-> Data can only be entered and saved when the query open in input-ready mode.
5. The best way to check in Bex analyser whether query is input-ready or not is
-> In the query result layout , use Right lcik of Mouse -> then in the context menu
-> you should see the following two options apart from other options
Two options are:
1. Transfer plan values
2. Save values
If you get these two options then query is input ready and you can enter data and save it in realtime cube using the
Right mouse click -> Save values
6. If query is not coming as input-ready then it means that not all charateristics are drilled down
-> means that rows does not contains unique records.
In that case you will have to drilldown to make each rows contain unique records.
-> The best way is to restrict the characteristics with variable or single values in filter area.
-> this will give you drilldown data and so the query will come as input-ready.
Pls also check the link:
http://help.sap.com/saphelp_nw70/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm
Regards,
Amit -
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 -
Formatting of Excel worksheet While using Export to Excel
Hello Experts,
I have a requirement to format the workbook according to the user needs while the user clicks "Export to Excel" in the webpage of Web template.
The major problem is with the hierarchy.. when exporting, the hierarchy nodes have triangular symbols.. is there any way to remove them??
What can i do, so that i can make changes to the default export format of the workbook, while exporting it??
Any helpful suggession will be appreciated and rewarded.
Thanks and Best Regards,
Vikas Bittera.Hi Mark,
Thank you very much for the response.. however this is not the full solution of my problem..
Now, if i execute the same query in the BEx explorer analyzzer, then even this setting does not work... it shows traingles.. wht oue intention is to use Excel grouping function, so that the user will have better navigation in hierarchy..
so is there any way to do this? we need to other formatting of the output.. is it possible that we can change the standard query ouput in excel??
Looking ahead for your response..
Thanks and Best Regards,
Vikas Bittera. -
How to put check box in a table format at the out put ? Urgent issue...
Hi,
I am working an assignment to assign multiple roles for multiplr user.
In selection screen we have to enter mutiple EMPNO from ..to
1) in second screen we will get the empno, First name, last name, Position,
From date, To date, Sap user ID, Email id in the table formate with first
column with Check box.
2) In second screen below the table I have to place the multiple roles just like in
the step loop format and below this one Execute button should be there.
If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design the second screen.
and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
Witing for kind response.
Thanks in advance.
BansidharHi upendra
There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
for(int i=0;i<wdContext.node<tablenode>()..size();i++)
if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
else
wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
See the attribute is boolean so pass true or false as a values in setter methods.
Regards
Kalyan -
New Excel Features - Use of Integration,Formatting and Formulae in BI 7
Hi Experts,
I had a look at the Excel integration section of the BI 7 Features and found the some new enhancements for Excel.We are planning to upgrade to BI7 and want to get some expert opinions
1. Excel Formulas allow access to any cell of the result set.
2. combining Excel formulas and Excel Formatiing allows the design of high end formated solution workbooks.
Can anyone explain me the difference between the Excel features in BW3.5 and BI7,with some real time examples.
Does it mean that we dont need any macros to execute some of the calculations or if there a different use in BI7?
Can i use all the features in MS Excel 2003?
Can I use the Existing Bex Browser and create new BI7 workbooks or do i need for Enterprise portal?
Thanks
MikeHi Experts,
I had a look at the Excel integration section of the BI 7 Features and found the some new enhancements for Excel.We are planning to upgrade to BI7 and want to get some expert opinions
1. Excel Formulas allow access to any cell of the result set.
2. combining Excel formulas and Excel Formatiing allows the design of high end formated solution workbooks.
Can anyone explain me the difference between the Excel features in BW3.5 and BI7,with some real time examples.
Does it mean that we dont need any macros to execute some of the calculations or if there a different use in BI7?
Can i use all the features in MS Excel 2003?
Can I use the Existing Bex Browser and create new BI7 workbooks or do i need for Enterprise portal?
Thanks
Mike -
Internal Drive w/external enclosure....how to format?
OK, I bought a Seagate 1TB drive and an IcyDock external enclosure and now I'm trying to determine the steps for formatting the drive. Anyone have experience doing this that they could provide instructions or best practices? Thanks in advance!
Thanks, that definitely helps. I'm going to go with HFS+, because it will mainly be used for video. I also just stumbled upon this article, which takes me the next step.
http://docs.info.apple.com/article.html?artnum=306143
thanks again -
How to recover windows data on an external hard drive formatted in time capsule
Hi there,
In desperate of some help.
I took a windows external hard which had data on it from a windows pc.
Plugged it into my Mac pro 13 and opened Time Machine. Time Machine then mentioned something along the lines of "erase - partion - cannot backup unless erase". It was not in that context but those words and phrases were mentioned. So without thinking i clicked erase.
What happened next was a newly formatted external hard for time machine back up appeared. It actually changed names from "untitled" to "Time Machine Back ups"
Apparently what i now need to do is:
Step 1) Format hard drive back to NTFS
Step 2) Recover the data that was on the hard drive.
What i tried to do is i downloaded software called StellarPhoenixMacDataRecovery and did an advance scan which took about 5 hours. The only info it recovered was what seemed to be system files from the new format. Approx 20mb in size. The data i lost was approx 100gb in size.
Please tell me there is a way to achieve step one and two without having a PHD in computer science and programming or parting ways with my hard earned cash?
Much appreciatedHi Loner,
Thanks for the reply.
I have located the program and will give it a try.
Cheers. -
Hi,
I just got myself Thinkpad X240 that comes with Windows 7 Professional 64 with Windows 8 Pro Recovery DVD.
The existing hard drive is:
Windows7_OS (C - 450 GB
Lenovo_Recovery (Q - 14GB
I would like to have another drive D: to seperate my program installations from my documents.
Like to find out how what are the steps to format the notebook. And do I need to create a recovery disc for Windows 7 Professional since the physical recovery disc that came in the box is a Windows 8 Pro. I prefer to use Windows 7 for now.
I'm looking at having the following:
C: - this is where i install all the programs ie Windows, IE, iTunes, MS Office etc
D: - this is where i keep all my working documents
Q: - what is "Lenovo-Recovery (Q"? Do I need to specifically create this drive during formatting, or will it be automatically created?
Appreciate a detailed explanation in steps as it's my first time formatting, thank you!Hi, maddinton
Actually, there are 3 partitions on Lenovo ThinkPads with win7 preloaded. In addition to you mentioned above there is System_DRV partition - primary, active, system, hidden. It includes some recovery tools fror the recovery features.
OK, refering to your questions I'd advice:
1. create Lenovo Recovery media using Factory Recovery Disks application in Control Panel
2. Backup your system using Lenovo Rescue & Recovery application
3. you can delete partition Q: as you have Lenovo factory recovery media for win7 preloaded.
4. launch Disk Manager and split partition C: (compress unused space) as you want. At the first step you'll see the maximum size that can be released on partition C:. Of course you have to leave less size for the new partition.
5. create new partition, assign new letter for it
6. reinstall Lenovo Rescue & Recovery in order to thnkvantage recovery option could work.
x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
Do it well, worse becomes itself
Русскоязычное Сообщество English Community Deutsche Community Comunidad en Español
Maybe you are looking for
-
I reset my ipod. how do i get the itunes screen off to use it again?
im trying to sell my ipod to a friend so i reset it to get all of my passwords and everything reset and now i cant figure out how to muse it again. the screen shows a usb plug with an arrow pointing to a round symbol that says itunes. how do i fix it
-
Issue Definition: Adobe reader is crashing when trying to print on windows server 2003. we have created ticket with Micorsoft & they recommended the below send the dump files to The Vendor "Adobe" should look into it and provide with patch or upgrade
-
Hello, I would like to include a back button as part of an html page however, it seems like 'history.back()' does not work in mobile Safari. Any suggestions on how to make it work? Thanks!
-
New Profile Option in Purchasing R12
I need to know the name of the purchasing profile option that allows a requisition or PO to reference a global contract purchase agreement from any supplier site. Any help will be highly appreciated. Pascal
-
I am looking for a setting that I can put in the Mozilla.cfg file to disable those buttons from being clicked. Because when I set the homepage and lock that setting a user can still click the buttons below the homepage setting to change their homepag