Sunteți pe pagina 1din 13

Bex Analyzer + OSS

General stuff

Topics that will be discussed in this talk:

architecture overview
classifying the problem
tools in the analyzer neighbourhood
performance + olap trace
workbooks, roles and transport
sample customer messages

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 2


Architecture overview

Selector Navigator
Sapbex0.xla Sapbex.xla
Variablescreen LogOn Control
Starter for
entry via The
Sap GUI BExAnalyzer, Open/Save
:Navigation Dialog
Save, open
workbooks,
Frontend Tools
librfc

FUGR RRX/RRY first layer of the Olap interface Fugr RRMX


Workbook handling
Cl_rsr_request, cl_rsr_excel_grid second layer Rsrwbindex,rsrwbin
of the Olap interface dext, rsrworkbook,
Fugr: RRC0, RRK0, RRIx the olap layer rsrwbstore
Resp.BDS
Transport:XLWB,
SBIL,SBIB
Backend Architecture
SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 3
Classifying the error I

The first question: In which of the above component does the


problem occur?
Suggested strategies to answer this question:
Create a detailed step by step list, how to reproduce the error
Open Bex Analyzer from start menu
Open the query test
Right click on the cell A7 containing mat01
the standard excel contextmenu appears and not the BW
contextmenu
Can the error be reproduced in RSRT2 (html or tree mode)?
If yes: problem most probably not WB
Create an olap trace and report the trace number in the message.
If the problem cannot be reproduced in RSRT2, create an OLAP Trace
Transaction RSRTRACE, write the trace number into the message
Check the PC with SAPBEXc
Make sure that the SAPBEXc runs on the PC where the error occurs
Attach the resulting Workbook to the message

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 4


Classifying the error I

The first question: In which of the above component does the


problem occur?

Suggested strategies to answer this question:


Create a detailed step by step list, how to reproduce the error
Open Bex Analyzer from start menu
Open the query test
Right click on the cell A7 containing mat01
the standard excel contextmenu appears and not the BW
contextmenu
Can the error be reproduced in RSRT2 (html or tree mode)?
If yes: problem most probably not WB
Create an olap trace and report the trace number in the message.
If the problem cannot be reproduced inBy Analyzer
RSRT2, Problem:
create an OLAP Trace
OLAP Trace
Transaction RSRTRACE, write the trace number into the message
Query or bookmarkid is not enmough

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 5


Classifying the error II

Check the PC with SAPBEXc


Make sure that the SAPBEXc runs on the PC where the error occurs
Attach the resulting Workbook to the message
Newest Frontend version at least on one PC

Try to reproduce the problem using RFC and GUI connection?


Worst case: Reproduce the problem using PC Anywhere connection:
Problem occurs only on some PCs
The problem is definitly not a backendproblem
Frontend check is okay.
Example: Compile error in Module xxx of the sapbex.xla
Example: Connection loss without backend dump / x_message
(Note 100740 explains, how to establish such a connection)

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 6


Tools in the analyzer neighbourhood

SAPBEXC
RSRTRACE
Transaction RSRTRACE
Records all incoming parameters and allows replay
Depends on the user context
Tips+Tricks: If it runs into a break point, its a backendproblem
RSRT2
Html Mode / Tree Mode
PCAnywhere
Allows to see the problem, as the customer experiences it
Customer has to maintain SAPROUTERTAB
VBA Editor / Debugger (this should be my work, but in case you are
interested...)
Allows you to find errors in customers/sap code
The password of the sapbex.xla is cipria (high confidential)
RFC Trace
Can be switched on in sm50 on the server side
Usually not needed
Dump analysis
Transaction st22
You need to know the date when the dump occured

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 7


Performance + olap trace

There are 3 important numbers, that describe the amount of data that
the analyzer should present, how to get these numbers is explained
in the support pages:

Please include these numbers in the message in questions concerning


Performance.

Analyzer Performance

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 8


Workbooks, roles + transport

the workbook is automatically deleted after the last role link is


deleted
-the link role/workbook is a part of the role
-roles can be maintained and displayed in transaction PFCG
Or in the Bex Browser
-the transport object for roles is ACGR, for workbook it is XLWB
-se03 allows you to search for object
-se01 allows you to look at importing/exporting protocolls

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 9


Sample customer messages

0000394360
0000409946
0002323092
0000271127

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 10


Tips and tricks

Step 0: Are notes available that describe the problem.

Reproducable in RSRT2 Its a BEX-OT / BEX-ET-RT issue

if not Problem occurs only on one PC

Sapbexc check, does a new Installation solve the issue, if not


PC Anywhere

Problem occurs on every PC reproduce it with RFC/GUI

Connection (latest FEP)

If not possible to reproduceask customer to install latest FEP


on at least one PC PCAnywhere

if reproducable, record an olap trace, and tell us the number

+ create a detailed step by step list

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 11


Three quarks for master Lark

OlapTrace

Note
SAPBEXc

Step by step
rsrt2(tree/html)?

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 12


Webdialogs

Nearly everything can be reproduced in RSRT2


Olap Trace
F4-RSD_CHA_FILTER_GET
Settings: RSD1, RSDCUBE, Querydef
Process_cmd is the central method
Different Dialouges:
1.) Selector

2.) Properties

3.) Exception resp. Conditions

SAP AG 2003, BW in SAP NetWeaver, Laurie Nolan / 13

S-ar putea să vă placă și