SAP BW Interview Questions: What Is ODS?
SAP BW Interview Questions: What Is ODS?
SAP BW Interview Questions: What Is ODS?
What is ODS?
It is operational data store. ODS is a BW Architectural component that appears between PSA ( Persistant
Staging Area ) and infocubes and that allows Bex ( Business Explorer ) reporting.
It is not based on the star schema and is used primarily for details reporting, rather than for dimensional
analysis. ODS objects do not aggregate data as infocubes do. Data are loaded into an IDS object by
inserting new records, updating existing records, or deleting old records as specified
byRECORDMODE value.
1. How much time does it take to extract 1 million of records from an infocube?
2. How much does it take to load (before question extract) 1 million of records to an infocube?
3. What are the four ASAP Methodologies?
4. How do you measure the size of infocube?
5. Difference between infocube and ODS?
6. Difference between display attributes and navigational attributes?
1. Ans. This depends,if you have complex coding in update rules it will take longer time,orelse it will take
less than 30 mins.
3. Ans:
Project plan
Requirements gathering
Gap Analysis
Project Realization
4. Ans:
In no of records
5. Ans:
Infocube is structured as star schema(extended) where in a fact table is surrounded by different dim table
which connects to sids. And the data wise, you will have aggregated data in the cubes.
ODS is a flat structure(flat table) with no star schema concept and which will have granular data(detailed
level).
6. Ans:
Display attribute is one which is used only for display purpose in the report.Where as navigational
attribute is used for drilling down in the report.We don't need to maintain Nav attribute in the cube as a
characteristic(that is the advantage) to drill down.
*****
Q1. SOME DATA IS UPLOADED TWICE INTO INFOCUBE. HOW TO CORRECT IT?
Ans: But how is it possible?.If you load it manually twice, then you can delete it by request.
[use Delta upload method]
Q2. CAN U ADD A NEW FIELD AT THE ODS LEVEL?
Sure you can.ODS is nothing but a table.
Q3. CAN NUMBER OF DATASOURCE HAS ONE INFOSOURCE?
Yes ofcourse.For example, for loading text and hierarchies we use different data sources but the same
infosource.
Q4. BRIEF THE DATAFLOW IN BW.
Data flows from transactional system to analytical system(BW).
DS on the transactional system needs to be replicated on BW side and attached to infosource and update
rules respectively.
Q5. CURRENCY CONVERSIONS CAN BE WRITTEN IN UPDATE RULES. WHY NOT IN TRANSFER
RULES?
Q6. WHAT IS PROCEDURE TO UPDATE DATA INTO DATA TARGETS?
Full and delta.
Q7. AS WE USE Sbwnn,SBiw1,sbiw2 for delta update in LIS THEN WHAT IS THE PROCEDURE IN LOCOCKPIT?
No lis in lo cockpit.We will have data sources and can be maintained(append fields).Refer white paper on
LO-Cokpit extractions.
Q8. SIGNIFICANCE OF ODS.
It holds granular data.
Q9. WHERE THE PSA DATA IS STORED?
In PSA table.
Q10.WHAT IS DATA SIZE?
The volume of data one data target holds(in no.of records)
Q11. DIFFERENT TYPES OF INFOCUBES.
Basic,Transactional and Virtual Infocubes(remote,sap remote and multi)
Q12. INFOSET QUERY.
Can be made of ODSs and objects/Charactaristic InfoObjects
Q13. IF THERE ARE 2 DATASOURCES HOW MANY TRANSFER STRUCTURES ARE THERE.
In R/3 or in BW??.2 in R/3 and 2 in BW
Q14. ROUTINES?
Exist In the info object,transfer routines,update routines and start routine
Q15. BRIEF SOME STRUCTURES USED IN BEX.
Rows and Columns,you can create structures.
Q16. WHAT ARE THE DIFFERENT VARIABLES USED IN BEX?
Variable with default entry
Replacement path
SAP exit
Customer exit
Authorization
Q17. HOW MANY LEVELS YOU CAN GO IN REPORTING?
You can drill down to any level you want using Nav attributes and jump targets
Q18. WHAT ARE INDEXES?
Indexes are data base indexes,which help in retrieving data fastly.
Q19. DIFFERENCE BETWEEN 2.1 AND 3.X VERSIONS.
Help!!!!!!!!!!!!!!!!!!!Refer documentation
Q20. IS IT NESSESARY TO INITIALIZE EACH TIME THE DELTA UPDATE IS USED.
Nope
source system. The procedure to do reconcilation is either you can check the data from the SE16 if the
data is coming from a particular table only or if the datasource is any std datasource then the data is
coming from the many tables in that scenario what I used to do ask the R/3 consultant to report on
that particular selections and used to get the data in the excel sheet and then used to reconcile with
the data in BW . If you are familiar with the reports of R/3 then you are good to go meaning you need
not be dependant on the R/3 consultant ( its better to know which reports to run to check the data ).
4. What is the daily task we do in production support.How many times we will extract the data at what
times.
It depends... Data load timings are in the range of 30 mins to 8 hrs. This time is depends in number of
records and kind of transfer rules you have provided. If transfer rules have some kind of round about
transfer rules and updates rules has calculations for customized key figures... long times are
expected..
Usually You need to work on RSMO and see what records are failing.. and update from PSA.
5. What are some of the frequent failures and errors?
As the frequent failures and errors , there is no fixed reason for the load to be fail , if you want it for
the interview perspective I would answer it in this way.
a) Loads can be failed due to the invalid characters
b) Can be because of the deadlock in the system
c) Can be becuase of previuos load failure , if the load is dependant on other loads
d) Can be because of erreneous records
e) Can be because of RFC connections
These are some of the reasons for the load failures
RSMO is used to monitor data flow to target system from source system. You can see data by request,
source system, time request id etc.... just play with this..
What is KPI?
A KPI are Key Performance Indicators.
These are values companies use to manage their business. E.g. net profit.
In detail:
Stands for Key Performance Indicators. A KPI is used to measure how well an organization or individual
is accomplishing its goals and objectives. Organizations and businesses typically outline a number of KPIs
to evaluate progress made in areas where performance is harder to measure.
For example, job performance, consumer satisfaction and public reputation can be determined using a set
of defined KPIs. Additionally, KPI can be used to specify objective organizational and individual goals
such as sales, earnings, profits, market share and similar objectives.
KPIs selected must reflect the organization's goals, they must be key to its success, and they must be
measurable. Key performance indicators usually are long-term considerations for an organization
(Steps
When you define selection criteria and formulas for structural components and
there are two structural components of a query, generic cell definitions are
created at the intersection of the structural components that determine the
values to be presented in the cell.
Cell-specific definitions allow you to define explicit formulas, along with
implicit cell definition, and selection conditions for cells and in this way,
to override implicitly created cell values. This function allows you to design
much more detailed queries.
In addition, you can define cells that have no direct relationship to the
structural components. These cells are not displayed and serve as containers
for help selections or help formulas.
You need two structures to enable cell editor in bex. In every query you have
one structure for key figures, then you have to do another structure with
selections or formulas inside.
Then having two structures, the cross among them results in a fix reporting
area of n rows * m columns. The cross of any row with any column can be
defined as formula in cell editor.
This is useful when you want to any cell had a diferent behaviour that the
general one described in your query defininion.
For example imagine you have the following where % is a formula kfB/KfA * 100.
kfA
chA
chB
chC
kfB %
6 4 66%
10 2 20%
8 4 50%
Then you want that % for row chC was the sum of % for chA and % chB. Then in
cell editor you are enable to write a formula specifically for that cell as
sum of the two cell before. chC/% = chA/% + chB/% then:
kfA
chA
chB
chC
kfB %
6 4 66%
10 2 20%
8 4 86%
1) What is process chain? How many types are there? How many we use in real
time scenario? Can we define interdependent processes with tasks like data
loading, cube compression, index maintenance, master data & ods activation in
the best possible performance & data integrity.
2) What is data integrityand how can we achieve this?
3) What is index maintenance and what is the purpose to use this in real time?
4) When and why use infocube compression in real time?
5) What is mean by data modelling and what will the consultant do in data
modelling?
6) How can enhance business content and what for purpose we enhance business
content (becausing we can activate business content)
7) What is fine-tuning and how many types are there and what for purpose we
done tuning in real time. tuning can only be done for infocube partitions and
creating aggregates or any other?
8) What is mean by multiprovider and what purpose we use multiprovider?
9) What is scheduled and monitored data loads and for what purpose?
Ans # 1: Process chains exists in Admin Work Bench. Using these we can
automate ETTL processes. These allows BW guys to schedule all activities and
monitor (T Code: RSPC).
PROCESS CHAIN - Before defining PROCESS CHAIN, let us define PROCESS in any
given process chain. Is a procedure either with in the SAP or external to it
with a start and end. This process runs in the background.
PROCESS CHAIN is set of such processes that are linked together in a chain. In
other words each process is dependent on the previous process and dependencies
are clearly defined in the process chain.
This is normally done in order to automate a job or task that has to execute
more than one process in order to complete the job or task. 1. Check the
Source System for that particular PC.
2. Select the request ID (it will be in Header Tab) of PC
3. Go to SM37 of Source System.
4. Double Click on the Job.
5. You will navigate to a screen
6. In that Click "Job Details" button
7. A small Pop-up Window comes
8. In the Pop-up screen, take a note of a) Executing Server b) WP Number/PID
9. Open a new SM37 (/OSM37) command
10. In the Click on "Application Servers" button
11. You can see different Application Servers.
11a. Goto Executing server, and Double Click (Point 8 (a))
12. Goto PID (Point 8 (b))
13. On the left most you can see a check box
14. "Check" the check Box
15. On the Menu Bar.. You can see "Process"
16. In the "process" you have the Option "Cancel with Core"
17. Click on that option. * -- Ramkumar K
Ans # 2: Data Integrity is about eliminating duplicate entries in the database
and achieve normalization.
Ans # 4: InfoCube compression creates new cube by eliminating duplicates.
Compressed infocubes require less storage space and are faster for retrieval
of information. Here the catch is .. Once you compress, you can't alter the
InfoCube. You are safe as long as you don't have any error in modeling.
This compression can be done through Process Chain and also manually.
Tips by: Anand
Ans#3: Indexing is a process where the data is stored by indexing it. Eg: A
phone book... When we write somebodys number we write it as Prasads number
would be in "P" and Rajesh's number would be in "R"... The phone book process
is indexing.. similarly the storing of data by creating indexes is called
indexing.
A) Update rules generally only have one return value. However, you can create a routine in the tab strip
key figure calculation, by choosing checkbox Return table. The corresponding key figure routine then no
longer has a return value, but a return table. You can then generate as many key figure values, as you
like from one data record.
36) What does the number in the 'Total' column in Transaction RSA7 mean?
A) The 'Total' column displays the number of LUWs that were written in the delta queue and that have not
yet been confirmed. The number includes the LUWs of the last delta request (for repetition of a delta
request) and the LUWs for the next delta request. A LUW only disappears from the RSA7 display when it
has been transferred to the BW System and a new delta request has been received from the BW
System.
37) How to know in which table (SAP BW) contains Technical Name / Description and creation data of a
particular Reports. Reports that are created using BEx Analyzer.
A) There is no such table in BW if you want to know such details while you are opening a particular query
press properties button you will come to know all the details that you wanted.
You will find your information about technical names and description about queries in the following tables.
Directory of all reports (Table RSRREPDIR) and Directory of the reporting component elements (Table
RSZELTDIR) for workbooks and the connections to queries check Where- used list for reports in
workbooks (Table RSRWORKBOOK) Titles of Excel Workbooks in InfoCatalog (Table RSRWBINDEXT)
38) What is a LUW in the delta queue?
A) A LUW from the point of view of the delta queue can be an individual document, a group of documents
from a collective run or a whole data packet of an application extractor.
39) Why does the number in the 'Total' column in the overview screen of Transaction RSA7 differ from the
number of data records that is displayed when you call the detail view?
A) The number on the overview screen corresponds to the total of LUWs (see also first question) that
were written to the qRFC queue and that have not yet been confirmed. The detail screen displays the
records contained in the LUWs. Both, the records belonging to the previous delta request and the records
that do not meet the selection conditions of the preceding delta init requests are filtered out. Thus, only
the records that are ready for the next delta request are displayed on the detail screen. In the detail
screen of Transaction RSA7, a possibly existing customer exit is not taken into account.
40) Why does Transaction RSA7 still display LUWs on the overview screen after successful delta
loading?
A) Only when a new delta has been requested does the source system learn that the previous delta was
successfully loaded to the BW System. Then, the LUWs of the previous delta may be confirmed (and also
deleted). In the meantime, the LUWs must be kept for a possible delta request repetition. In particular, the
number on the overview screen does not change when the first delta was loaded to the BW System.
41) Why are selections not taken into account when the delta queue is filled?
A) Filtering according to selections takes place when the system reads from the delta queue. This is
necessary for reasons of performance.
42) Why is there a DataSource with '0' records in RSA7 if delta exists and has also been loaded
successfully?
It is most likely that this is a DataSource that does not send delta data to the BW System via the delta
queue but directly via the extractor (delta for master data using ALE change pointers). Such a DataSource
should not be displayed in RSA7. This error is corrected with BW 2.0B Support Package 11.
43) Do the entries in table ROIDOCPRMS have an impact on the performance of the loading procedure
from the delta queue?
A) The impact is limited. If performance problems are related to the loading process from the delta queue,
then refer to the application-specific notes (for example in the CO-PA area, in the logistics cockpit area
and so on).
Caution: As of Plug In 2000.2 patch 3 the entries in table ROIDOCPRMS are as effective for the delta
queue as for a full update. Please note, however, that LUWs are not split during data loading for
consistency reasons. This means that when very large LUWs are written to the DeltaQueue, the actual
package size may differ considerably from the MAXSIZE and MAXLINES parameters.
44) Why does it take so long to display the data in the delta queue (for example approximately 2 hours)?
A) With Plug In 2001.1 the display was changed: the user has the option of defining the amount of data to
be displayed, to restrict it, to selectively choose the number of a data record, to make a distinction
between the 'actual' delta data and the data intended for repetition and so on.
45) What is the purpose of function 'Delete data and meta data in a queue' in RSA7? What exactly is
deleted?
A) You should act with extreme caution when you use the deletion function in the delta queue. It is
comparable to deleting an InitDelta in the BW System and should preferably be executed there. You do
not only delete all data of this DataSource for the affected BW System, but also lose the entire information
concerning the delta initialization. Then you can only request new deltas after another delta initialization.
When you delete the data, the LUWs kept in the qRFC queue for the corresponding target system are
confirmed. Physical deletion only takes place in the qRFC outbound queue if there are no more
references to the LUWs.
The deletion function is for example intended for a case where the BW System, from which the delta
initialization was originally executed, no longer exists or can no longer be accessed.