RRI Functionality in Workbook
Hi Guys
This is my first post on SDN and i am really not able to find out any solution for this problem.
I have 2 queries ( One is summary report other one is detailed level report ) connected thru RRI functionality ( T-code RSBBS). I have developed two separate workbook for them. Now i want to provide the same RRI functionality in workbook.
I am getting the option for jumping to other workbook in summary book but when jumping to other workbook its giving me an error that the query is not on the same server. while they are on same server.
I don't know if SAP allow jumping between workbook but if you have any idea about the error which i am getting or any other way to achieve this functionality i would really appreciate your help.
I have seen some post on SDN where somewhere macro code is mentioned to achieve this but that is not working
Thanks
Tripple k
Hi ..
i hope this will do little..
BW Reports GOTO function
Workbook as Jump receiver
Combine queries from two BWs in one Excel-workbook?
/thread/447028 [original link is broken]
Workbook as Jump receiver
Linking (within a web page) to a BEX Workbook
Combine queries from two BWs in one Excel-workbook?
Drill-Down from workbook to Workbook
Similar Messages
-
List of planning function in workbook
Hello all!
How I can get list of contents of the work book? What buttons, planning functions and planing sequences there are used?
I have found the table INDX with binary data (also class CL_RSR_DB_WORKBOOK and another functions). But how i can use it?Hi,
You can get the details from the workbook itself... In the bex tool bar, there is 'Design Tool Box'. You will get all the details pertaining to the workbook (PF\Query\PS) in that
Hope this helps
Godhuli -
RRI, graphs in Workbooks
Hello Gurus,
Firstly I would like to know if we can create jump queries between workbook and a query. I know I can jump from query to query and workbook to query but how about query to workbook.
Secondly is there a problem in creating graphs in a workbook based on just one category in the report and if so can we dynamically change the title on the graph.
Example I have 4 regions N, E, W, S and based on the sales rate I need to create graphs. I wanted the graph title changed depending on my selection criteria. Is it possible or I need to create them in WAD?
I am sure you guys would have a solution for this and expecting for an appropriate answer, thanks for all the prior help and ideas.
PriyaHi Priya,
As far as the jump target from query to workbook is concerned, I guess you want the query to jump to a particular navigation state that you have stored in the form of a workbook. For this it may be helpful to actually save a view and use that as a jump target. Look at this for more info:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a555de09411d2acb90000e829fbfe/content.htm
Hope this helps... -
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 -
Hi All,
I have been facing an issue with RRI which is working fine in Development system. But when i moved it to UAT, it is not working.
I have created the RRI between the report and the R/3 transaction. When i try to navigate from the report to the transaction in dev, it is working. But when it is moved into UAT, I'm not able to do the same function.
The system is not throwing any dump or error message. But when i clicked on the goto option, the control remains in the report itself. It is not even asking for the logon credentials for the source system. I tried to debug the code, but not able to find out the reason for the issue.
This is the first time, i'm trying the RRI functionality in UAT. I have included RRI object in the transport.
I am using BW3.5.
Is there anything needed to be additionally included while transporting or any configuration needs to be done in the system to acheive the functionality of RRI between report to R/3?
Please help me to overcome this issue...
Regards,
Yokesh Kumar.Hi,
I have checked the mapping in RSBBS. Everything is correct over there. And aslo, I found that the system is throwing a dump in the R3 with the error message,
"DYNPRO_SEND_IN_BACKGROUND"
"Screen output without connection to user"
But I could not figure out why the dump has thrown.
Is any one aware of this issue?
Regards,
Yokesh Kumar. -
How to Cache a Web Template in RRI scenario
Hi,
We have used RRI functionality to one of our requirements where in user can look at Territory wise info first and can drill down to any specific territory for Dealer wise info. We have used Control Query to cache Dealer info based on all the territories. However, when user drills down from Territory to Dealer, system is not using the cache alreay created by the control query and resulting into slow response time.
Any thoughts on how to cache the Dealer info in this scenario? Any valuable input is appreciated.Hi Arun,
web template have a variable, that is Profit Center
Now user wants to give on web, only Region = Europe, not Profit Center. (Region is an attribute of PC)
Then he wants to have for each Profitcenters in Europa (let say 50 PCs) a seperate printout.
Now he should call the report 50 times for each profit center should click on Print Button...
Cheers -
Report - Report Interface (RRI)
Hi All,
I am trying to figure out how the RRI function works with the NW2004s. I have configured this on the back-end using the RSBBS transaction but it does not show up neither in the Analyzer nor on the Web reports/Portal! Does anybody have an idea on how to go about this?
thanks,
PNIf you're working with a web template, make sure the parameter MENU_RRI is turned on in the entries of the context menu.
See context menu options here: http://help.sap.com/saphelp_nw2004s/helpdata/en/43/152fa54b315a38e10000000a422035/frameset.htm
If you are rendering a query in the portal, it will be using the standard 0ANALYSIS_PATTERN template - it's a good idea to save a copy this template before making any changes in the Web Application Designer.
If the RRI is set up correctly using RSBBS (are you going from query to query, or from query to template, or something else?) the RRI option should appear in the context menu when you execute the query in the BEx Analyzer (Excel add-in). -
Hi experts,
Wht is RRI functionality? Why we need to use this jump target? Wht is the use of this and how it impacts on the reports?
thanks,
deenHi,
You use the sender-receiver assignment to make the necessary settings for connecting a BW query to the report-report interface (RRI) in the BEx Analyzer. You can assign receiver reports to a sender report, that is, a query in BW, within BW as well as to another SAP system.
Creating Sender/Receiver Assignments
1. In the SAP Easy Access Menu of the BW system, choose SAP Menu ® Business Explorer ® Query ® Jump Target. You reach the Sender-Receiver Assignment Maintenance screen.
2. Select one of the two tab pages and enter the required data.
Tab page
What you need to know
Query
Enter the technical name of the sender query or select a query using value help.
InfoCube
If you want to assign the same jump target to all queries for an InfoProvider, enter the technical name of the required InfoProvider or select it using value help.
3. Choose Create. You reach the Maintain Sender-Receiver Assignment dialog box.
4. Under Report Type, choose a receiver. You have the following options:
¡ BEx Query (see BEx Query as Receiver)
¡ BEx Web application
¡ BW Crystal Report
¡ InfoSet query (queries on Classic InfoSets)
¡ Transaction (see Create Transaction as Receiver)
¡ ABAP/4 Report
¡ Web address (see Create Web Address as Receiver)
To learn about features of the various types, see Receivers.
5. Choose a Target System. You have the following options:
a. Local: The jump target is within the BW system.
b. Source system: The jump target is outside of the BW system.
¡ One source system as a target system:
Specify the name of the source system. You can also choose the source system using input help.
¡ All source systems as target systems:
Choose All Source Systems. Specify the source system in which you first want to choose the required report
Log on to this source system.
6. In the Report field, enter a description for the receiver report. Once you have saved your entry, this description is displayed as the Report Title.
7. Choose Copy. You reach the Sender-Receiver Assignment Maintenance screen.
8. Save your entries.
9. For special cases, you can still maintain the assignment details. See also Maintain Assignment Details.
Changing Sender/Receiver Assignments
Once you have created a receiver, you can make the following changes in the fields in the table that are ready for input.
Group description
What you need to know
Report title
Specify a name.
Source system
Choose the required source system using input help. You can assign all source systems by entering *.
InfoSource
If an InfoProvider is filled from several InfoSources, you can specify from which InfoSource you want to extract data. In the InfoSource column, choose the InfoSource you want to use using input help.
If you also want to change the Report Type, Target System or Report settings, choose Change. You reach the Sender-Receiver Assignment Maintenance screen. Make the required changes and choose Transfer.
Deleting Sender/Receiver Assignments
1. If you want to delete an assignment, select the corresponding row entry in the Receiver table.
2. Choose Delete. The system deletes the selected assignment.
Transporting Sender/Receiver Assignments
You get to the transport connection using the Transport Wizard. You can use it to transport sender-receiver assignments that you created. All jump targets are then transported together. Queries as sender are collected by the object collector as necessary objects, and receivers as optional objects.
Result
Jump targets, which were assigned to a BW query, are available for selection in Web applications and in the BEx Analyzer by means of the context menu under the Goto function. -
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 -
Selection Screen pop up issue - with jump query RRI
Hi Experts,
I am facing one issue regarding Jump Query(RRI) functionality.
I have one query and also one drill down query.
I need to jump from the first query to the drill down query.
To achieve this , I have added the first query as sender in RSBBS T-Code and added the drill down query as Receiver.
I have also done the variable assignment from the Assignment Details tab.
Now the Jump functionality is working.
But , whenever I am jumping to the receiver query , The selection screen pop up is appearing.
I don't want this selection screen to appear during jump.
Please help me in this regard.
Thanks,
BiswarupHi ,
For testing purpose , I have used a single query as sender as well as receiver query.
So , the characteristics set is same.
The query is a simple query, with only one input variable.
and I have assigned it, from variable assignment.
But still the selection screen pop up is coming , when trying to jump.
Please suggest.
Regards,
Biswarup -
Hi All
i have 8 reports 4 Overviewview and 4 Detailed
they are linked using RRI as
Overview A --> Detailed A
Overview B --> Detailed B
Overview C --> Detailed C
Overview D --> Detailed D
i have created another 8 reports using the save as funtionality for the above 4 Overview and 4 Detailed
they are alos linked using RRI as
Overview A1 --> Detailed A1
Overview B1 --> Detailed B1
Overview C1 --> Detailed C1
Overview D1 --> Detailed D1
but the problem is that Overview A1 is visible in all the Overview reports.
Overview A
Overview B
Overview C
Overview D
Overview A1
Overview B1
Overview C1
Overview D1
so now the scenario is
Overview A --> Detailed A, Overview A
Overview B --> Detailed B, Overview A
Overview C --> Detailed C, Overview A
Overview D --> Detailed D, Overview A
Overview A1 --> Detailed A1, Overview A
Overview B1 --> Detailed B1, Overview A
Overview C1 --> Detailed C1, Overview A
Overview D1 --> Detailed D1, Overview A
we have checked all the links in RSBBS, but we are unable to see any link for the overveiw A Maintained anywhere.
Please help.
regards
DI guess its most probably with save thing or caching .you copied queries ..right?
why not you delete rsbbs old entires and test for just one report for rri functionality by creating a new
rsbbs entry......check it out....it may help.
Most probably its related to caching issue....
regards,
rk -
Wanted to disable right click for RRI for one of coulmns...
Hi
I created query in WAD 7. The query output in Portal shows 5 columns. For this query i have RRI (Jump query). Could u pls. let me know how can I disable Right-Click functionality for one of the column field (basically i wanted to restrict RRI functionality for one of the field column).
Thanks...As far as I know, RRI works at the level of record, not column... So for any column in any record where you right click and select Go To, you'll get the settings from RSBBS...
Fields and settings specified in Assignment Details are for those parameters to be transferred to the target, not for determining what columns accept the right-click or not... -
Jump in a WebI report from report A to report B (BI4)
Hi all,
Within my WebI document I want to jump from the first report to a specific report in de total WebI report. Is this possible with the OpenDocument function?
An example:
Column A | Column B
Value 1 | KeyFigure 1
Value 2 | KeyFigure 1
My customer wants to click on "Value 1" and then jump to a report (same WebI document) with details of Value 1.
When clicking on "Value 2", he needs to jump to a report with details of Value 2.
Hope this scenario is possible in BI4 WebI or do I need to wait on the RRI functionality?
Can anyone help me?
Regards,
PieterThe problem with the value "#UNAVAILABLE" is solved. In this case I created a variable with the in-operator:
=[Spend 2011] In ([Segment type])
Now I want to jump to another report in my WebI document. For this scenario I created a new variable (with name test) with the formula:
=If [Segment type] = "FACILITIES" Then "Facilities_detail"
ElseIf [Segment type] = "HR" Then "HR_detail"
ElseIf [Segment type] = "ICT" Then "ICT_detail"
ElseIf [Segment type] = "MARCOM" Then "Marcom_detail"
ElseIf [Segment type] = "NOG TE SEGM." Then "Nog_te_segm_detail"
The dynamic Element sReportname I defined as: ="[test]".
After these steps, the hyperlink will not work with my dynamic Segment Type. Did anyone have this experience and how can i solve this?
Regards,
Pieter -
CAN NOT IMPORT BUSINESS AREA AS IT SAYS - JOINS NOT FOUND WHERE REQUIRED
We have recently migrated from Disco 4.1.48.08 to 10.1.2
Everything looks ok - we are able to look at existing workbooks and business areas. And we can export business areas successfully.
However
When we try to import some business areas it returns - JOINS NOT FOUND WHERE REQUIRED and fails. This is now causing a problem with how we promote from our test/uat and prod environments.
any ideas ?Here's some information from Support that helped me...
Discoverer has many options on exporting and importing objects. Entire End User Layers, Entire Business Areas or only selected objects could be exported. To simplify the process of exporting and importing Business Areas, it is suggested that the export and import process should be done with entire Business Areas. The reason why it is not recommended that selected objects are exported and imported as a norm is to simplify maintenance.
It is still possible to export and import selected objects, but a knowledgeable Administrator is recommended to head the procedure. The process could get
very complex and difficult to manage.
Some Additional Notes:
- Join conditions are exported, but are not indicated as an object. Join conditions are only exported ** if ** the joining folders are exported.
- If the ‘refresh’ option is performed in Discoverer Administrator on an object and the underlying object on the database is not available, the object is dropped from the EUL. It is of utmost importance that the objects exist on the underlying database before the ‘refresh’ option is executed.
- Functions and Workbooks are not exported when exporting an entire Business Area. Functions and Workbooks have to be exported separately.
The first bullet is what was giving me this error "JOINS NOT FOUND WHERE REQUIRED". I was unable to do a full export - another unrelated error, so I came up with an alternate solution. I created a new BA that only contained the standard folders that my two custom BA's referenced - by JOINS and inclusion in my complex folders. I exported all 3 and they imported into the new instance with no issue.
Jewell -
I have a query (say query 1) which has replacement path variable and a date variable, say A. The replacement path variable calls another query (query 2). If I use the same date variable (A) on query 2, will it take the value that the user entered in query 1 variable screen? In other words, will the date variable A value get passed from query 1 to query 2?
Hello Uday,
If my understanding is right u r passing the value of one query to the other, if so u can make use of the RRI functionality thru with u can maintain the relation between the two queries using variables in RSBBS.. Tcode.
Regards
KK
Maybe you are looking for
-
Hello to all, I'm having a problem concerning the use of ole objects. I'm using Oracle Forms 6.0.8.16.0 with Oracle Reports 6.0.8.1.7.1 on Windows 2000 with Oracle Database Server 9.2.0.4.0. I have several forms with base tables including blob column
-
Which power adapter for Europe
I will be visiting Russia soon and I would need a power adapter for both my macbook pro and my iphone, any idea of what is needed? Thanks!
-
Settlement during 'vi02' transaction
Hi, We have a scenario where in we engage a transporter to deliver goods to the customer. During sales-billing cycle a 'Shipping Cost' document is created through 'vi01' transaction code to capture the frieght cost. After the transporter delivers the
-
Hello, Unable to install Logic 8 (with license) on a Imac 2.4 ghz Core 2 Duo! Error message during installation, "contact the software vendor for assistance". I had already installed this version of Logic on another computer. Any idea before I call A
-
Hi. When I compile my jsp I get the error: EVAL_BODY_TAG has been deprecated The only thing I use is: <logic:iterate id="element" name="note">Does anybody know if that is what causes the problem. Thanks. Badleif, DK